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.001397/0.001397, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001687/0.001687, allocations: 186.6 kB / 16.25 MB, free: 6.621 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.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1046/0.1046, allocations: 2.764 MB / 292.8 MB, free: 3.758 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 55.91 kB / 354 MB, free: 4.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07927/0.0805, allocations: 50.24 MB / 404.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2_Tabular.TestBasePropertiesExplicit): time 0.1681/0.2486, allocations: 50.33 MB / 454.6 MB, free: 21.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.2629, allocations: 28.87 MB / 483.4 MB, free: 352 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004222/0.2634, allocations: 3.125 kB / 483.4 MB, free: 352 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.2645, allocations: 0.5694 MB / 484 MB, free: 48 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004321/0.2689, allocations: 2.064 MB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006329/0.2752, allocations: 2.707 MB / 488.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00086/0.2761, allocations: 0.9242 MB / 489.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.956e-05/0.2762, allocations: 56.53 kB / 489.8 MB, free: 12.84 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 1.493/1.769, allocations: 51.24 MB / 0.5283 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005925/1.769, allocations: 302.7 kB / 0.5286 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.308e-05/1.77, allocations: 40 kB / 0.5286 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3531/2.123, allocations: 27.05 MB / 0.5551 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/2.123, allocations: 103.5 kB / 0.5551 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006893/2.124, allocations: 346.4 kB / 0.5555 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005349/2.129, allocations: 1.832 MB / 0.5573 GB, free: 11.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/2.129, allocations: 0 / 0.5573 GB, free: 11.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.347e-06/2.129, allocations: 0 / 0.5573 GB, free: 11.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.729e-05/2.129, allocations: 3.938 kB / 0.5573 GB, free: 11.78 MB / 430.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.001536/2.13, allocations: 1.1 MB / 0.5583 GB, free: 10.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/2.131, allocations: 12.03 kB / 0.5584 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/2.131, allocations: 119 kB / 0.5585 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/2.133, allocations: 0.4919 MB / 0.559 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/2.133, allocations: 331.4 kB / 0.5593 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.095e-05/2.133, allocations: 45.88 kB / 0.5593 GB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/2.133, allocations: 63.94 kB / 0.5594 GB, free: 9.535 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/2.134, allocations: 0.8763 MB / 0.5602 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/2.134, allocations: 3.938 kB / 0.5602 GB, free: 8.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/2.134, allocations: 24 kB / 0.5603 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/2.135, allocations: 35.97 kB / 0.5603 GB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/2.136, allocations: 0.6961 MB / 0.561 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/2.139, allocations: 5.028 MB / 0.5659 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/2.14, allocations: 325.8 kB / 0.5662 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/2.14, allocations: 225.5 kB / 0.5664 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/2.141, allocations: 1.531 MB / 0.5679 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/2.141, allocations: 34.56 kB / 0.5679 GB, free: 15.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=71): time 1.693e-06/2.141, allocations: 0 / 0.5679 GB, free: 15.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=71): time 0.001342/2.143, allocations: 0.5924 MB / 0.5685 GB, free: 15.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/2.143, allocations: 85.05 kB / 0.5686 GB, free: 15.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/2.143, allocations: 182.2 kB / 0.5688 GB, free: 15.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/2.143, allocations: 29.7 kB / 0.5688 GB, free: 14.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/2.143, allocations: 283.5 kB / 0.5691 GB, free: 14.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/2.143, allocations: 236.4 kB / 0.5693 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002957/2.143, allocations: 93.92 kB / 0.5694 GB, free: 14.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/2.143, allocations: 342.8 kB / 0.5697 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/2.144, allocations: 121.3 kB / 0.5698 GB, free: 13.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/2.144, allocations: 296 kB / 0.5701 GB, free: 13.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/2.145, allocations: 488.6 kB / 0.5706 GB, free: 13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/2.145, allocations: 3.938 kB / 0.5706 GB, free: 12.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007915/2.146, allocations: 488.6 kB / 0.571 GB, free: 12.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/2.146, allocations: 11.94 kB / 0.5711 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/2.146, allocations: 4 kB / 0.5711 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/2.146, allocations: 8 kB / 0.5711 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/2.146, allocations: 67.89 kB / 0.5711 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/2.146, allocations: 15.88 kB / 0.5711 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/2.146, allocations: 87.69 kB / 0.5712 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/2.146, allocations: 16 kB / 0.5712 GB, free: 12.3 MB / 446.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.000279/2.147, allocations: 193.7 kB / 0.5714 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.204e-05/2.147, allocations: 31.56 kB / 0.5715 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/2.148, allocations: 1.17 MB / 0.5726 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001071/2.149, allocations: 0.9612 MB / 0.5735 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/2.149, allocations: 8 kB / 0.5735 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/2.149, allocations: 3.984 kB / 0.5736 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/2.152, allocations: 2.298 MB / 0.5758 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/2.152, allocations: 0 / 0.5758 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/2.152, allocations: 115.8 kB / 0.5759 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/2.153, allocations: 4 kB / 0.5759 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/2.153, allocations: 12 kB / 0.5759 GB, free: 7.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/2.153, allocations: 4 kB / 0.5759 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/2.153, allocations: 3.938 kB / 0.5759 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000935/2.153, allocations: 0.8753 MB / 0.5768 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/2.154, allocations: 132.3 kB / 0.5769 GB, free: 6.379 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/2.154, allocations: 19.98 kB / 0.5769 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/2.154, allocations: 83.5 kB / 0.577 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/2.154, allocations: 43.94 kB / 0.577 GB, free: 6.234 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/2.154, allocations: 20 kB / 0.5771 GB, free: 6.215 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.427e-05/2.154, allocations: 128.2 kB / 0.5772 GB, free: 6.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.51e-07/2.154, allocations: 0 / 0.5772 GB, free: 6.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000823/2.155, allocations: 227.4 kB / 0.5774 GB, free: 5.867 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.00173/2.157, allocations: 1.617 MB / 0.579 GB, free: 4.223 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/2.158, allocations: 0.7811 MB / 0.5797 GB, free: 3.418 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/2.158, allocations: 0 / 0.5797 GB, free: 3.418 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004198/2.159, allocations: 378.4 kB / 0.5801 GB, free: 3.051 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/2.16, allocations: 332.5 kB / 0.5804 GB, free: 2.727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1355/2.296, allocations: 4.186 MB / 0.5845 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/2.296, allocations: 0.9565 MB / 0.5854 GB, free: 141 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004427/2.297, allocations: 136.3 kB / 0.5856 GB, free: 140.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/2.297, allocations: 278.8 kB / 0.5858 GB, free: 140.9 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/2.297, allocations: 0 / 0.5858 GB, free: 140.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5376/2.834, allocations: 19.53 MB / 0.6049 GB, free: 140 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/2.835, allocations: 267.3 kB / 0.6052 GB, free: 139.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/5.241, allocations: 0 / 0.6052 GB, free: 139.6 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)