Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.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.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 111.6 kB / 16.42 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.001031/0.001031, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.291/1.291, allocations: 222.9 MB / 241.1 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.01782/0.01782, allocations: 2.778 MB / 294 MB, free: 11.99 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 406.6 MB, free: 29.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07001/0.07124, allocations: 50.22 MB / 456.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.00873/0.08, allocations: 9.006 MB / 465.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006674/0.0867, allocations: 8.575 MB / 474.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.08679, allocations: 4 kB / 474.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.08727, allocations: 167 kB / 474.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.08755, allocations: 99.28 kB / 474.7 MB, free: 8.871 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Media/BaseClasses/ExternalTwoPhaseMedium.mo:1092:15-1106:21:writable] Warning: Pure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.002503/0.09007, allocations: 1.459 MB / 476.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.09038, allocations: 270.7 kB / 476.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.09044, allocations: 17.69 kB / 476.4 MB, free: 7.125 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Common/CheckCoolPropOptions.mo:2:1-104:25:writable] Warning: Pure function 'ExternalMedia.Common.CheckCoolPropOptions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFEvalConstants.evaluate: time 0.2942/0.3847, allocations: 13.01 MB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.3849, allocations: 83.62 kB / 489.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.3849, allocations: 8 kB / 489.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.3866, allocations: 471.9 kB / 490 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.3867, allocations: 35.83 kB / 490 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.3868, allocations: 83.61 kB / 490.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.3879, allocations: 0.5104 MB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3879, allocations: 4 kB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3879, allocations: 0 / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3879, allocations: 0 / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000797/0.3887, allocations: 0.5534 MB / 491.2 MB, free: 9.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3888, allocations: 8.031 kB / 491.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003497/0.3891, allocations: 56.7 kB / 491.2 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.3894, allocations: 212 kB / 491.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.3894, allocations: 8.375 kB / 491.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.3894, allocations: 15.94 kB / 491.5 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.3899, allocations: 239.1 kB / 491.7 MB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.39, allocations: 3.984 kB / 491.7 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.39, allocations: 4 kB / 491.7 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.39, allocations: 11.98 kB / 491.7 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005049/0.3905, allocations: 204.2 kB / 491.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007989/0.3913, allocations: 0.6823 MB / 492.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000519/0.3919, allocations: 226.5 kB / 492.8 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.3921, allocations: 145.1 kB / 493 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.3924, allocations: 331.2 kB / 493.3 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.3924, allocations: 34.5 kB / 493.3 MB, free: 7.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.3924, allocations: 0 / 493.3 MB, free: 7.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002789/0.3952, allocations: 1.225 MB / 494.6 MB, free: 5.852 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.3953, allocations: 59.41 kB / 494.6 MB, free: 5.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.3954, allocations: 129.9 kB / 494.7 MB, free: 5.645 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.3954, allocations: 29.7 kB / 494.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.3955, allocations: 108.8 kB / 494.9 MB, free: 5.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3956, allocations: 149.8 kB / 495 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/0.3957, allocations: 61.69 kB / 495.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.3958, allocations: 330.8 kB / 495.4 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.396, allocations: 128.4 kB / 495.5 MB, free: 4.828 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.3963, allocations: 189.3 kB / 495.7 MB, free: 4.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.3968, allocations: 344.8 kB / 496.1 MB, free: 4.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3969, allocations: 4 kB / 496.1 MB, free: 4.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001104/0.398, allocations: 485.6 kB / 496.5 MB, free: 3.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.398, allocations: 4 kB / 496.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.398, allocations: 4 kB / 496.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007222/0.3987, allocations: 144.9 kB / 496.7 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.3989, allocations: 35.91 kB / 496.7 MB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000596/0.3995, allocations: 0.642 MB / 497.4 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3997, allocations: 20.03 kB / 497.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.3997, allocations: 12 kB / 497.4 MB, free: 2.891 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.3998, allocations: 134.4 kB / 497.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.3999, allocations: 15.81 kB / 497.5 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.828e-05/0.3999, allocations: 30.2 kB / 497.6 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4, allocations: 96 / 497.6 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4, allocations: 3.938 kB / 497.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.4, allocations: 96.83 kB / 497.7 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.4001, allocations: 8 kB / 497.7 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.4002, allocations: 7.984 kB / 497.7 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.4003, allocations: 19.97 kB / 497.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000948/0.4013, allocations: 457.7 kB / 498.1 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009092/0.4022, allocations: 0.6577 MB / 498.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002729/0.4025, allocations: 156.5 kB / 499 MB, free: 1.262 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.71e-05/0.4025, allocations: 95.27 kB / 499 MB, free: 1.168 MB / 366.1 MB Notification: Performance of Backend: time 3.4e-07/0.4026, allocations: 0 / 499 MB, free: 1.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.404, allocations: 0.6165 MB / 499.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of SimCode: time 0.001005/0.405, allocations: 0.9973 MB / 0.4889 GB, free: 15.51 MB / 382.1 MB Notification: Performance of Templates: time 0.01217/0.4172, allocations: 7.428 MB / 0.4962 GB, free: 8.074 MB / 382.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic.pipe 2>&1)