Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState",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.0008491/0.0008491, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008897/0.0008897, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04339/0.04339, allocations: 9.073 MB / 279.5 MB, free: 12.24 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004476, allocations: 15.98 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07562/0.07608, allocations: 49.18 MB / 388.4 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01692/0.09302, allocations: 17.02 MB / 405.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01327/0.1063, allocations: 15.41 MB / 420.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.1064, allocations: 4 kB / 420.8 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005485/0.107, allocations: 242.9 kB / 421.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.1071, allocations: 95.41 kB / 421.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0122/0.1193, allocations: 5.444 MB / 426.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.1196, allocations: 234.7 kB / 426.9 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.1197, allocations: 9.406 kB / 426.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.1198, allocations: 99.52 kB / 427 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.1199, allocations: 59.73 kB / 427 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.12, allocations: 0 / 427 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1664/0.2864, allocations: 8.119 MB / 435.1 MB, free: 19.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.2865, allocations: 14.47 kB / 435.1 MB, free: 19.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.126e-05/0.2866, allocations: 50.61 kB / 435.2 MB, free: 19.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.291, allocations: 2.552 MB / 437.8 MB, free: 19.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.291, allocations: 0 / 437.8 MB, free: 19.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.291, allocations: 1.969 kB / 437.8 MB, free: 19.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.291, allocations: 0 / 437.8 MB, free: 19.08 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001973/0.293, allocations: 0.9317 MB / 438.7 MB, free: 18.44 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.293, allocations: 9.375 kB / 438.7 MB, free: 18.44 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.2931, allocations: 48.27 kB / 438.7 MB, free: 18.4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.2931, allocations: 17.02 kB / 438.8 MB, free: 18.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.374e-05/0.2932, allocations: 177.6 kB / 438.9 MB, free: 18.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.2932, allocations: 3.031 kB / 438.9 MB, free: 18.19 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2932, allocations: 1.969 kB / 438.9 MB, free: 18.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.2934, allocations: 112.1 kB / 439 MB, free: 18.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.2934, allocations: 4.906 kB / 439 MB, free: 18.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2934, allocations: 0.5312 kB / 439 MB, free: 18.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.2935, allocations: 9.781 kB / 439.1 MB, free: 18.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.591e-05/0.2936, allocations: 76.17 kB / 439.1 MB, free: 18.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/0.2938, allocations: 255 kB / 439.4 MB, free: 17.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.2939, allocations: 123.2 kB / 439.5 MB, free: 17.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.294, allocations: 110.8 kB / 439.6 MB, free: 17.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1168/0.4108, allocations: 91.21 MB / 0.5184 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.4109, allocations: 38.5 kB / 0.5184 GB, free: 2.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.4109, allocations: 0 / 0.5184 GB, free: 2.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0004274/0.4113, allocations: 326.5 kB / 0.5187 GB, free: 2.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.4114, allocations: 51.41 kB / 0.5188 GB, free: 2.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.208e-05/0.4114, allocations: 100.5 kB / 0.5189 GB, free: 2.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.4114, allocations: 25.7 kB / 0.5189 GB, free: 2.059 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.4115, allocations: 88.27 kB / 0.519 GB, free: 1.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.595e-05/0.4116, allocations: 132.4 kB / 0.5191 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.4116, allocations: 0 / 0.5191 GB, free: 1.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.4117, allocations: 326.1 kB / 0.5194 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.4117, allocations: 71.97 kB / 0.5195 GB, free: 1.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.176e-05/0.4118, allocations: 74.59 kB / 0.5196 GB, free: 1.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.732e-05/0.4119, allocations: 98.55 kB / 0.5197 GB, free: 1.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4119, allocations: 0 / 0.5197 GB, free: 1.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002072/0.4121, allocations: 225.6 kB / 0.5199 GB, free: 1.234 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4121, allocations: 8 kB / 0.5199 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4122, allocations: 10.28 kB / 0.5199 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.4122, allocations: 0 / 0.5199 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-06/0.4122, allocations: 3.984 kB / 0.5199 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4122, allocations: 0 / 0.5199 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.4122, allocations: 13.48 kB / 0.5199 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.4123, allocations: 0 / 0.5199 GB, free: 1.207 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (state.phase,state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.83e-05/0.4123, allocations: 124.9 kB / 0.52 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.4124, allocations: 11.81 kB / 0.52 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.4127, allocations: 387.3 kB / 0.5204 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.4128, allocations: 6.109 kB / 0.5204 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4128, allocations: 0 / 0.5204 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.4128, allocations: 4.359 kB / 0.5204 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.4129, allocations: 232.5 kB / 0.5206 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.413, allocations: 0 / 0.5206 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-06/0.413, allocations: 4 kB / 0.5206 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.413, allocations: 0 / 0.5206 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.413, allocations: 3.938 kB / 0.5206 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.413, allocations: 3.984 kB / 0.5206 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.413, allocations: 0 / 0.5206 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.4132, allocations: 227.5 kB / 0.5209 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.4133, allocations: 100.6 kB / 0.521 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.4133, allocations: 1.766 kB / 0.521 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.429e-05/0.4133, allocations: 0 / 0.521 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.4133, allocations: 11.86 kB / 0.521 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.4134, allocations: 0 / 0.521 GB, free: 208 kB / 398.1 MB Notification: Performance of sorting global known variables: time 5.137e-05/0.4134, allocations: 98.83 kB / 0.5211 GB, free: 116 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4134, allocations: 2.625 kB / 0.5211 GB, free: 116 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.002851/0.4163, allocations: 1.09 MB / 0.5221 GB, free: 15.05 MB / 414.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: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003879/0.4202, allocations: 2.271 MB / 0.5243 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.4204, allocations: 182.8 kB / 0.5245 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4204, allocations: 0 / 0.5245 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.754e-05/0.4204, allocations: 80.86 kB / 0.5246 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.4211, allocations: 131.6 kB / 0.5247 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.4223, allocations: 0.8302 MB / 0.5255 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.4226, allocations: 0.713 MB / 0.5262 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.869e-05/0.4226, allocations: 11.98 kB / 0.5262 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.4227, allocations: 36.61 kB / 0.5263 GB, free: 11.17 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4227, allocations: 0 / 0.5263 GB, free: 11.17 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0478/0.4705, allocations: 30.88 MB / 0.5564 GB, free: 12.46 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.4707, allocations: 188.7 kB / 0.5566 GB, free: 12.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/3.067, allocations: 0 / 0.5566 GB, free: 12.23 MB / 446.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) Environment - environmentSimulation: