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: translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001122/0.001122, allocations: 189.6 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04242/0.04242, allocations: 9.081 MB / 278.5 MB, free: 12.36 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.001246/0.001246, allocations: 67.91 kB / 337.5 MB, free: 25.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07234/0.07359, allocations: 48.17 MB / 385.7 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01607/0.08969, allocations: 16.98 MB / 402.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009673/0.0994, allocations: 11.09 MB / 413.8 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.09958, allocations: 0 / 413.8 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.1002, allocations: 247.6 kB / 414 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.88e-05/0.1003, allocations: 35.75 kB / 414 MB, free: 13.11 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01203/0.1123, allocations: 5.28 MB / 419.3 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.1125, allocations: 75.55 kB / 419.4 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.1125, allocations: 7.984 kB / 419.4 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.392e-05/0.1126, allocations: 39.81 kB / 419.4 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.782e-05/0.1127, allocations: 19.92 kB / 419.5 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.1127, allocations: 0 / 419.5 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.164/0.2767, allocations: 8.413 MB / 427.9 MB, free: 21.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.2767, allocations: 6.234 kB / 427.9 MB, free: 21.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.2768, allocations: 28.08 kB / 427.9 MB, free: 21.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007759/0.2845, allocations: 3.664 MB / 431.6 MB, free: 21.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2846, allocations: 1.375 kB / 431.6 MB, free: 21.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2846, allocations: 0 / 431.6 MB, free: 21.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.882e-06/0.2846, allocations: 1.844 kB / 431.6 MB, free: 21.45 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.001649/0.2862, allocations: 0.7777 MB / 432.4 MB, free: 20.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2863, allocations: 10.69 kB / 432.4 MB, free: 20.88 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.2863, allocations: 12.17 kB / 432.4 MB, free: 20.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.184e-05/0.2864, allocations: 172.6 kB / 432.5 MB, free: 20.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.2864, allocations: 1.188 kB / 432.5 MB, free: 20.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.2864, allocations: 4.312 kB / 432.5 MB, free: 20.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.2866, allocations: 54.31 kB / 432.6 MB, free: 20.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2866, allocations: 2.906 kB / 432.6 MB, free: 20.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.2866, allocations: 4.062 kB / 432.6 MB, free: 20.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2866, allocations: 2.359 kB / 432.6 MB, free: 20.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.982e-05/0.2867, allocations: 26.67 kB / 432.6 MB, free: 20.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.2868, allocations: 183.2 kB / 432.8 MB, free: 20.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.037e-05/0.2869, allocations: 54.5 kB / 432.9 MB, free: 20.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.2869, allocations: 42.05 kB / 432.9 MB, free: 20.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06292/0.3499, allocations: 41.39 MB / 474.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.3499, allocations: 34.77 kB / 474.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.3499, allocations: 0 / 474.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0002432/0.3502, allocations: 124.8 kB / 474.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.3502, allocations: 55.44 kB / 474.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/0.3503, allocations: 99.75 kB / 474.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3503, allocations: 25.7 kB / 474.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.3503, allocations: 84.08 kB / 474.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.3504, allocations: 46.52 kB / 474.8 MB, free: 14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.3504, allocations: 16.16 kB / 474.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3505, allocations: 325.9 kB / 475.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.3506, allocations: 24.73 kB / 475.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.175e-05/0.3506, allocations: 25.38 kB / 475.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/0.3507, allocations: 67.83 kB / 475.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3507, allocations: 2.906 kB / 475.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.559e-05/0.3508, allocations: 94.91 kB / 475.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3508, allocations: 11.36 kB / 475.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3508, allocations: 0 / 475.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3508, allocations: 0 / 475.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.3508, allocations: 0 / 475.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3508, allocations: 0 / 475.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.3509, allocations: 3.938 kB / 475.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3509, allocations: 7.938 kB / 475.3 MB, free: 13.58 MB / 350.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_ps.phase,state.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.401e-05/0.351, allocations: 107.8 kB / 475.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.351, allocations: 9.719 kB / 475.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.3511, allocations: 160.9 kB / 475.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3512, allocations: 5.234 kB / 475.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3512, allocations: 0 / 475.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.3512, allocations: 0 / 475.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.3513, allocations: 176.3 kB / 475.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3513, allocations: 3 kB / 475.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.3513, allocations: 3.344 kB / 475.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3513, allocations: 3.062 kB / 475.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.3513, allocations: 0 / 475.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3513, allocations: 0 / 475.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3513, allocations: 2.078 kB / 475.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.371e-05/0.3514, allocations: 95.41 kB / 475.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.3515, allocations: 81.09 kB / 476 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.3515, allocations: 7.562 kB / 476 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.3515, allocations: 0 / 476 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-06/0.3515, allocations: 3.094 kB / 476 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.3515, allocations: 0 / 476 MB, free: 12.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.933e-05/0.3516, allocations: 104.3 kB / 476.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3516, allocations: 0 / 476.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002782/0.3544, allocations: 0.8605 MB / 476.9 MB, free: 12.71 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: 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 (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.003316/0.3577, allocations: 1.363 MB / 478.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.3578, allocations: 46.64 kB / 478.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3578, allocations: 0 / 478.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.686e-05/0.3579, allocations: 19.56 kB / 478.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.3583, allocations: 59.12 kB / 478.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.3586, allocations: 182.3 kB / 478.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.3588, allocations: 0.6862 MB / 479.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.171e-05/0.3588, allocations: 4.172 kB / 479.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.192e-05/0.3589, allocations: 12.66 kB / 479.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3589, allocations: 0 / 479.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Templates: time 0.0298/0.3887, allocations: 24.08 MB / 0.4916 GB, free: 5.355 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1)