Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001203/0.001203, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04752/0.04752, allocations: 9.096 MB / 25.83 MB, free: 3.41 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 233.2 MB, free: 14.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008663/0.000866, allocations: 99.47 kB / 282.1 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 52.16 kB / 341.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2361, allocations: 48.17 MB / 389.2 MB, free: 38.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01557/0.2517, allocations: 17.14 MB / 406.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004174/0.2559, allocations: 5.979 MB / 412.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.256, allocations: 4 kB / 412.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006568/0.2566, allocations: 242 kB / 412.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.377e-05/0.2567, allocations: 23.84 kB / 412.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008094/0.2648, allocations: 3.498 MB / 416.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.238e-05/0.2649, allocations: 47.75 kB / 416.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.265, allocations: 7.984 kB / 416.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.899e-05/0.265, allocations: 31.73 kB / 416.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.815e-05/0.2651, allocations: 11.94 kB / 416.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.2651, allocations: 0 / 416.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009801/0.2749, allocations: 6.307 MB / 422.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.2749, allocations: 0 / 422.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.275, allocations: 15.94 kB / 422.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005753/0.2808, allocations: 2.724 MB / 425.3 MB, free: 2.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2808, allocations: 0 / 425.3 MB, free: 2.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2808, allocations: 0 / 425.3 MB, free: 2.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.2808, allocations: 0 / 425.3 MB, free: 2.41 MB / 298.7 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.0011/0.2819, allocations: 0.6161 MB / 425.9 MB, free: 1.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.282, allocations: 8.031 kB / 425.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.282, allocations: 7.938 kB / 425.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.093e-05/0.2821, allocations: 170.9 kB / 426.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2821, allocations: 0 / 426.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.2821, allocations: 0 / 426.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.562e-05/0.2822, allocations: 41.7 kB / 426.1 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2822, allocations: 3.984 kB / 426.1 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.2823, allocations: 3.938 kB / 426.1 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2823, allocations: 0 / 426.1 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.2823, allocations: 12 kB / 426.1 MB, free: 1.457 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.2824, allocations: 169.7 kB / 426.3 MB, free: 1.242 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.023e-05/0.2825, allocations: 30.52 kB / 426.3 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.2825, allocations: 21.03 kB / 426.3 MB, free: 1.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01806/0.3006, allocations: 9.956 MB / 436.3 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.3007, allocations: 34.5 kB / 436.3 MB, free: 5.465 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.915e-06/0.3007, allocations: 0 / 436.3 MB, free: 5.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002184/0.3009, allocations: 89.5 kB / 436.4 MB, free: 5.371 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.301, allocations: 51.41 kB / 436.5 MB, free: 5.309 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.3011, allocations: 97.84 kB / 436.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3011, allocations: 25.7 kB / 436.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.3011, allocations: 88.23 kB / 436.7 MB, free: 5.082 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.3012, allocations: 19.66 kB / 436.7 MB, free: 5.062 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.3012, allocations: 13.72 kB / 436.7 MB, free: 5.043 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3014, allocations: 326.8 kB / 437 MB, free: 4.715 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.3014, allocations: 8 kB / 437 MB, free: 4.707 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.3014, allocations: 8 kB / 437 MB, free: 4.699 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/0.3015, allocations: 36.84 kB / 437.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3015, allocations: 0 / 437.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.284e-05/0.3016, allocations: 61.62 kB / 437.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3016, allocations: 12 kB / 437.1 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3016, allocations: 0 / 437.1 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3016, allocations: 3.938 kB / 437.1 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.3016, allocations: 0 / 437.1 MB, free: 4.578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.3017, allocations: 4 kB / 437.2 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.3017, allocations: 0 / 437.2 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3017, allocations: 0 / 437.2 MB, free: 4.574 MB / 314.7 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 8.376e-05/0.3018, allocations: 113.8 kB / 437.3 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.3018, allocations: 11.84 kB / 437.3 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.3019, allocations: 170.8 kB / 437.4 MB, free: 4.242 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/0.302, allocations: 180.2 kB / 437.6 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.034e-05/0.3021, allocations: 184.2 kB / 437.8 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.756e-05/0.3021, allocations: 180.2 kB / 438 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.3024, allocations: 409.2 kB / 438.4 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.438e-05/0.3024, allocations: 101 kB / 438.5 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.657e-05/0.3025, allocations: 108.9 kB / 438.6 MB, free: 3.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.004e-05/0.3026, allocations: 184.2 kB / 438.8 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.3026, allocations: 188.3 kB / 438.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.466e-05/0.3027, allocations: 176.3 kB / 439.1 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.328e-05/0.3028, allocations: 192.2 kB / 439.3 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.3032, allocations: 0.8492 MB / 440.2 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.38e-05/0.3033, allocations: 190.1 kB / 440.3 MB, free: 1.133 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.3034, allocations: 188.1 kB / 440.5 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.3035, allocations: 105 kB / 440.6 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.3036, allocations: 184.2 kB / 440.8 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.3036, allocations: 105 kB / 440.9 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.25e-05/0.3037, allocations: 99.27 kB / 441 MB, free: 448 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3037, allocations: 0 / 441 MB, free: 448 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0018/0.3055, allocations: 0.609 MB / 441.6 MB, free: 15.83 MB / 330.7 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.003844/0.3094, allocations: 1.037 MB / 442.6 MB, free: 14.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.3095, allocations: 19.98 kB / 442.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3095, allocations: 0 / 442.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.422e-06/0.3095, allocations: 4 kB / 442.7 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.3102, allocations: 0.5459 MB / 443.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.3105, allocations: 204.8 kB / 443.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3108, allocations: 0.6809 MB / 444.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.646e-05/0.3109, allocations: 0 / 444.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.3109, allocations: 11.44 kB / 444.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3109, allocations: 0 / 444.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of Templates: time 0.03064/0.3415, allocations: 19.54 MB / 463.7 MB, free: 9.703 MB / 346.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1)