Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_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_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_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.0008659/0.0008659, allocations: 99.55 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.0009541/0.0009542, allocations: 177.3 kB / 15.94 MB, free: 228 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.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.03976/0.03976, allocations: 9.057 MB / 279.4 MB, free: 12.12 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.000479/0.0004792, allocations: 12 kB / 339.2 MB, free: 25.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07981/0.0803, allocations: 49.18 MB / 388.4 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.0147/0.09504, allocations: 14.19 MB / 402.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.1071, allocations: 9.51 MB / 412.1 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.471e-05/0.1072, allocations: 0 / 412.1 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008582/0.1081, allocations: 235.2 kB / 412.3 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.1082, allocations: 35.92 kB / 412.3 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01572/0.1239, allocations: 4.748 MB / 417.1 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1241, allocations: 59.89 kB / 417.1 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.1242, allocations: 288 / 417.1 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1243, allocations: 39.86 kB / 417.2 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.1244, allocations: 11.94 kB / 417.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.1244, allocations: 4 kB / 417.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02033/0.1447, allocations: 7.984 MB / 425.2 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.1448, allocations: 7.938 kB / 425.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.1449, allocations: 33.7 kB / 425.2 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004784/0.1497, allocations: 2.047 MB / 427.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1497, allocations: 0 / 427.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1497, allocations: 0 / 427.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.1497, allocations: 0 / 427.3 MB, free: 1.676 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001808/0.1515, allocations: 0.7722 MB / 428 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1516, allocations: 12.03 kB / 428.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.46e-05/0.1516, allocations: 42.56 kB / 428.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.566e-05/0.1517, allocations: 7.844 kB / 428.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.1518, allocations: 182.9 kB / 428.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1518, allocations: 0 / 428.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.1518, allocations: 0 / 428.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.152, allocations: 53.69 kB / 428.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.152, allocations: 0 / 428.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.152, allocations: 3.953 kB / 428.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.152, allocations: 4 kB / 428.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.108e-05/0.1521, allocations: 27.98 kB / 428.4 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.1523, allocations: 181.6 kB / 428.5 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.933e-05/0.1523, allocations: 54.5 kB / 428.6 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2035/0.3558, allocations: 40.71 MB / 469.3 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3559, allocations: 34.56 kB / 469.3 MB, free: 6.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 3.246e-06/0.3559, allocations: 0.9844 kB / 469.3 MB, free: 6.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.000271/0.3562, allocations: 290.5 kB / 469.6 MB, free: 6.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.3562, allocations: 53.56 kB / 469.7 MB, free: 6.156 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.829e-05/0.3563, allocations: 99.34 kB / 469.8 MB, free: 6.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.3563, allocations: 25.7 kB / 469.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.519e-05/0.3563, allocations: 84.38 kB / 469.9 MB, free: 5.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.3564, allocations: 48.09 kB / 469.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.3564, allocations: 0 / 469.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.3564, allocations: 314.7 kB / 470.2 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.3565, allocations: 27.73 kB / 470.3 MB, free: 5.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.3565, allocations: 21.89 kB / 470.3 MB, free: 5.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.3565, allocations: 25.97 kB / 470.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3565, allocations: 0.9375 kB / 470.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001009/0.3566, allocations: 108.9 kB / 470.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3567, allocations: 6.281 kB / 470.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3567, allocations: 0.5312 kB / 470.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3567, allocations: 0 / 470.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.3567, allocations: 2.812 kB / 470.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3567, allocations: 3.969 kB / 470.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.3567, allocations: 6.297 kB / 470.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3567, allocations: 0 / 470.4 MB, free: 5.477 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: 2 (state.phase,state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.95e-05/0.3568, allocations: 113.8 kB / 470.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.3568, allocations: 3.953 kB / 470.6 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.357, allocations: 170.7 kB / 470.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.357, allocations: 5.281 kB / 470.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.357, allocations: 0 / 470.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.357, allocations: 0 / 470.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.167e-05/0.3571, allocations: 169.5 kB / 470.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3571, allocations: 0 / 470.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3571, allocations: 0 / 470.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3571, allocations: 0 / 470.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.3571, allocations: 7.328 kB / 470.9 MB, free: 5.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3571, allocations: 3.984 kB / 470.9 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3571, allocations: 0 / 470.9 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.171e-05/0.3572, allocations: 92.95 kB / 471 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.3573, allocations: 96.09 kB / 471.1 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.3573, allocations: 0 / 471.1 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.3573, allocations: 8.109 kB / 471.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.3573, allocations: 1.219 kB / 471.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.3573, allocations: 1.5 kB / 471.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.008e-05/0.3574, allocations: 99.27 kB / 471.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3574, allocations: 0 / 471.2 MB, free: 4.727 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001858/0.3592, allocations: 0.8585 MB / 472.1 MB, free: 4.648 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: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.00336/0.3626, allocations: 1.882 MB / 473.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.192e-05/0.3627, allocations: 46.45 kB / 474 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3627, allocations: 0 / 474 MB, free: 3.633 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/0.3627, allocations: 19.25 kB / 474 MB, free: 3.625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.363, allocations: 35.86 kB / 474 MB, free: 3.605 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.364, allocations: 0.5715 MB / 474.6 MB, free: 3.199 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.3642, allocations: 0.6886 MB / 475.3 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.206e-05/0.3642, allocations: 4 kB / 475.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.3643, allocations: 15.41 kB / 475.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3643, allocations: 0 / 475.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04139/0.4056, allocations: 25 MB / 0.4886 GB, free: 10.04 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/0.4058, allocations: 192.3 kB / 0.4888 GB, free: 9.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/2.901, allocations: 3.938 kB / 0.4888 GB, free: 9.789 MB / 350.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) Environment - environmentSimulation: