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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007757/0.0007756, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005561/0.005561, allocations: 169.4 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1552/0.1552, allocations: 2.79 MB / 294.2 MB, free: 4.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 8 kB / 356.2 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 51.25 MB / 407.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical): time 0.2762/0.3912, allocations: 80.92 MB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03836/0.4296, allocations: 39.92 MB / 0.5159 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.4311, allocations: 5.469 kB / 0.5159 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003809/0.4349, allocations: 1.153 MB / 0.5171 GB, free: 84 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02725/0.4622, allocations: 6.397 MB / 0.5233 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.4642, allocations: 256.1 kB / 0.5236 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003376/0.4676, allocations: 1.309 MB / 0.5248 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004983/0.4681, allocations: 106.1 kB / 0.5249 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.4699, allocations: 413.8 kB / 0.5253 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.4721, allocations: 0.4923 MB / 0.5258 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003045/0.4724, allocations: 23.44 kB / 0.5258 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.594/3.067, allocations: 152.4 MB / 0.6747 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/3.067, allocations: 136 kB / 0.6748 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/3.068, allocations: 0.6041 MB / 0.6754 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/3.082, allocations: 2.682 MB / 0.678 GB, free: 13.12 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/3.082, allocations: 0 / 0.678 GB, free: 13.12 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.265e-06/3.082, allocations: 4 kB / 0.6781 GB, free: 13.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.568e-05/3.082, allocations: 0 / 0.6781 GB, free: 13.11 MB / 462.1 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.002164/3.084, allocations: 1.392 MB / 0.6794 GB, free: 11.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/3.084, allocations: 12.03 kB / 0.6794 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004314/3.089, allocations: 1.211 MB / 0.6806 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/3.089, allocations: 282.5 kB / 0.6809 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-05/3.089, allocations: 73.25 kB / 0.6809 GB, free: 10.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/3.089, allocations: 93.8 kB / 0.681 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/3.092, allocations: 1.707 MB / 0.6827 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/3.092, allocations: 3.984 kB / 0.6827 GB, free: 9.684 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/3.092, allocations: 38.56 kB / 0.6827 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-05/3.092, allocations: 74.56 kB / 0.6828 GB, free: 9.629 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/3.094, allocations: 1.6 MB / 0.6844 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006275/3.1, allocations: 8.6 MB / 0.6928 GB, free: 288 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009064/3.101, allocations: 0.7637 MB / 0.6935 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008465/3.102, allocations: 0.7397 MB / 0.6942 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002739/3.104, allocations: 2.348 MB / 0.6965 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/3.105, allocations: 30.56 kB / 0.6966 GB, free: 13.44 MB / 478.1 MB Notification: Performance of pre-optimization done (n=182): time 2.886e-06/3.105, allocations: 4 kB / 0.6966 GB, free: 13.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=182): time 0.002237/3.107, allocations: 1.519 MB / 0.6981 GB, free: 12.49 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/3.107, allocations: 81.09 kB / 0.6981 GB, free: 12.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/3.107, allocations: 136.2 kB / 0.6983 GB, free: 12.26 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/3.107, allocations: 29.69 kB / 0.6983 GB, free: 12.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/3.107, allocations: 395 kB / 0.6987 GB, free: 11.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003985/3.108, allocations: 0.5651 MB / 0.6992 GB, free: 11.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/3.108, allocations: 98.45 kB / 0.6993 GB, free: 11.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.057e-05/3.108, allocations: 310 kB / 0.6996 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/3.108, allocations: 340.2 kB / 0.6999 GB, free: 10.83 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/3.109, allocations: 491.1 kB / 0.7004 GB, free: 10.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/3.11, allocations: 1.019 MB / 0.7014 GB, free: 9.402 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/3.11, allocations: 4 kB / 0.7014 GB, free: 9.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001386/3.111, allocations: 1.056 MB / 0.7024 GB, free: 8.359 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/3.111, allocations: 8 kB / 0.7024 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/3.111, allocations: 4 kB / 0.7024 GB, free: 8.348 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/3.111, allocations: 8 kB / 0.7024 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/3.112, allocations: 34.55 kB / 0.7025 GB, free: 8.309 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/3.112, allocations: 4 kB / 0.7025 GB, free: 8.305 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005502/3.112, allocations: 131.1 kB / 0.7026 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/3.112, allocations: 20 kB / 0.7026 GB, free: 8.156 MB / 478.1 MB 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.0003716/3.113, allocations: 225.8 kB / 0.7028 GB, free: 7.934 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/3.113, allocations: 47.28 kB / 0.7029 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/3.116, allocations: 3.081 MB / 0.7059 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002061/3.118, allocations: 1.844 MB / 0.7077 GB, free: 2.918 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/3.118, allocations: 0 / 0.7077 GB, free: 2.918 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/3.118, allocations: 7.969 kB / 0.7077 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005719/3.124, allocations: 4.57 MB / 0.7122 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/3.124, allocations: 3.984 kB / 0.7122 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/3.124, allocations: 230.5 kB / 0.7124 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/3.124, allocations: 4 kB / 0.7124 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/3.125, allocations: 36 kB / 0.7124 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/3.125, allocations: 8 kB / 0.7124 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/3.125, allocations: 7.938 kB / 0.7124 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/3.127, allocations: 1.948 MB / 0.7143 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003909/3.127, allocations: 266.7 kB / 0.7146 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/3.127, allocations: 24 kB / 0.7146 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/3.128, allocations: 158.9 kB / 0.7148 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/3.128, allocations: 101.4 kB / 0.7149 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/3.128, allocations: 40 kB / 0.7149 GB, free: 11.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002386/3.129, allocations: 231.1 kB / 0.7151 GB, free: 11.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/3.129, allocations: 0 / 0.7151 GB, free: 11.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001296/3.13, allocations: 455 kB / 0.7156 GB, free: 10.85 MB / 494.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: 20 (state1.phase,completeBubbleDewStates1.bubbleStateTwoPhase.state.phase,completeBubbleDewStates1.bubbleStateOnePhase.state.phase,completeBubbleDewStates1.dewStateTwoPhase.state.phase,completeBubbleDewStates1.dewStateOnePhase.state.phase,$cse8.phase,$cse9.phase,$cse10.phase,$cse11.phase,$cse12.phase,state2.phase,completeBubbleDewStates2.bubbleStateTwoPhase.state.phase,completeBubbleDewStates2.bubbleStateOnePhase.state.phase,completeBubbleDewStates2.dewStateTwoPhase.state.phase,completeBubbleDewStates2.dewStateOnePhase.state.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse5.phase,$cse6.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 154 * 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.0008677/3.131, allocations: 0.5797 MB / 0.7161 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/3.133, allocations: 2.046 MB / 0.7181 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/3.133, allocations: 4.062 kB / 0.7181 GB, free: 8.199 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/3.134, allocations: 0.9367 MB / 0.719 GB, free: 7.293 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004576/3.139, allocations: 0.9032 MB / 0.7199 GB, free: 6.391 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004889/3.143, allocations: 3.987 MB / 0.7238 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/3.145, allocations: 1.324 MB / 0.7251 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008559/3.145, allocations: 179.2 kB / 0.7253 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/3.146, allocations: 91.44 kB / 0.7254 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/3.146, allocations: 4 kB / 0.7254 GB, free: 0.832 MB / 494.1 MB Notification: Performance of Templates: time 0.2326/3.378, allocations: 33.58 MB / 0.7582 GB, free: 214.1 MB / 0.5137 GB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical.pipe 2>&1) Environment - environmentSimulation: