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: translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009298/0.0009298, allocations: 99.94 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.0009914/0.0009915, 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.298/1.298, 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.04543/0.04543, allocations: 9.056 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.0005118/0.0005119, allocations: 16 kB / 339.1 MB, free: 26.03 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07538/0.0759, allocations: 49.19 MB / 388.3 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01596/0.09191, allocations: 14.13 MB / 402.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008958/0.1009, allocations: 9.011 MB / 411.4 MB, free: 1.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.101, allocations: 0 / 411.4 MB, free: 1.586 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006049/0.1016, allocations: 247.2 kB / 411.7 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.163e-05/0.1017, allocations: 19.95 kB / 411.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01113/0.1128, allocations: 4.677 MB / 416.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.072e-05/0.1129, allocations: 39.92 kB / 416.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.1129, allocations: 3.938 kB / 416.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.261e-05/0.113, allocations: 35.91 kB / 416.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.019e-05/0.1131, allocations: 11.94 kB / 416.4 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.1131, allocations: 4 kB / 416.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/0.1275, allocations: 8.031 MB / 424.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.1275, allocations: 8 kB / 424.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.1276, allocations: 29.7 kB / 424.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004373/0.1319, allocations: 2.004 MB / 426.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.132, allocations: 0 / 426.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.132, allocations: 0 / 426.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.132, allocations: 0 / 426.5 MB, free: 2.461 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.001427/0.1334, allocations: 0.7449 MB / 427.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1335, allocations: 8.031 kB / 427.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.915e-05/0.1335, allocations: 4 kB / 427.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1336, allocations: 174.9 kB / 427.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1336, allocations: 7.938 kB / 427.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.1337, allocations: 0 / 427.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.98e-05/0.1337, allocations: 37.7 kB / 427.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.1338, allocations: 0 / 427.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1338, allocations: 3.953 kB / 427.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1338, allocations: 0 / 427.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.279e-05/0.1338, allocations: 15.98 kB / 427.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.134, allocations: 161.7 kB / 427.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.72e-05/0.134, allocations: 34.52 kB / 427.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1946/0.3286, allocations: 32.46 MB / 460.2 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3287, allocations: 30.56 kB / 460.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.835e-06/0.3287, allocations: 0 / 460.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002333/0.3289, allocations: 163.9 kB / 460.4 MB, free: 15.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.329, allocations: 51.95 kB / 460.4 MB, free: 15.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.661e-05/0.329, allocations: 98.19 kB / 460.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.3291, allocations: 27.36 kB / 460.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.746e-05/0.3291, allocations: 81.7 kB / 460.6 MB, free: 15.06 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.3291, allocations: 23.2 kB / 460.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.3291, allocations: 2.875 kB / 460.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.3292, allocations: 318.9 kB / 460.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.369e-05/0.3292, allocations: 7.969 kB / 461 MB, free: 14.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.3292, allocations: 10.19 kB / 461 MB, free: 14.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.69e-05/0.3293, allocations: 19.02 kB / 461 MB, free: 14.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3293, allocations: 0 / 461 MB, free: 14.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.734e-05/0.3294, allocations: 63.3 kB / 461 MB, free: 14.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3294, allocations: 10.38 kB / 461.1 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3294, allocations: 0 / 461.1 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3294, allocations: 6.891 kB / 461.1 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3294, allocations: 0 / 461.1 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3294, allocations: 0 / 461.1 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.3295, allocations: 1.125 kB / 461.1 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3295, allocations: 4.938 kB / 461.1 MB, free: 14.69 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 5.813e-05/0.3296, allocations: 115.6 kB / 461.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.3296, allocations: 5 kB / 461.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.3297, allocations: 172.9 kB / 461.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.3297, allocations: 177.8 kB / 461.5 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.683e-05/0.3298, allocations: 190.7 kB / 461.7 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.738e-05/0.3298, allocations: 181 kB / 461.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.3299, allocations: 415.8 kB / 462.3 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.33, allocations: 106.3 kB / 462.4 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.33, allocations: 102.6 kB / 462.5 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.313e-05/0.33, allocations: 179.8 kB / 462.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.33, allocations: 187 kB / 462.9 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.741e-05/0.3301, allocations: 183.2 kB / 463 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.79e-05/0.3301, allocations: 181.6 kB / 463.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.553e-05/0.3302, allocations: 306.3 kB / 463.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.3303, allocations: 195.5 kB / 463.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.517e-05/0.3303, allocations: 183.5 kB / 463.9 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.3304, allocations: 115.2 kB / 464 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.3304, allocations: 177.5 kB / 464.2 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.3305, allocations: 102.1 kB / 464.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.369e-05/0.3305, allocations: 108.8 kB / 464.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3305, allocations: 0 / 464.4 MB, free: 11.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002008/0.3325, allocations: 0.8563 MB / 465.2 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.003736/0.3363, allocations: 1.419 MB / 466.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.839e-05/0.3364, allocations: 16.25 kB / 466.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3364, allocations: 1.625 kB / 466.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.3364, allocations: 3.938 kB / 466.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.3367, allocations: 0.527 MB / 467.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.3369, allocations: 218.7 kB / 467.4 MB, free: 9.938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.337, allocations: 0.6828 MB / 468.1 MB, free: 9.234 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.414e-05/0.3371, allocations: 0 / 468.1 MB, free: 9.234 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.3371, allocations: 14.94 kB / 468.1 MB, free: 9.227 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3371, allocations: 0 / 468.1 MB, free: 9.227 MB / 318.1 MB Notification: Performance of Templates: time 0.0307/0.3678, allocations: 22.94 MB / 491 MB, free: 4.316 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile Environment - environmentSimulation: (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) Environment - environmentSimulation: