Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesImplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_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.001012/0.001012, 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.001015/0.001015, allocations: 195.7 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.233/1.233, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1231/0.1231, allocations: 2.758 MB / 292.7 MB, free: 3.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 59.89 kB / 353.8 MB, free: 4.965 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0812/0.08232, allocations: 50.24 MB / 404 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.1796/0.262, allocations: 50.46 MB / 454.5 MB, free: 21.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01542/0.2774, allocations: 28.97 MB / 483.5 MB, free: 304 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000576/0.278, allocations: 7.344 kB / 483.5 MB, free: 300 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.2795, allocations: 0.5718 MB / 484.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005058/0.2846, allocations: 2.06 MB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007187/0.2918, allocations: 2.71 MB / 488.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.2928, allocations: 0.9838 MB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.2929, allocations: 56.69 kB / 489.9 MB, free: 12.8 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.7192/1.012, allocations: 46.48 MB / 0.5238 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007342/1.013, allocations: 306.5 kB / 0.5241 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.911e-05/1.013, allocations: 20 kB / 0.5241 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3539/1.367, allocations: 24.76 MB / 0.5483 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002595/1.367, allocations: 95.52 kB / 0.5484 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006767/1.368, allocations: 322.4 kB / 0.5487 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00704/1.375, allocations: 1.832 MB / 0.5505 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/1.375, allocations: 0 / 0.5505 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/1.375, allocations: 0 / 0.5505 GB, free: 2.809 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.976e-05/1.375, allocations: 0 / 0.5505 GB, free: 2.809 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.002101/1.377, allocations: 1.1 MB / 0.5515 GB, free: 1.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.377, allocations: 8.031 kB / 0.5515 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/1.377, allocations: 119 kB / 0.5516 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/1.38, allocations: 0.4957 MB / 0.5521 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/1.38, allocations: 339.5 kB / 0.5525 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/1.38, allocations: 45.88 kB / 0.5525 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.362e-05/1.38, allocations: 63.94 kB / 0.5526 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/1.382, allocations: 0.8684 MB / 0.5534 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/1.382, allocations: 0 / 0.5534 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/1.382, allocations: 20 kB / 0.5534 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/1.382, allocations: 43.91 kB / 0.5535 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/1.383, allocations: 0.7039 MB / 0.5542 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004631/1.388, allocations: 5.129 MB / 0.5592 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/1.389, allocations: 337.7 kB / 0.5595 GB, free: 8.777 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/1.389, allocations: 217.7 kB / 0.5597 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/1.39, allocations: 1.546 MB / 0.5612 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.39, allocations: 42.5 kB / 0.5612 GB, free: 6.789 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 1.673e-06/1.39, allocations: 0 / 0.5612 GB, free: 6.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.00148/1.392, allocations: 0.6001 MB / 0.5618 GB, free: 6.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/1.392, allocations: 81.11 kB / 0.5619 GB, free: 6.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/1.392, allocations: 182.2 kB / 0.5621 GB, free: 5.898 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/1.392, allocations: 33.7 kB / 0.5621 GB, free: 5.859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/1.392, allocations: 275.5 kB / 0.5624 GB, free: 5.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/1.392, allocations: 240.4 kB / 0.5626 GB, free: 5.344 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/1.392, allocations: 97.91 kB / 0.5627 GB, free: 5.242 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/1.393, allocations: 342.8 kB / 0.563 GB, free: 4.898 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/1.393, allocations: 117.3 kB / 0.5631 GB, free: 4.785 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/1.393, allocations: 308 kB / 0.5634 GB, free: 4.406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/1.394, allocations: 488.6 kB / 0.5639 GB, free: 3.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.394, allocations: 3.938 kB / 0.5639 GB, free: 3.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007472/1.394, allocations: 492.2 kB / 0.5644 GB, free: 3.359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.394, allocations: 15.84 kB / 0.5644 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.394, allocations: 4 kB / 0.5644 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/1.395, allocations: 8 kB / 0.5644 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/1.395, allocations: 84.58 kB / 0.5645 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005795/1.395, allocations: 1.18 MB / 0.5656 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/1.396, allocations: 83.44 kB / 0.5657 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/1.396, allocations: 24 kB / 0.5657 GB, free: 1.918 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): 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.0002293/1.396, allocations: 185.7 kB / 0.5659 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/1.396, allocations: 27.62 kB / 0.5659 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/1.398, allocations: 1.347 MB / 0.5673 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001243/1.399, allocations: 1.15 MB / 0.5684 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.399, allocations: 0 / 0.5684 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/1.399, allocations: 7.922 kB / 0.5684 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/1.402, allocations: 2.51 MB / 0.5708 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.402, allocations: 3.938 kB / 0.5708 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/1.402, allocations: 107.9 kB / 0.5709 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/1.403, allocations: 305.2 kB / 0.5712 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/1.403, allocations: 12 kB / 0.5712 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007014/1.403, allocations: 1.261 MB / 0.5725 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.403, allocations: 3.938 kB / 0.5725 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/1.405, allocations: 1.166 MB / 0.5736 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/1.405, allocations: 144.1 kB / 0.5738 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/1.405, allocations: 12 kB / 0.5738 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/1.405, allocations: 91.48 kB / 0.5739 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/1.405, allocations: 39.94 kB / 0.5739 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/1.405, allocations: 16 kB / 0.5739 GB, free: 9.348 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.238e-05/1.405, allocations: 128.2 kB / 0.574 GB, free: 9.223 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.405, allocations: 4 kB / 0.574 GB, free: 9.219 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007552/1.406, allocations: 227.4 kB / 0.5743 GB, free: 8.996 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001739/1.408, allocations: 1.625 MB / 0.5758 GB, free: 7.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/1.409, allocations: 0.7578 MB / 0.5766 GB, free: 6.559 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.409, allocations: 0 / 0.5766 GB, free: 6.559 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005112/1.41, allocations: 394.2 kB / 0.577 GB, free: 6.176 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/1.411, allocations: 327.1 kB / 0.5773 GB, free: 5.859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/1.416, allocations: 4.23 MB / 0.5814 GB, free: 1.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/1.416, allocations: 0.9561 MB / 0.5823 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004048/1.417, allocations: 121.1 kB / 0.5824 GB, free: 304 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/1.417, allocations: 275.3 kB / 0.5827 GB, free: 28 kB / 446.1 MB Notification: Performance of SimCode: time 4e-07/1.417, allocations: 0 / 0.5827 GB, free: 28 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1704/1.588, allocations: 19.41 MB / 0.6017 GB, free: 140.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/1.588, allocations: 293.6 kB / 0.6019 GB, free: 140.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/3.754, allocations: 0 / 0.6019 GB, free: 140.3 MB / 446.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesImplicit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesImplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit.pipe 2>&1)