Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.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.001461/0.001461, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001761/0.001761, allocations: 216.4 kB / 22.25 MB, free: 5.113 MB / 14.72 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 1.49/1.49, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01299/0.01299, allocations: 2.804 MB / 315.2 MB, free: 300 kB / 238.1 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical") [Timeout 660] "Notification: ExternalMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 63.91 kB / 439.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1134, allocations: 54.18 MB / 493.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical): time 0.02339/0.1368, allocations: 19.4 MB / 0.5008 GB, free: 3.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2191/0.3559, allocations: 6.079 MB / 0.5067 GB, free: 4.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.3561, allocations: 5.156 kB / 0.5067 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006267/0.3568, allocations: 251 kB / 0.5069 GB, free: 4.629 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00309/0.3598, allocations: 1.21 MB / 0.5081 GB, free: 4.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.3601, allocations: 83.59 kB / 0.5082 GB, free: 4.605 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.3605, allocations: 311.4 kB / 0.5085 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.547e-05/0.3606, allocations: 12.39 kB / 0.5085 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3607, allocations: 98.38 kB / 0.5086 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.3609, allocations: 113.6 kB / 0.5087 GB, free: 4.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3609, allocations: 10.61 kB / 0.5087 GB, free: 4.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3539/0.7148, allocations: 38.68 MB / 0.5465 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.7149, allocations: 24.78 kB / 0.5465 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.7153, allocations: 131.4 kB / 0.5466 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.7181, allocations: 0.5079 MB / 0.5471 GB, free: 336 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.7181, allocations: 0 / 0.5471 GB, free: 336 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.7181, allocations: 4 kB / 0.5471 GB, free: 332 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.7181, allocations: 0 / 0.5471 GB, free: 332 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009278/0.719, allocations: 0.5017 MB / 0.5476 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.7191, allocations: 8.031 kB / 0.5476 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009264/0.72, allocations: 208.8 kB / 0.5478 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.7201, allocations: 134.2 kB / 0.548 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.7202, allocations: 18.88 kB / 0.548 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/0.7202, allocations: 30.98 kB / 0.548 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.7207, allocations: 343.1 kB / 0.5483 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.7207, allocations: 0 / 0.5483 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.7208, allocations: 6.75 kB / 0.5484 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.7208, allocations: 19.67 kB / 0.5484 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.7211, allocations: 278.8 kB / 0.5486 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.7232, allocations: 2.081 MB / 0.5507 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.7234, allocations: 93.28 kB / 0.5508 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.7235, allocations: 78 kB / 0.5508 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006465/0.7242, allocations: 0.5166 MB / 0.5513 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.7242, allocations: 34.38 kB / 0.5514 GB, free: 12.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 1.442e-06/0.7242, allocations: 0 / 0.5514 GB, free: 12.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004007/0.7246, allocations: 188.6 kB / 0.5516 GB, free: 12.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.7246, allocations: 81.11 kB / 0.5516 GB, free: 11.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.7247, allocations: 105.4 kB / 0.5517 GB, free: 11.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.7248, allocations: 25.7 kB / 0.5518 GB, free: 11.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.7249, allocations: 165.2 kB / 0.5519 GB, free: 11.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.576e-05/0.725, allocations: 116.5 kB / 0.552 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.725, allocations: 36.47 kB / 0.5521 GB, free: 11.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.7252, allocations: 333.9 kB / 0.5524 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.7253, allocations: 30.38 kB / 0.5524 GB, free: 11.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.038e-05/0.7254, allocations: 79.5 kB / 0.5525 GB, free: 11.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.7255, allocations: 136 kB / 0.5526 GB, free: 10.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7255, allocations: 0 / 0.5526 GB, free: 10.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002675/0.7258, allocations: 162.8 kB / 0.5528 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.7258, allocations: 8 kB / 0.5528 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.7258, allocations: 0 / 0.5528 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.7258, allocations: 4 kB / 0.5528 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.7259, allocations: 11.94 kB / 0.5528 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.7259, allocations: 0 / 0.5528 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.265e-05/0.726, allocations: 27.52 kB / 0.5528 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.726, allocations: 4 kB / 0.5528 GB, free: 10.81 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.7261, allocations: 128.9 kB / 0.5529 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.7262, allocations: 11.98 kB / 0.553 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.7262, allocations: 11.59 kB / 0.553 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.7262, allocations: 4 kB / 0.553 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7262, allocations: 0 / 0.553 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.7262, allocations: 192 / 0.553 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.7266, allocations: 258.4 kB / 0.5532 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.7266, allocations: 4 kB / 0.5532 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/0.7266, allocations: 4 kB / 0.5532 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.7266, allocations: 3.984 kB / 0.5532 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.7266, allocations: 7.875 kB / 0.5532 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.7267, allocations: 7.984 kB / 0.5532 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7267, allocations: 4 kB / 0.5532 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.7283, allocations: 309.1 kB / 0.5535 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.7283, allocations: 15.84 kB / 0.5536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.7283, allocations: 4 kB / 0.5536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.7284, allocations: 0 / 0.5536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.7284, allocations: 7.984 kB / 0.5536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.7285, allocations: 8 kB / 0.5536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.168e-05/0.7285, allocations: 75.28 kB / 0.5536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7285, allocations: 0 / 0.5536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005271/0.729, allocations: 91.66 kB / 0.5537 GB, free: 9.859 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state2.phase,state1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000447/0.7295, allocations: 190.3 kB / 0.5539 GB, free: 9.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003445/0.7298, allocations: 213.9 kB / 0.5541 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7298, allocations: 4.062 kB / 0.5541 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.73, allocations: 177.4 kB / 0.5543 GB, free: 9.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.7307, allocations: 79.8 kB / 0.5544 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.7316, allocations: 0.5323 MB / 0.5549 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.7321, allocations: 0.7995 MB / 0.5557 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.7322, allocations: 25.14 kB / 0.5557 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.7322, allocations: 23.44 kB / 0.5557 GB, free: 7.762 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.7322, allocations: 0 / 0.5557 GB, free: 7.762 MB / 398.1 MB Notification: Performance of Templates: time 0.01174/0.744, allocations: 5.197 MB / 0.5608 GB, free: 2.625 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesTranscritical.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.431537810014561] Failed to read output from testmodel.py, exit status != 0: 0.7521550490055233 0.770736026 0.04922594 Calling exit ...