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.001561/0.001561, allocations: 108 kB / 16.41 MB, free: 6.492 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.001793/0.001793, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.515/1.515, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01248/0.01248, allocations: 2.78 MB / 294 MB, free: 11.99 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 55.91 kB / 406.6 MB, free: 29.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07225/0.07345, allocations: 50.23 MB / 456.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesDynamic): time 0.009554/0.08303, allocations: 9.015 MB / 465.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007296/0.09035, allocations: 8.567 MB / 474.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.301e-05/0.09046, allocations: 7.938 kB / 474.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.09097, allocations: 151.1 kB / 474.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.09126, allocations: 107.2 kB / 474.7 MB, free: 8.879 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.002878/0.09415, allocations: 1.463 MB / 476.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.0945, allocations: 266.8 kB / 476.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.09456, allocations: 21.64 kB / 476.4 MB, free: 7.129 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.3014/0.3959, allocations: 13 MB / 489.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.3961, allocations: 91.5 kB / 489.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.3962, allocations: 8 kB / 489.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.3979, allocations: 475.9 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.704e-05/0.398, allocations: 35.83 kB / 490 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.3981, allocations: 83.61 kB / 490.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.3992, allocations: 0.5102 MB / 490.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3992, allocations: 0 / 490.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3992, allocations: 0 / 490.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.3992, allocations: 0 / 490.6 MB, free: 10.09 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.0008744/0.4001, allocations: 0.5643 MB / 491.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.4001, allocations: 8.031 kB / 491.2 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/0.4005, allocations: 60.75 kB / 491.2 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.4008, allocations: 208 kB / 491.4 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.4008, allocations: 8.375 kB / 491.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.4008, allocations: 15.94 kB / 491.5 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.4014, allocations: 239.2 kB / 491.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4014, allocations: 0 / 491.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.4014, allocations: 4 kB / 491.7 MB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.4015, allocations: 15.92 kB / 491.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.402, allocations: 196.3 kB / 491.9 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000846/0.4028, allocations: 0.6864 MB / 492.6 MB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.4034, allocations: 226.5 kB / 492.8 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.4037, allocations: 153.1 kB / 493 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/0.404, allocations: 331.2 kB / 493.3 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.404, allocations: 30.56 kB / 493.3 MB, free: 7.137 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.473e-06/0.404, allocations: 0 / 493.3 MB, free: 7.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.002903/0.4069, allocations: 1.225 MB / 494.6 MB, free: 5.855 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.407, allocations: 55.41 kB / 494.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.4071, allocations: 125.8 kB / 494.7 MB, free: 5.656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.4071, allocations: 33.7 kB / 494.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.4072, allocations: 112.9 kB / 494.9 MB, free: 5.504 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.4073, allocations: 162.5 kB / 495 MB, free: 5.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.4074, allocations: 61.69 kB / 495.1 MB, free: 5.277 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4075, allocations: 330.8 kB / 495.4 MB, free: 4.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.4078, allocations: 124.5 kB / 495.5 MB, free: 4.824 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.4081, allocations: 189.3 kB / 495.7 MB, free: 4.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/0.4087, allocations: 348.7 kB / 496.1 MB, free: 4.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4087, allocations: 3.938 kB / 496.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00116/0.4098, allocations: 477.8 kB / 496.5 MB, free: 3.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4099, allocations: 8 kB / 496.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.4099, allocations: 0 / 496.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007876/0.4107, allocations: 156.8 kB / 496.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.4108, allocations: 27.98 kB / 496.7 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006403/0.4115, allocations: 0.6537 MB / 497.4 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.4116, allocations: 11.94 kB / 497.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.4117, allocations: 16.03 kB / 497.4 MB, free: 2.879 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.0001255/0.4118, allocations: 130.5 kB / 497.5 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.4119, allocations: 19.91 kB / 497.5 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.577e-05/0.412, allocations: 30.16 kB / 497.6 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.412, allocations: 11.98 kB / 497.6 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.412, allocations: 0 / 497.6 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.412, allocations: 0 / 497.6 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.4123, allocations: 294.2 kB / 497.9 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4123, allocations: 7.938 kB / 497.9 MB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.4125, allocations: 39.91 kB / 497.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003856/0.4129, allocations: 68.73 kB / 498 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.413, allocations: 15.92 kB / 498 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.4143, allocations: 1.556 MB / 499.6 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4143, allocations: 0 / 499.6 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.4154, allocations: 0.7053 MB / 0.4885 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.4155, allocations: 97.06 kB / 0.4886 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.4155, allocations: 4 kB / 0.4886 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.4157, allocations: 15.98 kB / 0.4887 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.4158, allocations: 23.91 kB / 0.4887 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.4158, allocations: 4 kB / 0.4887 GB, free: 15.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.49e-05/0.4159, allocations: 99.91 kB / 0.4888 GB, free: 15.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4159, allocations: 0 / 0.4888 GB, free: 15.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000358/0.4163, allocations: 64 kB / 0.4888 GB, free: 15.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003491/0.4166, allocations: 176.9 kB / 0.489 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008336/0.4175, allocations: 369.7 kB / 0.4894 GB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4175, allocations: 0 / 0.4894 GB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006096/0.4181, allocations: 310.9 kB / 0.4897 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006817/0.4188, allocations: 94.58 kB / 0.4897 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.4199, allocations: 0.6883 MB / 0.4904 GB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.4203, allocations: 0.7371 MB / 0.4911 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.4203, allocations: 23.38 kB / 0.4912 GB, free: 12.98 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4203, allocations: 0 / 0.4912 GB, free: 12.98 MB / 382.1 MB Notification: Performance of Templates: time 0.005878/0.4262, allocations: 3.559 MB / 0.4946 GB, free: 9.422 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)