Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.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: "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit",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.0009497/0.0009527, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009338/0.0009338, allocations: 193.4 kB / 16.14 MB, free: 6.66 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.235/1.235, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1105/0.1105, allocations: 2.76 MB / 292.7 MB, free: 3.781 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.001171, allocations: 63.91 kB / 353.8 MB, free: 4.969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08733/0.08852, allocations: 50.24 MB / 404.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.1772/0.2658, allocations: 50.42 MB / 454.5 MB, free: 22.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01567/0.2815, allocations: 28.97 MB / 483.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000463/0.282, allocations: 7.031 kB / 483.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.2832, allocations: 0.5707 MB / 484 MB, free: 264 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.2878, allocations: 2.054 MB / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006822/0.2947, allocations: 2.706 MB / 488.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008759/0.2955, allocations: 0.9721 MB / 489.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.268e-05/0.2956, allocations: 68.58 kB / 489.8 MB, free: 13.07 MB / 366.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.938/1.234, allocations: 47.05 MB / 0.5243 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006727/1.234, allocations: 298.6 kB / 0.5246 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.591e-05/1.234, allocations: 20 kB / 0.5246 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3716/1.606, allocations: 25.07 MB / 0.5491 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/1.606, allocations: 87.48 kB / 0.5492 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004862/1.607, allocations: 318.4 kB / 0.5495 GB, free: 3.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005727/1.612, allocations: 1.824 MB / 0.5512 GB, free: 2.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/1.612, allocations: 4 kB / 0.5512 GB, free: 2.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.72e-07/1.612, allocations: 0 / 0.5512 GB, free: 2.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/1.613, allocations: 0 / 0.5512 GB, free: 2.098 MB / 414.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.001359/1.614, allocations: 1.108 MB / 0.5523 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.614, allocations: 12.03 kB / 0.5523 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/1.614, allocations: 111.1 kB / 0.5524 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/1.616, allocations: 0.4958 MB / 0.5529 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/1.616, allocations: 339.4 kB / 0.5533 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/1.616, allocations: 49.88 kB / 0.5533 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/1.616, allocations: 55.94 kB / 0.5534 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/1.618, allocations: 0.8685 MB / 0.5542 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/1.618, allocations: 3.938 kB / 0.5542 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/1.618, allocations: 24 kB / 0.5542 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/1.618, allocations: 35.98 kB / 0.5543 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/1.619, allocations: 0.7039 MB / 0.555 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003457/1.623, allocations: 5.024 MB / 0.5599 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/1.623, allocations: 325.7 kB / 0.5602 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/1.624, allocations: 213.7 kB / 0.5604 GB, free: 7.988 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/1.625, allocations: 1.531 MB / 0.5619 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/1.625, allocations: 34.56 kB / 0.5619 GB, free: 6.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 1.794e-06/1.625, allocations: 0 / 0.5619 GB, free: 6.242 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001389/1.626, allocations: 0.5962 MB / 0.5625 GB, free: 5.641 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/1.626, allocations: 89.03 kB / 0.5626 GB, free: 5.535 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/1.626, allocations: 182.2 kB / 0.5627 GB, free: 5.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/1.626, allocations: 33.7 kB / 0.5628 GB, free: 5.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/1.627, allocations: 279.5 kB / 0.563 GB, free: 5.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/1.627, allocations: 240.4 kB / 0.5633 GB, free: 4.789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/1.627, allocations: 97.91 kB / 0.5634 GB, free: 4.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/1.627, allocations: 334.8 kB / 0.5637 GB, free: 4.352 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/1.627, allocations: 121.3 kB / 0.5638 GB, free: 4.234 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/1.628, allocations: 300 kB / 0.5641 GB, free: 3.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/1.628, allocations: 492.5 kB / 0.5646 GB, free: 3.305 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.628, allocations: 0 / 0.5646 GB, free: 3.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007117/1.629, allocations: 480.2 kB / 0.565 GB, free: 2.828 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.629, allocations: 12.12 kB / 0.565 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/1.629, allocations: 4 kB / 0.565 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.629, allocations: 12.66 kB / 0.565 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/1.629, allocations: 75.89 kB / 0.5651 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/1.629, allocations: 11.94 kB / 0.5651 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/1.629, allocations: 83.28 kB / 0.5652 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/1.629, allocations: 20 kB / 0.5652 GB, free: 2.613 MB / 430.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.0001986/1.63, allocations: 189.7 kB / 0.5654 GB, free: 2.418 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/1.63, allocations: 31.56 kB / 0.5654 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/1.631, allocations: 1.174 MB / 0.5666 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001285/1.632, allocations: 0.9651 MB / 0.5675 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.632, allocations: 4 kB / 0.5675 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.632, allocations: 3.984 kB / 0.5675 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/1.635, allocations: 2.298 MB / 0.5698 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.635, allocations: 0 / 0.5698 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003326/1.635, allocations: 115.8 kB / 0.5699 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/1.635, allocations: 4 kB / 0.5699 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/1.635, allocations: 12 kB / 0.5699 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/1.635, allocations: 8 kB / 0.5699 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/1.635, allocations: 0 / 0.5699 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00097/1.636, allocations: 0.8792 MB / 0.5708 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/1.637, allocations: 136.2 kB / 0.5709 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/1.637, allocations: 16 kB / 0.5709 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/1.637, allocations: 87.48 kB / 0.571 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/1.637, allocations: 47.94 kB / 0.571 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/1.637, allocations: 16 kB / 0.5711 GB, free: 12.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.605e-05/1.637, allocations: 128.2 kB / 0.5712 GB, free: 12.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.637, allocations: 0 / 0.5712 GB, free: 12.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007466/1.638, allocations: 223.4 kB / 0.5714 GB, free: 12.18 MB / 446.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: 5 (medium1.completeState.state.phase,$cse4.phase,medium2.completeState.state.phase,$cse2.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * 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 Backend phase and start with SimCode phase: time 0.001643/1.64, allocations: 1.621 MB / 0.573 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009587/1.641, allocations: 0.746 MB / 0.5737 GB, free: 9.758 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.641, allocations: 0 / 0.5737 GB, free: 9.758 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004409/1.641, allocations: 370.4 kB / 0.5741 GB, free: 9.398 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/1.643, allocations: 337.1 kB / 0.5744 GB, free: 9.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/1.647, allocations: 4.184 MB / 0.5785 GB, free: 4.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/1.648, allocations: 0.9599 MB / 0.5794 GB, free: 3.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004218/1.648, allocations: 133.1 kB / 0.5795 GB, free: 3.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/1.649, allocations: 279.3 kB / 0.5798 GB, free: 3.273 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/1.649, allocations: 0 / 0.5798 GB, free: 3.273 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2325/1.881, allocations: 18.97 MB / 0.5983 GB, free: 140.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001434/1.881, allocations: 262.5 kB / 0.5986 GB, free: 140.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/4.088, allocations: 0 / 0.5986 GB, free: 140.2 MB / 446.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_Tabular_TestBasePropertiesExplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit.pipe 2>&1)