Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.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.002522/0.002522, allocations: 84.44 kB / 19.18 MB, free: 0.7383 MB / 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.003101/0.003101, allocations: 173.9 kB / 22.46 MB, free: 2.102 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 1.576/1.576, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/package.mo): time 0.01399/0.01399, allocations: 2.087 MB / 261.3 MB, free: 11.17 MB / 250.7 MB " [Timeout remaining time 180] Using package ExternalMedia with version 4.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.1.2/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_SVDSBTL.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 386.1 MB, free: 10.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.257e-05, allocations: 2.281 kB / 386.1 MB, free: 10.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical): time 0.6211/0.6211, allocations: 73.88 MB / 460 MB, free: 9.562 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.08403/0.7051, allocations: 35.19 MB / 495.2 MB, free: 6.766 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.7064, allocations: 4 kB / 495.2 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00478/0.7112, allocations: 1.028 MB / 496.3 MB, free: 5.727 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03479/0.746, allocations: 7.028 MB / 0.4915 GB, free: 14.64 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.7475, allocations: 281.9 kB / 0.4918 GB, free: 14.36 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006251/0.7537, allocations: 1.442 MB / 0.4932 GB, free: 12.91 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.7539, allocations: 55.22 kB / 0.4932 GB, free: 12.85 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004202/0.7581, allocations: 0.6114 MB / 0.4938 GB, free: 12.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.7592, allocations: 394.8 kB / 0.4942 GB, free: 11.85 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.7593, allocations: 36 kB / 0.4942 GB, free: 11.81 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 48.3/49.06, allocations: 260.1 MB / 0.7482 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/49.06, allocations: 154 kB / 0.7484 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/49.06, allocations: 399.8 kB / 0.7488 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01195/49.07, allocations: 2.791 MB / 0.7515 GB, free: 440 kB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/49.07, allocations: 3 kB / 0.7515 GB, free: 440 kB / 0.4948 GB Notification: Performance of FrontEnd: time 1.893e-06/49.07, allocations: 0 / 0.7515 GB, free: 440 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.365e-05/49.07, allocations: 0 / 0.7515 GB, free: 440 kB / 0.4948 GB 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.003092/49.08, allocations: 1.514 MB / 0.753 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/49.08, allocations: 16.03 kB / 0.753 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004688/49.08, allocations: 1.218 MB / 0.7542 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/49.08, allocations: 234.9 kB / 0.7544 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/49.08, allocations: 66.38 kB / 0.7545 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/49.08, allocations: 96.38 kB / 0.7546 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/49.09, allocations: 1.747 MB / 0.7563 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/49.09, allocations: 0 / 0.7563 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/49.09, allocations: 47.92 kB / 0.7563 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.605e-05/49.09, allocations: 67.94 kB / 0.7564 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/49.09, allocations: 1.665 MB / 0.758 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006374/49.09, allocations: 3.417 MB / 0.7613 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/49.1, allocations: 0.5219 MB / 0.7618 GB, free: 5.871 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008206/49.1, allocations: 0.5016 MB / 0.7623 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002325/49.1, allocations: 1.332 MB / 0.7636 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/49.1, allocations: 46.5 kB / 0.7637 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 3.717e-06/49.1, allocations: 3.938 kB / 0.7637 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of matching and sorting (n=182): time 0.002628/49.1, allocations: 1.53 MB / 0.7652 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/49.1, allocations: 80.39 kB / 0.7653 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/49.1, allocations: 137.7 kB / 0.7654 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/49.1, allocations: 25.7 kB / 0.7654 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006522/49.1, allocations: 406 kB / 0.7658 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006269/49.1, allocations: 0.5904 MB / 0.7664 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/49.1, allocations: 135.8 kB / 0.7665 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001716/49.1, allocations: 314 kB / 0.7668 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/49.1, allocations: 345.9 kB / 0.7671 GB, free: 400 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007548/49.11, allocations: 496.7 kB / 0.7676 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/49.11, allocations: 1.033 MB / 0.7686 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/49.11, allocations: 0 / 0.7686 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001701/49.11, allocations: 1.051 MB / 0.7696 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/49.11, allocations: 12.03 kB / 0.7697 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/49.11, allocations: 4 kB / 0.7697 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/49.11, allocations: 7.938 kB / 0.7697 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/49.11, allocations: 31.08 kB / 0.7697 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/49.11, allocations: 4 kB / 0.7697 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/49.11, allocations: 83.14 kB / 0.7698 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/49.11, allocations: 31.27 kB / 0.7698 GB, free: 13.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0004393/49.11, allocations: 219.1 kB / 0.77 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/49.11, allocations: 51.62 kB / 0.7701 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/49.11, allocations: 1.737 MB / 0.7718 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001793/49.11, allocations: 1.035 MB / 0.7728 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/49.11, allocations: 0 / 0.7728 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/49.11, allocations: 4 kB / 0.7728 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0039/49.12, allocations: 2.279 MB / 0.775 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/49.12, allocations: 0 / 0.775 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/49.12, allocations: 58.97 kB / 0.7751 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/49.12, allocations: 4 kB / 0.7751 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/49.12, allocations: 19.94 kB / 0.7751 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/49.12, allocations: 4 kB / 0.7751 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/49.12, allocations: 0 / 0.7751 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/49.12, allocations: 1.21 MB / 0.7763 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/49.12, allocations: 87.14 kB / 0.7764 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.339e-05/49.12, allocations: 27.83 kB / 0.7764 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/49.12, allocations: 4 kB / 0.7764 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/49.12, allocations: 31.95 kB / 0.7764 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/49.12, allocations: 20 kB / 0.7764 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001783/49.12, allocations: 156.2 kB / 0.7766 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/49.12, allocations: 3.938 kB / 0.7766 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001244/49.12, allocations: 407 kB / 0.777 GB, free: 6.172 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (state1.phase,$cse4.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,state2.phase,$cse2.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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.00155/49.12, allocations: 0.5532 MB / 0.7775 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002256/49.13, allocations: 1.573 MB / 0.779 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/49.13, allocations: 0 / 0.779 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001871/49.13, allocations: 1.378 MB / 0.7804 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/49.13, allocations: 0.5479 MB / 0.7809 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1582/49.29, allocations: 2.677 MB / 0.7835 GB, free: 238.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009422/49.29, allocations: 0.7255 MB / 0.7843 GB, free: 238.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007145/49.29, allocations: 150.1 kB / 0.7844 GB, free: 238.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/49.29, allocations: 82.22 kB / 0.7845 GB, free: 238.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/49.29, allocations: 2.953 kB / 0.7845 GB, free: 238.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.03988/49.33, allocations: 28.9 MB / 0.8127 GB, free: 223.7 MB / 0.5261 GB " [Timeout remaining time 611] make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.makefile [Timeout 660] (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical -abortSlowSimulation -alarm=240 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_SVDSBTL.TestStatesSatSubcritical.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 56.7821881598793]