Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.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.Pentane.Pentane_hs,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs,fileNamePrefix="ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs",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.000971/0.000971, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007301/0.007301, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1333/0.1333, allocations: 2.791 MB / 294.2 MB, free: 4.273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003951, allocations: 8 kB / 356.3 MB, free: 3.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1047, allocations: 51.25 MB / 407.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.CoolProp.Pentane.Pentane_hs): time 0.008586/0.1133, allocations: 8.405 MB / 416 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1842/0.2975, allocations: 8.277 MB / 424.3 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.2977, allocations: 0 / 424.3 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.2982, allocations: 151.9 kB / 424.4 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.2985, allocations: 84.97 kB / 424.5 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003701/0.3022, allocations: 1.32 MB / 425.8 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004167/0.3026, allocations: 281 kB / 426.1 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.3027, allocations: 14.38 kB / 426.1 MB, free: 34.22 MB / 350.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.199/0.5017, allocations: 12.44 MB / 438.5 MB, free: 30.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/0.5019, allocations: 71.61 kB / 438.6 MB, free: 30.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.502, allocations: 7.344 kB / 438.6 MB, free: 30.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.5035, allocations: 328.5 kB / 438.9 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.5036, allocations: 19.31 kB / 439 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.5037, allocations: 101.7 kB / 439.1 MB, free: 30.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.505, allocations: 338.4 kB / 439.4 MB, free: 30.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.505, allocations: 4 kB / 439.4 MB, free: 30.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.505, allocations: 0 / 439.4 MB, free: 30.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.505, allocations: 0 / 439.4 MB, free: 30.17 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0006494/0.5057, allocations: 483.8 kB / 439.9 MB, free: 29.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5057, allocations: 13.81 kB / 439.9 MB, free: 29.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.5058, allocations: 54.22 kB / 439.9 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004602/0.5062, allocations: 99.19 kB / 440 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.5064, allocations: 187.5 kB / 440.2 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.5064, allocations: 24.05 kB / 440.2 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.5065, allocations: 13.12 kB / 440.2 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.5069, allocations: 260.2 kB / 440.5 MB, free: 29.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5069, allocations: 0 / 440.5 MB, free: 29.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.5069, allocations: 0 / 440.5 MB, free: 29.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.5069, allocations: 15.7 kB / 440.5 MB, free: 29.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.5073, allocations: 256.4 kB / 440.8 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/0.5082, allocations: 0.8639 MB / 441.6 MB, free: 28.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.5084, allocations: 177.3 kB / 441.8 MB, free: 28.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.5087, allocations: 156.6 kB / 442 MB, free: 28.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.5087, allocations: 4.641 kB / 442 MB, free: 28.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.5087, allocations: 36.69 kB / 442 MB, free: 28.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.372e-06/0.5087, allocations: 4 kB / 442 MB, free: 28.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006485/0.5094, allocations: 417.2 kB / 442.4 MB, free: 28.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.5094, allocations: 51.41 kB / 442.5 MB, free: 28.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/0.5095, allocations: 121.2 kB / 442.6 MB, free: 28.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.5095, allocations: 28.83 kB / 442.6 MB, free: 28.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/0.5096, allocations: 107.1 kB / 442.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/0.5096, allocations: 106.1 kB / 442.8 MB, free: 28.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.5097, allocations: 26.05 kB / 442.8 MB, free: 28.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.5097, allocations: 326.9 kB / 443.2 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.5099, allocations: 131.8 kB / 443.3 MB, free: 27.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.5102, allocations: 169.8 kB / 443.4 MB, free: 27.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.5105, allocations: 217.4 kB / 443.7 MB, free: 27.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5105, allocations: 0 / 443.7 MB, free: 27.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004304/0.5109, allocations: 305.9 kB / 444 MB, free: 27.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.511, allocations: 6.062 kB / 444 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.511, allocations: 0 / 444 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.511, allocations: 6.906 kB / 444 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.5111, allocations: 24.41 kB / 444 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5111, allocations: 2.844 kB / 444 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.5113, allocations: 31.52 kB / 444 MB, free: 27.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.5113, allocations: 3 kB / 444 MB, free: 27.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (fluid.phaseOutput,fluid.state.phase,fluid.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8.482e-05/0.5114, allocations: 128 kB / 444.2 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.5114, allocations: 14.72 kB / 444.2 MB, free: 27.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006695/0.5121, allocations: 0.4938 MB / 444.7 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004754/0.5126, allocations: 424.2 kB / 445.1 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5126, allocations: 7.938 kB / 445.1 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.5126, allocations: 3.375 kB / 445.1 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009766/0.5136, allocations: 0.9253 MB / 446 MB, free: 27.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5136, allocations: 3.375 kB / 446 MB, free: 27.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.5137, allocations: 44.34 kB / 446.1 MB, free: 27.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.5137, allocations: 2.969 kB / 446.1 MB, free: 27.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.5137, allocations: 1.625 kB / 446.1 MB, free: 27.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.5138, allocations: 4 kB / 446.1 MB, free: 27.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5138, allocations: 2.969 kB / 446.1 MB, free: 27.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.5143, allocations: 0.5294 MB / 446.6 MB, free: 26.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.5144, allocations: 102.7 kB / 446.7 MB, free: 26.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.5144, allocations: 10.31 kB / 446.7 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006466/0.515, allocations: 16.31 kB / 446.7 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.5151, allocations: 16.64 kB / 446.7 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.5151, allocations: 6.281 kB / 446.8 MB, free: 26.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.159e-05/0.5151, allocations: 88.44 kB / 446.8 MB, free: 26.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5151, allocations: 0 / 446.8 MB, free: 26.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.5155, allocations: 76.97 kB / 446.9 MB, free: 26.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (fluid.state.phase,$cse3.phase,fluid.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00107/0.5166, allocations: 1.215 MB / 448.1 MB, free: 26.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005668/0.5172, allocations: 414.1 kB / 448.5 MB, free: 25.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5172, allocations: 0 / 448.5 MB, free: 25.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.5174, allocations: 228.1 kB / 448.8 MB, free: 25.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/0.5181, allocations: 115.1 kB / 448.9 MB, free: 25.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.5211, allocations: 2.583 MB / 451.5 MB, free: 24.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.5213, allocations: 0.7486 MB / 452.2 MB, free: 23.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.5215, allocations: 33.3 kB / 452.2 MB, free: 23.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.5216, allocations: 67.28 kB / 452.3 MB, free: 23.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5216, allocations: 0 / 452.3 MB, free: 23.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.5403, allocations: 7.994 MB / 460.3 MB, free: 22.95 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/0.5405, allocations: 234.7 kB / 460.5 MB, free: 22.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.482, allocations: 7.062 kB / 460.5 MB, free: 22.68 MB / 350.1 MB (rm -f ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; mkfifo ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe ; head -c 1048576 < ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe >> ../files/ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ExternalMedia_ExternalMedia_Test_CoolProp_Pentane_Pentane_hs.fmu > ExternalMedia_ExternalMedia.Test.CoolProp.Pentane.Pentane_hs.pipe 2>&1)