Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.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.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",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.0009119/0.0009119, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008776/0.0008776, allocations: 177.3 kB / 15.95 MB, free: 216 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.31/1.31, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04186/0.04186, allocations: 9.054 MB / 279.4 MB, free: 12.27 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.0005053/0.0005053, allocations: 16 kB / 339.2 MB, free: 25.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08103/0.08155, allocations: 49.18 MB / 388.4 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01418/0.09578, allocations: 14.12 MB / 402.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008484/0.1043, allocations: 9.027 MB / 411.5 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.971e-05/0.1044, allocations: 0 / 411.5 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.1049, allocations: 235.2 kB / 411.8 MB, free: 1.246 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.706e-05/0.105, allocations: 19.95 kB / 411.8 MB, free: 1.227 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01096/0.116, allocations: 4.67 MB / 416.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.952e-05/0.1161, allocations: 39.94 kB / 416.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.1161, allocations: 4.281 kB / 416.5 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.1162, allocations: 35.84 kB / 416.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.883e-05/0.1163, allocations: 11.98 kB / 416.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.1163, allocations: 0 / 416.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0132/0.1295, allocations: 8.035 MB / 424.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.1295, allocations: 0 / 424.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.1296, allocations: 33.7 kB / 424.6 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003975/0.1336, allocations: 2.008 MB / 426.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1336, allocations: 0 / 426.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1336, allocations: 0 / 426.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1336, allocations: 0 / 426.6 MB, free: 2.375 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001151/0.1348, allocations: 0.7449 MB / 427.4 MB, free: 1.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1348, allocations: 8.031 kB / 427.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.1349, allocations: 46.55 kB / 427.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.116e-05/0.1349, allocations: 7.844 kB / 427.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.135, allocations: 163 kB / 427.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.135, allocations: 4 kB / 427.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.135, allocations: 0 / 427.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.03e-05/0.1351, allocations: 37.69 kB / 427.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-06/0.1351, allocations: 0 / 427.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.1351, allocations: 11.95 kB / 427.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1352, allocations: 0 / 427.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.1352, allocations: 8 kB / 427.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.1353, allocations: 161.7 kB / 427.8 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.24e-05/0.1354, allocations: 38.5 kB / 427.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1866/0.322, allocations: 32.46 MB / 460.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3221, allocations: 32 kB / 460.3 MB, free: 15.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.013e-06/0.3221, allocations: 2.375 kB / 460.3 MB, free: 15.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002152/0.3223, allocations: 160 kB / 460.5 MB, free: 15.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.3223, allocations: 55.34 kB / 460.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.621e-05/0.3224, allocations: 92.92 kB / 460.6 MB, free: 15.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.3224, allocations: 27.7 kB / 460.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.422e-05/0.3224, allocations: 83.86 kB / 460.7 MB, free: 15.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.3225, allocations: 25.97 kB / 460.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.3225, allocations: 0 / 460.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.3225, allocations: 312.1 kB / 461.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.3225, allocations: 11.78 kB / 461.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.3226, allocations: 15.98 kB / 461.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.516e-05/0.3226, allocations: 16.11 kB / 461.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3226, allocations: 0 / 461.1 MB, free: 14.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.539e-05/0.3227, allocations: 63.62 kB / 461.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3227, allocations: 6.719 kB / 461.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3227, allocations: 5.188 kB / 461.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3227, allocations: 3.953 kB / 461.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.3227, allocations: 0 / 461.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3227, allocations: 1.375 kB / 461.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.981e-05/0.3228, allocations: 0 / 461.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3228, allocations: 1.719 kB / 461.2 MB, free: 14.67 MB / 318.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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 4.857e-05/0.3228, allocations: 114.2 kB / 461.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.3228, allocations: 5.312 kB / 461.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.323, allocations: 172.6 kB / 461.5 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.386e-05/0.323, allocations: 183.2 kB / 461.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.752e-05/0.323, allocations: 188.2 kB / 461.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/0.3231, allocations: 182.3 kB / 462 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.3232, allocations: 407.4 kB / 462.4 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.3232, allocations: 110.9 kB / 462.5 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.562e-05/0.3233, allocations: 105.4 kB / 462.6 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.632e-05/0.3233, allocations: 181.1 kB / 462.8 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.3233, allocations: 183.8 kB / 463 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.303e-05/0.3234, allocations: 177 kB / 463.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-05/0.3234, allocations: 185.2 kB / 463.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.635e-05/0.3235, allocations: 311.9 kB / 463.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.3235, allocations: 192.8 kB / 463.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.3236, allocations: 184.6 kB / 464 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.3236, allocations: 107.9 kB / 464.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.3237, allocations: 180.9 kB / 464.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.3237, allocations: 105.9 kB / 464.4 MB, free: 11.33 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.042e-05/0.3237, allocations: 107.1 kB / 464.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3237, allocations: 0 / 464.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001971/0.3257, allocations: 0.8559 MB / 465.4 MB, free: 11.2 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002995/0.3287, allocations: 2.067 MB / 467.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.208e-05/0.3288, allocations: 16.75 kB / 467.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3288, allocations: 1.125 kB / 467.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.3288, allocations: 0 / 467.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.3291, allocations: 0.5307 MB / 468 MB, free: 9.488 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008523/0.3299, allocations: 0.6006 MB / 468.6 MB, free: 9.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.798e-05/0.33, allocations: 0.6787 MB / 469.2 MB, free: 8.344 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.215e-05/0.33, allocations: 5.406 kB / 469.3 MB, free: 8.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.3301, allocations: 10.91 kB / 469.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3301, allocations: 0 / 469.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0441/0.3742, allocations: 24.29 MB / 493.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.3744, allocations: 185.2 kB / 493.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.77, allocations: 0 / 493.7 MB, free: 1.68 MB / 334.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) Environment - environmentSimulation: