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.0009754/0.0009757, 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.001242/0.001242, allocations: 192.6 kB / 16.13 MB, free: 6.656 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.252/1.252, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04357/0.04357, allocations: 9.094 MB / 278.4 MB, free: 12.38 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.001279/0.001279, allocations: 63.91 kB / 337.3 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06781/0.0691, allocations: 48.17 MB / 385.5 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01718/0.08631, allocations: 17.14 MB / 402.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00909/0.09544, allocations: 10.76 MB / 413.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.09551, allocations: 4 kB / 413.4 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.09612, allocations: 235.7 kB / 413.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.0962, allocations: 23.84 kB / 413.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01151/0.1077, allocations: 4.76 MB / 418.4 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.294e-05/0.1078, allocations: 55.73 kB / 418.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.1079, allocations: 0 / 418.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.108, allocations: 35.78 kB / 418.5 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.677e-05/0.108, allocations: 12 kB / 418.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.108, allocations: 0 / 418.5 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/0.1197, allocations: 7.998 MB / 426.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.1197, allocations: 7.922 kB / 426.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.1198, allocations: 11.94 kB / 426.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1478/0.2676, allocations: 3.492 MB / 430 MB, free: 21.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2677, allocations: 0 / 430 MB, free: 21.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2677, allocations: 6.781 kB / 430 MB, free: 21.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.2677, allocations: 1.094 kB / 430 MB, free: 21.38 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.002106/0.2698, allocations: 0.7479 MB / 430.8 MB, free: 20.81 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2698, allocations: 8.688 kB / 430.8 MB, free: 20.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.2699, allocations: 3.969 kB / 430.8 MB, free: 20.81 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.768e-05/0.27, allocations: 167.5 kB / 431 MB, free: 20.61 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.27, allocations: 1.438 kB / 431 MB, free: 20.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.27, allocations: 2.75 kB / 431 MB, free: 20.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.432e-05/0.2701, allocations: 44.27 kB / 431 MB, free: 20.58 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.2701, allocations: 0.6875 kB / 431 MB, free: 20.58 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.2701, allocations: 0 / 431 MB, free: 20.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2701, allocations: 3.469 kB / 431 MB, free: 20.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.2702, allocations: 15.47 kB / 431 MB, free: 20.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.2703, allocations: 166.2 kB / 431.2 MB, free: 20.39 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.621e-05/0.2703, allocations: 38.84 kB / 431.2 MB, free: 20.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.243e-05/0.2704, allocations: 19.52 kB / 431.2 MB, free: 20.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05334/0.3237, allocations: 33.03 MB / 464.3 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.3238, allocations: 37.25 kB / 464.3 MB, free: 6.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/0.3238, allocations: 0 / 464.3 MB, free: 6.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001918/0.324, allocations: 77.62 kB / 464.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.324, allocations: 52.56 kB / 464.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.3241, allocations: 92.33 kB / 464.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.3241, allocations: 25.7 kB / 464.6 MB, free: 6.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.3242, allocations: 81.58 kB / 464.6 MB, free: 6.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.3242, allocations: 29.91 kB / 464.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.3242, allocations: 12.56 kB / 464.7 MB, free: 6.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.67e-05/0.3243, allocations: 327.9 kB / 465 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.3244, allocations: 8.094 kB / 465 MB, free: 6.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.3244, allocations: 11.2 kB / 465 MB, free: 6.125 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.3244, allocations: 34.69 kB / 465 MB, free: 6.117 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3244, allocations: 1.375 kB / 465 MB, free: 6.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.929e-05/0.3245, allocations: 67.58 kB / 465.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3246, allocations: 5.875 kB / 465.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3246, allocations: 0 / 465.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3246, allocations: 0 / 465.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.3246, allocations: 5.594 kB / 465.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.3246, allocations: 7.578 kB / 465.1 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.3246, allocations: 3.938 kB / 465.1 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3247, allocations: 4.172 kB / 465.1 MB, free: 6.074 MB / 334.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 6.84e-05/0.3247, allocations: 111.8 kB / 465.3 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.3248, allocations: 0 / 465.3 MB, free: 5.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.3249, allocations: 174.3 kB / 465.4 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.774e-05/0.325, allocations: 184 kB / 465.6 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002088/0.3252, allocations: 179.2 kB / 465.8 MB, free: 21.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.715e-05/0.3252, allocations: 182.6 kB / 466 MB, free: 21.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.3254, allocations: 420.1 kB / 466.4 MB, free: 20.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.854e-05/0.3255, allocations: 102.8 kB / 466.5 MB, free: 20.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.3255, allocations: 104 kB / 466.6 MB, free: 20.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-05/0.3256, allocations: 181.9 kB / 466.7 MB, free: 20.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.305e-05/0.3256, allocations: 184.6 kB / 466.9 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.885e-05/0.3257, allocations: 182.6 kB / 467.1 MB, free: 20.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.304e-05/0.3258, allocations: 180.6 kB / 467.3 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.3259, allocations: 314.3 kB / 467.6 MB, free: 19.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.326, allocations: 184.7 kB / 467.8 MB, free: 19.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/0.3261, allocations: 180.2 kB / 467.9 MB, free: 19.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.3261, allocations: 104.9 kB / 468 MB, free: 19.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.3262, allocations: 179.1 kB / 468.2 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.3263, allocations: 113.8 kB / 468.3 MB, free: 18.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.868e-05/0.3263, allocations: 100.3 kB / 468.4 MB, free: 18.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3263, allocations: 3.656 kB / 468.4 MB, free: 18.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00303/0.3294, allocations: 0.8617 MB / 469.3 MB, free: 18.54 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: 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.004828/0.3342, allocations: 1.419 MB / 470.7 MB, free: 18.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.3343, allocations: 21.3 kB / 470.7 MB, free: 18.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3343, allocations: 4.062 kB / 470.7 MB, free: 18.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.3344, allocations: 0 / 470.7 MB, free: 18.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.3349, allocations: 0.5459 MB / 471.3 MB, free: 17.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.3352, allocations: 214.7 kB / 471.5 MB, free: 17.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.3354, allocations: 0.6768 MB / 472.2 MB, free: 16.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.307e-05/0.3355, allocations: 0 / 472.2 MB, free: 16.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.3355, allocations: 13.5 kB / 472.2 MB, free: 16.75 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3355, allocations: 4 kB / 472.2 MB, free: 16.75 MB / 350.1 MB Notification: Performance of Templates: time 0.0301/0.3656, allocations: 23.43 MB / 495.6 MB, free: 13.45 MB / 366.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile (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)