Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.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.0008283/0.0008283, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009409/0.0009409, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 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.9292/0.9292, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/package.mo): time 0.009071/0.009071, allocations: 1.996 MB / 262.3 MB, free: 10.94 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.1/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.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 279.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.68e-05, allocations: 10.25 kB / 279.6 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.1363/0.1363, allocations: 14.93 MB / 294.6 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006699/0.143, allocations: 9.014 MB / 303.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006218/0.1436, allocations: 3.688 kB / 303.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.1442, allocations: 317.9 kB / 303.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003051/0.1472, allocations: 1.728 MB / 305.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.1477, allocations: 222.3 kB / 305.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009379/0.1486, allocations: 1.432 MB / 307.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1488, allocations: 65.62 kB / 307.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006033/0.1494, allocations: 0.6123 MB / 307.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004144/0.1498, allocations: 396.1 kB / 308.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.1499, allocations: 38.5 kB / 308.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5951/0.745, allocations: 21.87 MB / 330.2 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.7451, allocations: 158.9 kB / 330.4 MB, free: 9.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006728/0.7458, allocations: 403 kB / 330.8 MB, free: 9.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.7481, allocations: 1.124 MB / 331.9 MB, free: 8.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.7481, allocations: 0 / 331.9 MB, free: 8.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.7481, allocations: 4 kB / 331.9 MB, free: 8.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.7481, allocations: 0 / 331.9 MB, free: 8.133 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.0009989/0.7491, allocations: 1.212 MB / 333.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.7491, allocations: 8.031 kB / 333.1 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003508/0.7526, allocations: 2.747 MB / 335.9 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.7529, allocations: 228.2 kB / 336.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/0.753, allocations: 74.38 kB / 336.2 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.525e-05/0.753, allocations: 92.38 kB / 336.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007636/0.7538, allocations: 0.8542 MB / 337.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.7538, allocations: 4 kB / 337.1 MB, free: 2.848 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.7539, allocations: 43.94 kB / 337.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/0.7539, allocations: 71.94 kB / 337.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.7544, allocations: 481.5 kB / 337.7 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.7569, allocations: 2.497 MB / 340.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.7572, allocations: 326.9 kB / 340.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.7574, allocations: 205.7 kB / 340.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009995/0.7584, allocations: 1.146 MB / 341.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.7584, allocations: 30.56 kB / 341.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=182): time 2.374e-06/0.7584, allocations: 0 / 341.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=182): time 0.0008608/0.7593, allocations: 1.031 MB / 342.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.7593, allocations: 85.05 kB / 343 MB, free: 12.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/0.7594, allocations: 146.4 kB / 343.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.7594, allocations: 33.7 kB / 343.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.7596, allocations: 402 kB / 343.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.7598, allocations: 0.596 MB / 344.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.7599, allocations: 129.5 kB / 344.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.76, allocations: 306 kB / 344.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.7601, allocations: 116.8 kB / 344.7 MB, free: 11.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.7603, allocations: 285.5 kB / 345 MB, free: 10.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.7607, allocations: 0.5777 MB / 345.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.7607, allocations: 0 / 345.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0005545/0.7612, allocations: 0.6679 MB / 346.2 MB, free: 9.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.7612, allocations: 8 kB / 346.2 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7612, allocations: 7.938 kB / 346.3 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.7613, allocations: 4 kB / 346.3 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.797e-05/0.7613, allocations: 35.98 kB / 346.3 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.7613, allocations: 11.88 kB / 346.3 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.7615, allocations: 83.58 kB / 346.4 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.7615, allocations: 12 kB / 346.4 MB, free: 9.301 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 10 (completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,state2.phase,state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001491/0.7617, allocations: 128 kB / 346.5 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.7617, allocations: 27.97 kB / 346.5 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.7618, allocations: 31.83 kB / 346.6 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.7618, allocations: 11.98 kB / 346.6 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.7618, allocations: 0 / 346.6 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7618, allocations: 3.938 kB / 346.6 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.7623, allocations: 490.9 kB / 347.1 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.7623, allocations: 4 kB / 347.1 MB, free: 8.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.7623, allocations: 16 kB / 347.1 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7623, allocations: 4 kB / 347.1 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.7623, allocations: 4 kB / 347.1 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7623, allocations: 0 / 347.1 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7623, allocations: 4 kB / 347.1 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.7629, allocations: 0.9219 MB / 348 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.303e-05/0.7629, allocations: 75.2 kB / 348.1 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.7629, allocations: 8 kB / 348.1 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.7631, allocations: 4 kB / 348.1 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.7631, allocations: 7.984 kB / 348.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.7631, allocations: 11.98 kB / 348.1 MB, free: 7.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.789e-05/0.7631, allocations: 16.86 kB / 348.1 MB, free: 7.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.7631, allocations: 0 / 348.1 MB, free: 7.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005137/0.7636, allocations: 366.9 kB / 348.5 MB, free: 7.141 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (state2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,state1.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0005362/0.7642, allocations: 340.7 kB / 348.8 MB, free: 6.832 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007191/0.7649, allocations: 1.172 MB / 350 MB, free: 5.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.7649, allocations: 4 kB / 350 MB, free: 5.512 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006634/0.7656, allocations: 1.477 MB / 351.5 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.7666, allocations: 475.6 kB / 352 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.7686, allocations: 1.972 MB / 353.9 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.7688, allocations: 318.9 kB / 354.2 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004706/0.7693, allocations: 175.6 kB / 354.4 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005919/0.7699, allocations: 391.1 kB / 354.8 MB, free: 288 kB / 298.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7699, allocations: 0 / 354.8 MB, free: 288 kB / 298.7 MB Notification: Performance of Templates: time 0.02815/0.798, allocations: 25.32 MB / 380.1 MB, free: 6.875 MB / 330.7 MB " [Timeout remaining time 659] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7382703009061515]