Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.CO2.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.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_CO2_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.00134/0.00134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001352/0.001352, allocations: 194.2 kB / 16.14 MB, free: 6.707 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.252/1.252, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1004/0.1004, allocations: 2.763 MB / 292.7 MB, free: 3.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 63.89 kB / 353.8 MB, free: 4.965 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07849/0.07958, allocations: 50.24 MB / 404.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit): time 0.1706/0.2502, allocations: 50.42 MB / 454.5 MB, free: 21.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.2645, allocations: 28.97 MB / 483.5 MB, free: 284 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.265, allocations: 6.906 kB / 483.5 MB, free: 280 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.2662, allocations: 0.5666 MB / 484 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00427/0.2705, allocations: 2.056 MB / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006505/0.277, allocations: 2.709 MB / 488.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009096/0.2779, allocations: 0.9809 MB / 489.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.278, allocations: 56.03 kB / 489.8 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.7214/0.9994, allocations: 46.47 MB / 0.5237 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000644/1, allocations: 302.5 kB / 0.524 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.81e-05/1, allocations: 20 kB / 0.524 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3596/1.36, allocations: 24.76 MB / 0.5482 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/1.36, allocations: 99.34 kB / 0.5483 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004938/1.361, allocations: 322.4 kB / 0.5486 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005059/1.366, allocations: 1.824 MB / 0.5504 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.366, allocations: 0 / 0.5504 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.62e-07/1.366, allocations: 0 / 0.5504 GB, free: 2.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/1.366, allocations: 0 / 0.5504 GB, free: 2.801 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.00133/1.367, allocations: 1.1 MB / 0.5515 GB, free: 1.652 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/1.367, allocations: 8.031 kB / 0.5515 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/1.367, allocations: 115 kB / 0.5516 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/1.369, allocations: 0.4996 MB / 0.5521 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/1.369, allocations: 339.4 kB / 0.5524 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/1.369, allocations: 45.88 kB / 0.5524 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/1.37, allocations: 55.94 kB / 0.5525 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/1.371, allocations: 0.8762 MB / 0.5533 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/1.371, allocations: 0 / 0.5533 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.754e-05/1.371, allocations: 24 kB / 0.5534 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/1.371, allocations: 35.97 kB / 0.5534 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/1.372, allocations: 0.7 MB / 0.5541 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003519/1.376, allocations: 5.021 MB / 0.559 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/1.376, allocations: 329.7 kB / 0.5593 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/1.377, allocations: 213.7 kB / 0.5595 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/1.378, allocations: 1.539 MB / 0.561 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/1.378, allocations: 38.5 kB / 0.561 GB, free: 6.941 MB / 430.1 MB Notification: Performance of pre-optimization done (n=71): time 1.513e-06/1.378, allocations: 4 kB / 0.5611 GB, free: 6.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=71): time 0.001411/1.379, allocations: 0.5923 MB / 0.5616 GB, free: 6.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/1.379, allocations: 81.11 kB / 0.5617 GB, free: 6.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/1.38, allocations: 178.3 kB / 0.5619 GB, free: 6.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/1.38, allocations: 29.7 kB / 0.5619 GB, free: 6.023 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/1.38, allocations: 287.4 kB / 0.5622 GB, free: 5.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/1.38, allocations: 244.4 kB / 0.5624 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/1.38, allocations: 93.92 kB / 0.5625 GB, free: 5.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/1.38, allocations: 338.8 kB / 0.5628 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/1.38, allocations: 117.3 kB / 0.5629 GB, free: 4.941 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/1.381, allocations: 300 kB / 0.5632 GB, free: 4.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/1.381, allocations: 488.5 kB / 0.5637 GB, free: 4.016 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.381, allocations: 4 kB / 0.5637 GB, free: 4.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007325/1.382, allocations: 484.6 kB / 0.5642 GB, free: 3.531 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.382, allocations: 11.94 kB / 0.5642 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.382, allocations: 4.188 kB / 0.5642 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.382, allocations: 8 kB / 0.5642 GB, free: 3.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/1.382, allocations: 75.84 kB / 0.5643 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/1.382, allocations: 12.09 kB / 0.5643 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/1.383, allocations: 79.66 kB / 0.5643 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/1.383, allocations: 20 kB / 0.5644 GB, free: 3.324 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.0001983/1.383, allocations: 193.7 kB / 0.5645 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/1.383, allocations: 31.56 kB / 0.5646 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/1.384, allocations: 1.17 MB / 0.5657 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001046/1.385, allocations: 0.9689 MB / 0.5667 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.385, allocations: 4 kB / 0.5667 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/1.385, allocations: 3.984 kB / 0.5667 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/1.388, allocations: 2.294 MB / 0.5689 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.388, allocations: 4 kB / 0.5689 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/1.388, allocations: 111.8 kB / 0.569 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/1.388, allocations: 4 kB / 0.569 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/1.388, allocations: 16 kB / 0.569 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.388, allocations: 3.984 kB / 0.569 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.388, allocations: 4 kB / 0.569 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009126/1.389, allocations: 0.8714 MB / 0.5699 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.543e-05/1.389, allocations: 136.2 kB / 0.57 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/1.39, allocations: 16 kB / 0.57 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/1.39, allocations: 87.55 kB / 0.5701 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/1.39, allocations: 39.94 kB / 0.5702 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/1.39, allocations: 16 kB / 0.5702 GB, free: 13.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.924e-05/1.39, allocations: 128.2 kB / 0.5703 GB, free: 13.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.39, allocations: 4 kB / 0.5703 GB, free: 13.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006904/1.391, allocations: 227.4 kB / 0.5705 GB, free: 12.89 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.001518/1.392, allocations: 1.632 MB / 0.5721 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008795/1.393, allocations: 0.7499 MB / 0.5728 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.393, allocations: 0 / 0.5728 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/1.394, allocations: 370.4 kB / 0.5732 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/1.395, allocations: 324.8 kB / 0.5735 GB, free: 9.777 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/1.4, allocations: 4.18 MB / 0.5776 GB, free: 5.371 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/1.4, allocations: 0.9599 MB / 0.5785 GB, free: 4.387 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000414/1.401, allocations: 129.1 kB / 0.5787 GB, free: 4.262 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/1.401, allocations: 279.3 kB / 0.5789 GB, free: 3.988 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/1.401, allocations: 0 / 0.5789 GB, free: 3.988 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1729/1.574, allocations: 18.93 MB / 0.5974 GB, free: 140.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/1.574, allocations: 253.2 kB / 0.5976 GB, free: 140 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/3.777, allocations: 3.25 kB / 0.5977 GB, free: 140 MB / 446.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesExplicit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_CO2_TestBasePropertiesExplicit.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.CO2.TestBasePropertiesExplicit.pipe 2>&1)