Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001059/0.001059, allocations: 190.8 kB / 16.13 MB, free: 6.699 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.256/1.256, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04307/0.04308, allocations: 9.088 MB / 278.4 MB, free: 12.41 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.001213/0.001213, allocations: 63.91 kB / 337.3 MB, free: 25.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06966/0.07088, allocations: 48.17 MB / 385.5 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01634/0.08726, allocations: 17.09 MB / 402.6 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008378/0.09568, allocations: 10.03 MB / 412.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.09575, allocations: 0 / 412.6 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.09635, allocations: 235.6 kB / 412.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.09643, allocations: 27.84 kB / 412.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009786/0.1062, allocations: 4.25 MB / 417.1 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.285e-05/0.1063, allocations: 47.73 kB / 417.2 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.1064, allocations: 0 / 417.2 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.846e-05/0.1065, allocations: 27.86 kB / 417.2 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.972e-05/0.1065, allocations: 11.94 kB / 417.2 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.892e-06/0.1065, allocations: 0 / 417.2 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/0.1167, allocations: 7.152 MB / 424.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.1167, allocations: 7.984 kB / 424.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.1168, allocations: 15.88 kB / 424.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1451/0.2618, allocations: 3.166 MB / 427.5 MB, free: 24.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2619, allocations: 2.438 kB / 427.6 MB, free: 24.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2619, allocations: 3.281 kB / 427.6 MB, free: 24.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2619, allocations: 0 / 427.6 MB, free: 24.29 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.001371/0.2633, allocations: 0.6883 MB / 428.2 MB, free: 23.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2633, allocations: 12.16 kB / 428.3 MB, free: 23.8 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.2634, allocations: 3.016 kB / 428.3 MB, free: 23.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.081e-05/0.2635, allocations: 171.1 kB / 428.4 MB, free: 23.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.2635, allocations: 1.781 kB / 428.4 MB, free: 23.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.2635, allocations: 3.25 kB / 428.4 MB, free: 23.6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.909e-05/0.2636, allocations: 42.31 kB / 428.5 MB, free: 23.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2636, allocations: 0 / 428.5 MB, free: 23.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.2636, allocations: 1.469 kB / 428.5 MB, free: 23.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2636, allocations: 1.859 kB / 428.5 MB, free: 23.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.2637, allocations: 17.06 kB / 428.5 MB, free: 23.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.2638, allocations: 160 kB / 428.6 MB, free: 23.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.685e-05/0.2638, allocations: 30.67 kB / 428.7 MB, free: 23.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.2639, allocations: 24.34 kB / 428.7 MB, free: 23.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02395/0.2878, allocations: 14.01 MB / 442.7 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.2879, allocations: 30.56 kB / 442.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.775e-06/0.2879, allocations: 1.375 kB / 442.7 MB, free: 11.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000182/0.2881, allocations: 77.44 kB / 442.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.2881, allocations: 56.25 kB / 442.9 MB, free: 11.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.668e-05/0.2882, allocations: 94.77 kB / 443 MB, free: 10.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/0.2882, allocations: 30.42 kB / 443 MB, free: 10.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.268e-05/0.2882, allocations: 80.14 kB / 443.1 MB, free: 10.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.2882, allocations: 22.64 kB / 443.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.2883, allocations: 16.81 kB / 443.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.653e-05/0.2883, allocations: 316.3 kB / 443.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.2883, allocations: 17.48 kB / 443.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.538e-05/0.2884, allocations: 9.438 kB / 443.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.211e-05/0.2884, allocations: 33.7 kB / 443.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2884, allocations: 0 / 443.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.171e-05/0.2885, allocations: 72.3 kB / 443.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2885, allocations: 4.188 kB / 443.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2885, allocations: 1.406 kB / 443.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2885, allocations: 0 / 443.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.2885, allocations: 3.562 kB / 443.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2886, allocations: 5.281 kB / 443.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.2886, allocations: 4.719 kB / 443.6 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.2886, allocations: 1.312 kB / 443.6 MB, free: 10.47 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.476e-05/0.2886, allocations: 111.1 kB / 443.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.2887, allocations: 8.219 kB / 443.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-05/0.2888, allocations: 168.3 kB / 443.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.2888, allocations: 183.6 kB / 444 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.2888, allocations: 180.1 kB / 444.2 MB, free: 9.824 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.2888, allocations: 179.3 kB / 444.4 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.289, allocations: 417.8 kB / 444.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.289, allocations: 104.9 kB / 444.9 MB, free: 9.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.289, allocations: 105.3 kB / 445 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.01e-05/0.2891, allocations: 186.5 kB / 445.2 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.2891, allocations: 179.3 kB / 445.4 MB, free: 8.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.921e-05/0.2891, allocations: 180.1 kB / 445.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-05/0.2891, allocations: 182 kB / 445.7 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.215e-05/0.2892, allocations: 318.3 kB / 446 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.2892, allocations: 182.4 kB / 446.2 MB, free: 7.746 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.2893, allocations: 187.1 kB / 446.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.609e-05/0.2893, allocations: 101.9 kB / 446.5 MB, free: 7.457 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.2894, allocations: 180.2 kB / 446.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.2894, allocations: 105 kB / 446.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.656e-05/0.2894, allocations: 104.5 kB / 446.9 MB, free: 7.094 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2894, allocations: 3.656 kB / 446.9 MB, free: 7.094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002071/0.2915, allocations: 0.7371 MB / 447.6 MB, free: 6.965 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 (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.003593/0.2951, allocations: 1.258 MB / 448.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.2952, allocations: 29.3 kB / 448.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2952, allocations: 2.469 kB / 448.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/0.2953, allocations: 0 / 448.9 MB, free: 6.617 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.2957, allocations: 0.5553 MB / 449.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.296, allocations: 206.8 kB / 449.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.751e-05/0.296, allocations: 0.6759 MB / 450.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.533e-05/0.2961, allocations: 12.47 kB / 450.3 MB, free: 5.203 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.2961, allocations: 11.56 kB / 450.3 MB, free: 5.195 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2961, allocations: 0 / 450.3 MB, free: 5.195 MB / 318.1 MB Notification: Performance of Templates: time 0.02655/0.3227, allocations: 21.77 MB / 472.1 MB, free: 9.352 MB / 334.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1)