Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 80.88 kB / 20.82 MB, free: 3.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 165 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.937/0.937, allocations: 177.1 MB / 204.7 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.004/2.004, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7753 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.539e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004557/0.004582, allocations: 2.6 MB / 0.7779 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.006524, allocations: 1.017 MB / 0.7789 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.00666, allocations: 4 kB / 0.7789 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005137/0.007174, allocations: 99.42 kB / 0.779 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.007498, allocations: 136.2 kB / 0.7791 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.007765, allocations: 105 kB / 0.7792 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.008142, allocations: 318.8 kB / 0.7795 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.008462, allocations: 184.1 kB / 0.7797 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.008693, allocations: 175.5 kB / 0.7798 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.008944, allocations: 123.7 kB / 0.78 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.008973, allocations: 20 kB / 0.78 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.009116, allocations: 91.73 kB / 0.7801 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.009192, allocations: 98.53 kB / 0.7802 GB, free: 432 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.009252, allocations: 75.83 kB / 0.7802 GB, free: 356 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.009488, allocations: 235.1 kB / 0.7805 GB, free: 120 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.009491, allocations: 0 / 0.7805 GB, free: 120 kB / 0.7292 GB Notification: Performance of FrontEnd: time 1.132e-06/0.009492, allocations: 0 / 0.7805 GB, free: 120 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.009496, allocations: 0 / 0.7805 GB, free: 120 kB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004602/0.009956, allocations: 419.2 kB / 0.7809 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.00999, allocations: 9.344 kB / 0.7809 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.01034, allocations: 112.8 kB / 0.781 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.01051, allocations: 181.7 kB / 0.7811 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.01053, allocations: 16.73 kB / 0.7812 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.01055, allocations: 20.38 kB / 0.7812 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.01078, allocations: 276.1 kB / 0.7814 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.01079, allocations: 1.062 kB / 0.7814 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.01081, allocations: 8.375 kB / 0.7815 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.01084, allocations: 21.55 kB / 0.7815 GB, free: 15 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.004e-05/0.01092, allocations: 64.03 kB / 0.7815 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007178/0.01164, allocations: 0.8875 MB / 0.7824 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.01175, allocations: 61.31 kB / 0.7825 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.01177, allocations: 13.52 kB / 0.7825 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-06/0.01178, allocations: 3.938 kB / 0.7825 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.0118, allocations: 39.69 kB / 0.7825 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.0118, allocations: 0 / 0.7825 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002214/0.01202, allocations: 99.36 kB / 0.7826 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.01204, allocations: 59.84 kB / 0.7827 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/0.01213, allocations: 176.7 kB / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.01214, allocations: 25.7 kB / 0.7829 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.0122, allocations: 172.5 kB / 0.783 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.01221, allocations: 23.78 kB / 0.783 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.01225, allocations: 38.56 kB / 0.7831 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.01232, allocations: 322.8 kB / 0.7834 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.01234, allocations: 11.98 kB / 0.7834 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.623e-05/0.01239, allocations: 77.48 kB / 0.7835 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.072e-05/0.01247, allocations: 108.4 kB / 0.7836 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.01247, allocations: 4 kB / 0.7836 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001351/0.01261, allocations: 126.2 kB / 0.7837 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.01262, allocations: 11.02 kB / 0.7837 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01263, allocations: 4 kB / 0.7837 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.01276, allocations: 24.84 kB / 0.7837 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.01282, allocations: 31.92 kB / 0.7838 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005605/0.01338, allocations: 1.196 MB / 0.7849 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.021e-05/0.01344, allocations: 20.89 kB / 0.785 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.01345, allocations: 4 kB / 0.785 GB, free: 11.14 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.149e-05/0.01352, allocations: 121.9 kB / 0.7851 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.01354, allocations: 12 kB / 0.7851 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.719e-05/0.01356, allocations: 17.45 kB / 0.7851 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.01356, allocations: 1.031 kB / 0.7851 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.01356, allocations: 4 kB / 0.7851 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01357, allocations: 5.25 kB / 0.7851 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.0138, allocations: 263.5 kB / 0.7854 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.0138, allocations: 0 / 0.7854 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.01382, allocations: 11.98 kB / 0.7854 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.172e-05/0.01391, allocations: 31.38 kB / 0.7854 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.01391, allocations: 3.938 kB / 0.7854 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004707/0.01438, allocations: 1.189 MB / 0.7866 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01439, allocations: 3.938 kB / 0.7866 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.594e-05/0.01448, allocations: 175.9 kB / 0.7868 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.0145, allocations: 11.91 kB / 0.7868 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.01451, allocations: 4.656 kB / 0.7868 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-05/0.01456, allocations: 9.703 kB / 0.7868 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.01458, allocations: 4 kB / 0.7868 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.01458, allocations: 0 / 0.7868 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.638e-05/0.01462, allocations: 48.73 kB / 0.7868 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01462, allocations: 0 / 0.7868 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001696/0.01478, allocations: 54.33 kB / 0.7869 GB, free: 9.031 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.63e-05/0.01487, allocations: 84.41 kB / 0.787 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.01505, allocations: 169.9 kB / 0.7871 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.01506, allocations: 4 kB / 0.7871 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.248e-05/0.01512, allocations: 135.5 kB / 0.7873 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.0153, allocations: 41.7 kB / 0.7873 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.01587, allocations: 367.4 kB / 0.7876 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.762e-05/0.01592, allocations: 87.95 kB / 0.7877 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.823e-05/0.01597, allocations: 13.19 kB / 0.7877 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.01604, allocations: 85.25 kB / 0.7878 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01604, allocations: 0 / 0.7878 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of Templates: time 0.003564/0.01961, allocations: 1.789 MB / 0.7896 GB, free: 6.297 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.044276153668761]