Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 107.2 kB / 16.41 MB, free: 6.512 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.00149/0.001491, allocations: 187 kB / 17.34 MB, free: 5.742 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01108/0.01108, allocations: 2.772 MB / 294 MB, free: 11.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.89 kB / 406.6 MB, free: 29.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09512, allocations: 50.23 MB / 456.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical): time 0.3209/0.4161, allocations: 82.92 MB / 0.5271 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03415/0.4503, allocations: 40.74 MB / 0.5669 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.4519, allocations: 2.5 kB / 0.5669 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003734/0.4557, allocations: 1.242 MB / 0.5681 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02471/0.4804, allocations: 6.959 MB / 0.5749 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.4817, allocations: 281.5 kB / 0.5752 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002517/0.4842, allocations: 1.348 MB / 0.5765 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.4845, allocations: 105.9 kB / 0.5766 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000531/0.485, allocations: 413.9 kB / 0.577 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006026/0.4856, allocations: 0.4897 MB / 0.5775 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.485e-05/0.4857, allocations: 43.98 kB / 0.5775 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.594/2.08, allocations: 169.1 MB / 0.7426 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002227/2.08, allocations: 147.6 kB / 0.7428 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/2.081, allocations: 0.5955 MB / 0.7434 GB, free: 123.9 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01224/2.093, allocations: 2.773 MB / 0.7461 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/2.094, allocations: 0 / 0.7461 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.865e-06/2.094, allocations: 4 kB / 0.7461 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.039e-05/2.094, allocations: 4 kB / 0.7461 GB, free: 122.6 MB / 0.5294 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.002643/2.096, allocations: 1.582 MB / 0.7476 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/2.096, allocations: 12.03 kB / 0.7476 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004396/2.101, allocations: 1.214 MB / 0.7488 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/2.101, allocations: 279.2 kB / 0.7491 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.384e-05/2.101, allocations: 73.38 kB / 0.7492 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/2.101, allocations: 91.38 kB / 0.7492 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/2.103, allocations: 1.709 MB / 0.7509 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/2.103, allocations: 0 / 0.7509 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/2.103, allocations: 43.45 kB / 0.751 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/2.103, allocations: 73.11 kB / 0.751 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/2.105, allocations: 1.607 MB / 0.7526 GB, free: 119 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005252/2.11, allocations: 8.572 MB / 0.761 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008759/2.111, allocations: 0.765 MB / 0.7617 GB, free: 110.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/2.112, allocations: 0.7331 MB / 0.7624 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001929/2.114, allocations: 2.362 MB / 0.7647 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/2.114, allocations: 36.19 kB / 0.7648 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 2.805e-06/2.114, allocations: 0 / 0.7648 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=182): time 0.01325/2.127, allocations: 1.508 MB / 0.7662 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/2.127, allocations: 81.11 kB / 0.7663 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/2.127, allocations: 134.4 kB / 0.7665 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/2.127, allocations: 32.7 kB / 0.7665 GB, free: 107.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/2.128, allocations: 396.3 kB / 0.7669 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/2.128, allocations: 0.5659 MB / 0.7674 GB, free: 106.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/2.128, allocations: 137.5 kB / 0.7675 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/2.128, allocations: 308.6 kB / 0.7678 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/2.128, allocations: 338.9 kB / 0.7682 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/2.129, allocations: 0.4888 MB / 0.7686 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009234/2.13, allocations: 1.023 MB / 0.7696 GB, free: 104 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/2.13, allocations: 0 / 0.7696 GB, free: 104 MB / 0.5294 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.001237/2.131, allocations: 1.052 MB / 0.7707 GB, free: 103 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/2.131, allocations: 4 kB / 0.7707 GB, free: 103 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/2.131, allocations: 6.625 kB / 0.7707 GB, free: 103 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/2.131, allocations: 7.984 kB / 0.7707 GB, free: 103 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/2.131, allocations: 29.97 kB / 0.7707 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/2.131, allocations: 10.84 kB / 0.7707 GB, free: 102.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/2.132, allocations: 78.81 kB / 0.7708 GB, free: 102.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/2.132, allocations: 20 kB / 0.7708 GB, free: 102.8 MB / 0.5294 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.0003804/2.132, allocations: 227.6 kB / 0.771 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/2.132, allocations: 51.19 kB / 0.7711 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.735e-05/2.132, allocations: 35.89 kB / 0.7711 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/2.132, allocations: 7.984 kB / 0.7711 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/2.132, allocations: 0 / 0.7711 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/2.132, allocations: 64 / 0.7711 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/2.134, allocations: 1.041 MB / 0.7721 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/2.134, allocations: 3.938 kB / 0.7721 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/2.134, allocations: 6.719 kB / 0.7721 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/2.134, allocations: 8 kB / 0.7722 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/2.134, allocations: 14.62 kB / 0.7722 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/2.134, allocations: 4 kB / 0.7722 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/2.134, allocations: 0 / 0.7722 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/2.135, allocations: 1.19 MB / 0.7733 GB, free: 100.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/2.135, allocations: 159.9 kB / 0.7735 GB, free: 100 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/2.135, allocations: 0 / 0.7735 GB, free: 100 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/2.135, allocations: 8 kB / 0.7735 GB, free: 100 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/2.135, allocations: 19.98 kB / 0.7735 GB, free: 99.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/2.135, allocations: 16 kB / 0.7735 GB, free: 99.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.909e-05/2.135, allocations: 91.27 kB / 0.7736 GB, free: 99.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.62e-07/2.135, allocations: 0 / 0.7736 GB, free: 99.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001015/2.136, allocations: 385.3 kB / 0.774 GB, free: 99.5 MB / 0.5294 GB 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.0008032/2.137, allocations: 0.5434 MB / 0.7745 GB, free: 99.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00144/2.139, allocations: 1.735 MB / 0.7762 GB, free: 97.17 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/2.139, allocations: 2.719 kB / 0.7762 GB, free: 97.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009791/2.14, allocations: 1.824 MB / 0.778 GB, free: 94.97 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/2.142, allocations: 473.5 kB / 0.7784 GB, free: 94.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/2.145, allocations: 2.234 MB / 0.7806 GB, free: 92.24 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008149/2.146, allocations: 1.293 MB / 0.7819 GB, free: 90.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/2.146, allocations: 83.44 kB / 0.782 GB, free: 90.84 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/2.146, allocations: 0 / 0.782 GB, free: 90.84 MB / 0.5294 GB Notification: Performance of Templates: time 0.02393/2.17, allocations: 18.54 MB / 0.8001 GB, free: 72.72 MB / 0.5294 GB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestStatesSatSubcritical.pipe 2>&1)