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.0009129/0.0009129, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.000977/0.000977, allocations: 165 kB / 23.02 MB, free: 1.551 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.938/0.938, allocations: 177.1 MB / 203.4 MB, free: 5.258 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.007355/0.007355, allocations: 1.994 MB / 261.9 MB, free: 10.93 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.232e-06/1.232e-06, allocations: 0 / 332.4 MB, free: 16.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.553e-05, allocations: 2.312 kB / 332.4 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.007783/0.007799, allocations: 14.99 MB / 347.4 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005275/0.01307, allocations: 8.992 MB / 356.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.01331, allocations: 4 kB / 356.4 MB, free: 8.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004459/0.01376, allocations: 313.6 kB / 356.7 MB, free: 8.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.01602, allocations: 1.721 MB / 358.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.01639, allocations: 222.2 kB / 358.6 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008857/0.01727, allocations: 1.438 MB / 360 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.01738, allocations: 47.22 kB / 360.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004303/0.01781, allocations: 0.6075 MB / 360.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.01814, allocations: 398.8 kB / 361.1 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.01818, allocations: 36 kB / 361.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5423/0.5605, allocations: 21.8 MB / 382.9 MB, free: 296 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.953e-05/0.5606, allocations: 159 kB / 383.1 MB, free: 136 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004477/0.561, allocations: 399 kB / 383.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.5626, allocations: 1.128 MB / 384.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5626, allocations: 0 / 384.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5626, allocations: 0 / 384.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.5626, allocations: 4 kB / 384.6 MB, free: 14.6 MB / 314.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.001014/0.5636, allocations: 1.36 MB / 386 MB, free: 13.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.5636, allocations: 8.031 kB / 386 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/0.5669, allocations: 2.711 MB / 388.7 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.5671, allocations: 231.1 kB / 388.9 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/0.5671, allocations: 74.38 kB / 389 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.5672, allocations: 96.38 kB / 389.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.5683, allocations: 0.9407 MB / 390 MB, free: 9.094 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.5683, allocations: 0 / 390 MB, free: 9.094 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.5683, allocations: 43.94 kB / 390 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.693e-05/0.5684, allocations: 67.94 kB / 390.1 MB, free: 8.984 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006614/0.569, allocations: 0.6053 MB / 390.7 MB, free: 8.379 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.5719, allocations: 3.181 MB / 393.9 MB, free: 5.141 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.5723, allocations: 368 kB / 394.3 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002898/0.5726, allocations: 327.3 kB / 394.6 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.5737, allocations: 1.448 MB / 396 MB, free: 2.965 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.5737, allocations: 33.39 kB / 396.1 MB, free: 2.922 MB / 314.7 MB Notification: Performance of pre-optimization done (n=182): time 1.733e-06/0.5737, allocations: 0 / 396.1 MB, free: 2.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=182): time 0.001139/0.5749, allocations: 1.245 MB / 397.3 MB, free: 1.672 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.5749, allocations: 81.11 kB / 397.4 MB, free: 1.574 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.575, allocations: 205.6 kB / 397.6 MB, free: 1.355 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.575, allocations: 33.7 kB / 397.6 MB, free: 1.316 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.5752, allocations: 452.7 kB / 398.1 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.5754, allocations: 0.596 MB / 398.7 MB, free: 268 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.5756, allocations: 155.3 kB / 398.8 MB, free: 104 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5757, allocations: 484.4 kB / 399.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.5759, allocations: 185.9 kB / 399.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.5762, allocations: 394.9 kB / 399.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/0.5768, allocations: 0.7493 MB / 400.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.5768, allocations: 0 / 400.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0007924/0.5776, allocations: 0.8914 MB / 401.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5776, allocations: 8 kB / 401.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5776, allocations: 8.375 kB / 401.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.5776, allocations: 8 kB / 401.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.5777, allocations: 39.98 kB / 401.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5777, allocations: 7.938 kB / 401.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.5778, allocations: 91.08 kB / 401.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.5779, allocations: 19.98 kB / 401.7 MB, free: 13.09 MB / 330.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.000167/0.578, allocations: 174.5 kB / 401.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-05/0.5781, allocations: 59.62 kB / 401.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.5782, allocations: 31.83 kB / 401.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.5782, allocations: 11.98 kB / 401.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5782, allocations: 4 kB / 401.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.5782, allocations: 4 kB / 401.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.5787, allocations: 0.7385 MB / 402.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5787, allocations: 4 kB / 402.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.5788, allocations: 4 kB / 402.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.5788, allocations: 0 / 402.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.5788, allocations: 23.92 kB / 402.7 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5788, allocations: 3.938 kB / 402.7 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5788, allocations: 0 / 402.7 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007996/0.5796, allocations: 1.146 MB / 403.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.5797, allocations: 79.19 kB / 403.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.5797, allocations: 8 kB / 404 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.5798, allocations: 3.938 kB / 404 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.5798, allocations: 27.97 kB / 404 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.5798, allocations: 12 kB / 404 MB, free: 10.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.245e-05/0.5799, allocations: 135.2 kB / 404.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5799, allocations: 0 / 404.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004881/0.5804, allocations: 363 kB / 404.5 MB, free: 10.21 MB / 330.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.0004439/0.5808, allocations: 305.1 kB / 404.8 MB, free: 9.926 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00089/0.5817, allocations: 1.339 MB / 406.1 MB, free: 8.441 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5817, allocations: 0 / 406.1 MB, free: 8.441 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007489/0.5825, allocations: 1.569 MB / 407.7 MB, free: 6.488 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.5837, allocations: 487.6 kB / 408.2 MB, free: 6.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.5855, allocations: 1.998 MB / 410.2 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.5857, allocations: 311 kB / 410.5 MB, free: 3.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003606/0.5861, allocations: 183.5 kB / 410.6 MB, free: 3.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.5862, allocations: 80.5 kB / 410.7 MB, free: 3.402 MB / 330.7 MB Notification: Performance of SimCode: time 5.92e-07/0.5862, allocations: 0 / 410.7 MB, free: 3.402 MB / 330.7 MB Notification: Performance of Templates: time 0.1366/0.7228, allocations: 22.02 MB / 432.7 MB, free: 69.55 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 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.949401857331395]