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.0007407/0.0007406, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004871/0.004872, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.256/1.256, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1169/0.1169, allocations: 2.779 MB / 294.2 MB, free: 4.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002993, allocations: 8 kB / 356.3 MB, free: 3.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.08891, allocations: 51.26 MB / 407.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesImplicit): time 0.1857/0.2747, allocations: 49.42 MB / 457 MB, free: 21.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01534/0.29, allocations: 28.51 MB / 485.5 MB, free: 344 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005297/0.2906, allocations: 0 / 485.5 MB, free: 344 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.292, allocations: 0.5811 MB / 486.1 MB, free: 32 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.2973, allocations: 2.066 MB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007208/0.3046, allocations: 2.705 MB / 490.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.3057, allocations: 0.9748 MB / 491.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.329e-05/0.3058, allocations: 62.38 kB / 491.9 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 0.7292/1.035, allocations: 46.47 MB / 0.5257 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006938/1.036, allocations: 303.1 kB / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.689e-05/1.036, allocations: 20 kB / 0.5261 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3592/1.395, allocations: 24.76 MB / 0.5502 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/1.395, allocations: 91.52 kB / 0.5503 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005168/1.396, allocations: 348.1 kB / 0.5507 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006019/1.402, allocations: 1.82 MB / 0.5524 GB, free: 3.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.402, allocations: 0 / 0.5524 GB, free: 3.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/1.402, allocations: 0 / 0.5524 GB, free: 3.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/1.402, allocations: 0 / 0.5524 GB, free: 3.652 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.001395/1.403, allocations: 0.9871 MB / 0.5534 GB, free: 2.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.403, allocations: 12.03 kB / 0.5534 GB, free: 2.605 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/1.403, allocations: 115 kB / 0.5535 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/1.405, allocations: 0.5036 MB / 0.554 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/1.406, allocations: 343.4 kB / 0.5543 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.783e-05/1.406, allocations: 49.88 kB / 0.5544 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.995e-05/1.406, allocations: 63.88 kB / 0.5544 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/1.407, allocations: 0.8762 MB / 0.5553 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/1.407, allocations: 0 / 0.5553 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/1.407, allocations: 28 kB / 0.5553 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/1.407, allocations: 35.97 kB / 0.5554 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/1.409, allocations: 0.7196 MB / 0.5561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004378/1.413, allocations: 5.14 MB / 0.5611 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006584/1.414, allocations: 341.7 kB / 0.5614 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/1.414, allocations: 221.7 kB / 0.5616 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001547/1.416, allocations: 1.542 MB / 0.5631 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/1.416, allocations: 42.5 kB / 0.5632 GB, free: 7.688 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 1.663e-06/1.416, allocations: 0 / 0.5632 GB, free: 7.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001518/1.417, allocations: 0.6118 MB / 0.5638 GB, free: 7.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/1.417, allocations: 81.11 kB / 0.5638 GB, free: 6.973 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/1.417, allocations: 186.2 kB / 0.564 GB, free: 6.781 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/1.418, allocations: 25.7 kB / 0.564 GB, free: 6.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/1.418, allocations: 279.5 kB / 0.5643 GB, free: 6.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/1.418, allocations: 240.5 kB / 0.5645 GB, free: 6.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/1.418, allocations: 61.62 kB / 0.5646 GB, free: 6.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/1.418, allocations: 342.8 kB / 0.5649 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/1.418, allocations: 129.2 kB / 0.565 GB, free: 5.691 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/1.419, allocations: 308 kB / 0.5653 GB, free: 5.316 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/1.419, allocations: 0.4887 MB / 0.5658 GB, free: 4.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.419, allocations: 0 / 0.5658 GB, free: 4.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007715/1.42, allocations: 492.2 kB / 0.5663 GB, free: 4.262 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.42, allocations: 12.66 kB / 0.5663 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/1.42, allocations: 7.984 kB / 0.5663 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.42, allocations: 12 kB / 0.5663 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/1.42, allocations: 79.91 kB / 0.5664 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006225/1.421, allocations: 1.184 MB / 0.5675 GB, free: 2.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/1.421, allocations: 83.33 kB / 0.5676 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/1.422, allocations: 23.98 kB / 0.5677 GB, free: 2.816 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.0002669/1.422, allocations: 185.7 kB / 0.5678 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/1.422, allocations: 27.62 kB / 0.5679 GB, free: 2.598 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/1.424, allocations: 1.355 MB / 0.5692 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001359/1.425, allocations: 1.154 MB / 0.5703 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/1.425, allocations: 0 / 0.5703 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/1.425, allocations: 11.92 kB / 0.5703 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/1.428, allocations: 2.525 MB / 0.5728 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.428, allocations: 4 kB / 0.5728 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/1.429, allocations: 111.9 kB / 0.5729 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004702/1.429, allocations: 309.2 kB / 0.5732 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/1.429, allocations: 12 kB / 0.5732 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008936/1.43, allocations: 1.257 MB / 0.5744 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.43, allocations: 4.188 kB / 0.5744 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/1.432, allocations: 1.173 MB / 0.5756 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/1.432, allocations: 136.2 kB / 0.5757 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/1.432, allocations: 12 kB / 0.5757 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/1.432, allocations: 99.39 kB / 0.5758 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/1.432, allocations: 43.88 kB / 0.5759 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/1.432, allocations: 20 kB / 0.5759 GB, free: 10.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000108/1.433, allocations: 128.2 kB / 0.576 GB, free: 10.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.433, allocations: 0 / 0.576 GB, free: 10.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007552/1.433, allocations: 215.4 kB / 0.5762 GB, free: 9.852 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.001833/1.435, allocations: 1.644 MB / 0.5778 GB, free: 8.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/1.436, allocations: 0.7695 MB / 0.5786 GB, free: 7.391 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.436, allocations: 0 / 0.5786 GB, free: 7.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000543/1.437, allocations: 402.3 kB / 0.5789 GB, free: 7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/1.439, allocations: 312.8 kB / 0.5792 GB, free: 6.691 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/1.444, allocations: 4.312 MB / 0.5835 GB, free: 2.156 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/1.445, allocations: 0.9522 MB / 0.5844 GB, free: 1.176 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000403/1.445, allocations: 117.2 kB / 0.5845 GB, free: 1.062 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/1.445, allocations: 275.3 kB / 0.5848 GB, free: 0.793 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/1.445, allocations: 3.938 kB / 0.5848 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2186/1.664, allocations: 18.99 MB / 0.6033 GB, free: 137.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/1.664, allocations: 283.2 kB / 0.6036 GB, free: 137.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.985, allocations: 0 / 0.6036 GB, free: 137.1 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)