Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.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.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") translateModel(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 115 kB / 16.42 MB, free: 6.488 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.001048/0.001048, allocations: 185.7 kB / 17.35 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01149/0.01149, allocations: 2.766 MB / 294 MB, free: 11.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.89 kB / 406.6 MB, free: 29.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06801/0.0692, allocations: 50.24 MB / 456.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.04102/0.1102, allocations: 50.71 MB / 0.4957 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1962/0.3065, allocations: 29.09 MB / 0.5241 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000384/0.3069, allocations: 5.969 kB / 0.5241 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.3083, allocations: 0.6147 MB / 0.5247 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004762/0.3131, allocations: 2.253 MB / 0.5269 GB, free: 3.227 MB / 382.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.TestBasePropertiesExplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium1.Medium.setSat_p'. [/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.TestBasePropertiesExplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.006826/0.3199, allocations: 2.93 MB / 0.5297 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008511/0.3208, allocations: 0.9193 MB / 0.5306 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3209, allocations: 61.86 kB / 0.5307 GB, free: 2.008 MB / 382.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.3248/0.6457, allocations: 51.05 MB / 0.5805 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006587/0.6464, allocations: 306.7 kB / 0.5808 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.12e-05/0.6465, allocations: 36 kB / 0.5809 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1671/0.8136, allocations: 26.94 MB / 0.6072 GB, free: 5.062 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.8138, allocations: 109 kB / 0.6073 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004942/0.8143, allocations: 336.2 kB / 0.6076 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005197/0.8195, allocations: 1.856 MB / 0.6094 GB, free: 3.062 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8195, allocations: 4 kB / 0.6094 GB, free: 3.059 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.8195, allocations: 0 / 0.6094 GB, free: 3.059 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.8195, allocations: 0 / 0.6094 GB, free: 3.059 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001368/0.8209, allocations: 1.098 MB / 0.6105 GB, free: 1.914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.821, allocations: 8.031 kB / 0.6105 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.823, allocations: 0.4958 MB / 0.611 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.8244, allocations: 343.2 kB / 0.6113 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.262e-05/0.8245, allocations: 46.06 kB / 0.6114 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.8245, allocations: 56 kB / 0.6114 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.826, allocations: 0.8723 MB / 0.6123 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.826, allocations: 0 / 0.6123 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/0.8261, allocations: 20.39 kB / 0.6123 GB, free: 0 / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.8261, allocations: 39.97 kB / 0.6123 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.8278, allocations: 0.7039 MB / 0.613 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003779/0.8315, allocations: 5.011 MB / 0.6179 GB, free: 9.664 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.8322, allocations: 321.1 kB / 0.6182 GB, free: 9.332 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.8325, allocations: 221.6 kB / 0.6184 GB, free: 9.109 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/0.8337, allocations: 1.52 MB / 0.6199 GB, free: 7.422 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.8338, allocations: 38.5 kB / 0.6199 GB, free: 7.375 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 1.583e-06/0.8338, allocations: 4 kB / 0.6199 GB, free: 7.371 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.001502/0.8353, allocations: 0.5969 MB / 0.6205 GB, free: 6.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.8353, allocations: 77.11 kB / 0.6206 GB, free: 6.676 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.8355, allocations: 178.7 kB / 0.6208 GB, free: 6.492 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.8355, allocations: 29.7 kB / 0.6208 GB, free: 6.457 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.8357, allocations: 294.7 kB / 0.6211 GB, free: 6.164 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.8358, allocations: 229.4 kB / 0.6213 GB, free: 5.941 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.836, allocations: 98 kB / 0.6214 GB, free: 5.836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.8361, allocations: 338.8 kB / 0.6217 GB, free: 5.496 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.8363, allocations: 117.3 kB / 0.6218 GB, free: 5.383 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.8367, allocations: 296.6 kB / 0.6221 GB, free: 5.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006044/0.8373, allocations: 488.7 kB / 0.6226 GB, free: 4.465 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.8373, allocations: 8 kB / 0.6226 GB, free: 4.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007671/0.8381, allocations: 484.4 kB / 0.623 GB, free: 3.977 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.8381, allocations: 8 kB / 0.623 GB, free: 3.969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.8381, allocations: 8 kB / 0.6231 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.8381, allocations: 7.938 kB / 0.6231 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.8384, allocations: 71.91 kB / 0.6231 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.8384, allocations: 15.92 kB / 0.6231 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.8386, allocations: 55.28 kB / 0.6232 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.8387, allocations: 24.28 kB / 0.6232 GB, free: 3.789 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (medium2.completeState.state.phase,medium2.baseProperties.phaseOutput,medium1.completeState.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput,medium1.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002014/0.8389, allocations: 198.5 kB / 0.6234 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.839, allocations: 27.62 kB / 0.6234 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.153e-05/0.839, allocations: 30.59 kB / 0.6235 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.839, allocations: 4 kB / 0.6235 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.839, allocations: 0 / 0.6235 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.8391, allocations: 120.5 kB / 0.6236 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.8392, allocations: 4 kB / 0.6236 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.8394, allocations: 8 kB / 0.6236 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.8394, allocations: 19.98 kB / 0.6236 GB, free: 3.359 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006122/0.84, allocations: 483.5 kB / 0.6241 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006195/0.8407, allocations: 0.5868 MB / 0.6247 GB, free: 2.281 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002319/0.8409, allocations: 155.9 kB / 0.6248 GB, free: 2.129 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.088e-05/0.841, allocations: 128.2 kB / 0.6249 GB, free: 2.004 MB / 462.1 MB Notification: Performance of Backend: time 4.01e-07/0.841, allocations: 0 / 0.6249 GB, free: 2.004 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.8437, allocations: 1.529 MB / 0.6264 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of SimCode: time 0.001655/0.8454, allocations: 1.77 MB / 0.6281 GB, free: 14.71 MB / 478.1 MB Notification: Performance of Templates: time 0.03121/0.8766, allocations: 22.67 MB / 0.6503 GB, free: 8.043 MB / 494.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.makefile (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.sim & ./ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1)