Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006801/0.006801, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001356/0.001356, allocations: 199 kB / 16.67 MB, free: 5.977 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1409/0.1409, allocations: 2.76 MB / 293.3 MB, free: 3.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.91 kB / 405.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2251, allocations: 50.23 MB / 455.7 MB, free: 20.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit): time 0.03897/0.2641, allocations: 50.75 MB / 0.4945 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02305/0.2872, allocations: 29.11 MB / 0.523 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005954/0.2879, allocations: 0 / 0.523 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.2895, allocations: 0.6175 MB / 0.5236 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006037/0.2956, allocations: 2.238 MB / 0.5258 GB, free: 2.219 MB / 398.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.TestBasePropertiesImplicit.medium1.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.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_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p_state' contains a call to impure function 'ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.medium2.Medium.setSat_p'. Notification: Performance of NFTyping.typeClassSections: time 0.008452/0.3041, allocations: 2.922 MB / 0.5286 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.3057, allocations: 0.9287 MB / 0.5295 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3059, allocations: 61.73 kB / 0.5296 GB, free: 14.28 MB / 414.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.5563/0.8622, allocations: 51.69 MB / 0.5801 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/0.8628, allocations: 310.7 kB / 0.5804 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.863, allocations: 40 kB / 0.5804 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3814/1.244, allocations: 27.25 MB / 0.607 GB, free: 64.74 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002459/1.245, allocations: 113 kB / 0.6071 GB, free: 64.74 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000759/1.245, allocations: 338.2 kB / 0.6074 GB, free: 64.74 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/1.256, allocations: 1.853 MB / 0.6092 GB, free: 64.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.256, allocations: 5.219 kB / 0.6092 GB, free: 64.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/1.256, allocations: 0 / 0.6092 GB, free: 64.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.077e-05/1.256, allocations: 0 / 0.6092 GB, free: 64.71 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.003255/1.259, allocations: 1.103 MB / 0.6103 GB, free: 64.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/1.259, allocations: 9 kB / 0.6103 GB, free: 64.12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003099/1.26, allocations: 119.3 kB / 0.6104 GB, free: 64.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/1.262, allocations: 0.5012 MB / 0.6109 GB, free: 64.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0057/1.268, allocations: 337 kB / 0.6113 GB, free: 63.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/1.268, allocations: 48.44 kB / 0.6113 GB, free: 63.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/1.268, allocations: 55.31 kB / 0.6114 GB, free: 63.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/1.271, allocations: 0.873 MB / 0.6122 GB, free: 63.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/1.271, allocations: 0.8125 kB / 0.6122 GB, free: 63.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.416e-05/1.271, allocations: 25.94 kB / 0.6122 GB, free: 63.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.649e-05/1.271, allocations: 37.2 kB / 0.6123 GB, free: 63.65 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/1.273, allocations: 0.7039 MB / 0.613 GB, free: 63.65 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00509/1.278, allocations: 5.114 MB / 0.618 GB, free: 59.44 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/1.279, allocations: 337.5 kB / 0.6183 GB, free: 59.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/1.279, allocations: 220 kB / 0.6185 GB, free: 59.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/1.281, allocations: 1.541 MB / 0.62 GB, free: 58.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/1.281, allocations: 40.7 kB / 0.62 GB, free: 58.12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=71): time 2.966e-06/1.281, allocations: 0 / 0.62 GB, free: 58.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=71): time 0.002785/1.284, allocations: 0.5979 MB / 0.6206 GB, free: 58.06 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/1.284, allocations: 79.02 kB / 0.6207 GB, free: 57.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/1.284, allocations: 185 kB / 0.6209 GB, free: 57.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/1.284, allocations: 30.2 kB / 0.6209 GB, free: 57.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/1.284, allocations: 293.9 kB / 0.6212 GB, free: 57.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/1.284, allocations: 229.7 kB / 0.6214 GB, free: 57.46 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/1.285, allocations: 103.8 kB / 0.6215 GB, free: 57.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.884e-05/1.285, allocations: 337.2 kB / 0.6218 GB, free: 57.12 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/1.285, allocations: 124.2 kB / 0.6219 GB, free: 57.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/1.285, allocations: 299.2 kB / 0.6222 GB, free: 56.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/1.286, allocations: 493.5 kB / 0.6227 GB, free: 56.69 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.286, allocations: 4.281 kB / 0.6227 GB, free: 56.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008879/1.287, allocations: 484 kB / 0.6232 GB, free: 56.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.287, allocations: 12.09 kB / 0.6232 GB, free: 56.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/1.287, allocations: 10.17 kB / 0.6232 GB, free: 56.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/1.287, allocations: 8.344 kB / 0.6232 GB, free: 56.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/1.287, allocations: 84.47 kB / 0.6233 GB, free: 56.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004749/1.288, allocations: 1.179 MB / 0.6244 GB, free: 55.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/1.288, allocations: 59.89 kB / 0.6245 GB, free: 55.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/1.288, allocations: 22.34 kB / 0.6245 GB, free: 55.41 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): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003009/1.289, allocations: 190.5 kB / 0.6247 GB, free: 55.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/1.289, allocations: 37.39 kB / 0.6247 GB, free: 55.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.7e-05/1.289, allocations: 26.81 kB / 0.6247 GB, free: 55.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/1.289, allocations: 4.312 kB / 0.6247 GB, free: 55.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/1.289, allocations: 4.781 kB / 0.6247 GB, free: 55.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/1.289, allocations: 2.906 kB / 0.6247 GB, free: 55.26 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007975/1.29, allocations: 0.4913 MB / 0.6252 GB, free: 55.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.29, allocations: 4.781 kB / 0.6252 GB, free: 55.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/1.29, allocations: 36.75 kB / 0.6253 GB, free: 55.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.29, allocations: 1.969 kB / 0.6253 GB, free: 55.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/1.29, allocations: 7.344 kB / 0.6253 GB, free: 55.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003576/1.29, allocations: 1.171 MB / 0.6264 GB, free: 53.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.29, allocations: 4.344 kB / 0.6264 GB, free: 53.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/1.291, allocations: 0.516 MB / 0.6269 GB, free: 53.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/1.291, allocations: 112.1 kB / 0.627 GB, free: 53.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/1.291, allocations: 1 kB / 0.627 GB, free: 53.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/1.291, allocations: 9.234 kB / 0.627 GB, free: 53.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/1.291, allocations: 17.5 kB / 0.6271 GB, free: 53.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/1.291, allocations: 8.344 kB / 0.6271 GB, free: 53.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.889e-05/1.291, allocations: 134.1 kB / 0.6272 GB, free: 53.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.292, allocations: 0 / 0.6272 GB, free: 53.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008656/1.292, allocations: 197.8 kB / 0.6274 GB, free: 53.38 MB / 462.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: 3 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium1.completeState.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001369/1.294, allocations: 1.243 MB / 0.6286 GB, free: 52.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001066/1.295, allocations: 0.6207 MB / 0.6292 GB, free: 52.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.295, allocations: 0 / 0.6292 GB, free: 52.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005722/1.295, allocations: 0.5041 MB / 0.6297 GB, free: 52.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/1.297, allocations: 197.7 kB / 0.6299 GB, free: 51.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/1.301, allocations: 3.639 MB / 0.6334 GB, free: 49.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/1.302, allocations: 0.948 MB / 0.6344 GB, free: 49.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005294/1.302, allocations: 218.9 kB / 0.6346 GB, free: 49.18 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/1.303, allocations: 268 kB / 0.6348 GB, free: 49.17 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/1.303, allocations: 0 / 0.6348 GB, free: 49.17 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0422/1.345, allocations: 18.43 MB / 0.6528 GB, free: 32.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/14.5, allocations: 10.62 kB / 0.6528 GB, free: 32.98 MB / 462.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesImplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesImplicit.pipe 2>&1)