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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00093/0.00093, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000931/0.000931, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.973/0.973, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04454/0.04454, allocations: 7.522 MB / 267.5 MB, free: 5.992 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 338.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.679e-05, allocations: 2.312 kB / 338.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01459/0.01461, allocations: 17 MB / 355.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004395/0.019, allocations: 5.814 MB / 361.4 MB, free: 5.156 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.01903, allocations: 0 / 361.4 MB, free: 5.156 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005228/0.01956, allocations: 243.7 kB / 361.7 MB, free: 4.918 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.484e-05/0.01959, allocations: 23.84 kB / 361.7 MB, free: 4.895 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007084/0.02667, allocations: 4.29 MB / 366 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.74e-05/0.02676, allocations: 51.67 kB / 366 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.0268, allocations: 7.984 kB / 366 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.02687, allocations: 39.8 kB / 366.1 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.126e-05/0.0269, allocations: 8 kB / 366.1 MB, free: 496 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.02691, allocations: 3.938 kB / 366.1 MB, free: 492 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006132/0.03304, allocations: 4.693 MB / 370.8 MB, free: 11.78 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.03306, allocations: 3.938 kB / 370.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.794e-05/0.03311, allocations: 8 kB / 370.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00414/0.03725, allocations: 2.723 MB / 373.5 MB, free: 9.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.03726, allocations: 0 / 373.5 MB, free: 9.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.03726, allocations: 3.984 kB / 373.5 MB, free: 9.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.03726, allocations: 0 / 373.5 MB, free: 9.031 MB / 346.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.0009026/0.03817, allocations: 0.6535 MB / 374.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.03821, allocations: 12.62 kB / 374.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.03825, allocations: 3.938 kB / 374.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.131e-05/0.03833, allocations: 112.1 kB / 374.3 MB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.03834, allocations: 0 / 374.3 MB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.03835, allocations: 3.938 kB / 374.3 MB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.831e-05/0.03844, allocations: 33.7 kB / 374.3 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.03845, allocations: 0 / 374.3 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.03846, allocations: 0 / 374.3 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.03847, allocations: 11.97 kB / 374.4 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.426e-05/0.03849, allocations: 7.938 kB / 374.4 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.03861, allocations: 120.6 kB / 374.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.849e-05/0.03865, allocations: 31.06 kB / 374.5 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.03867, allocations: 15.81 kB / 374.5 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007042/0.04571, allocations: 2.856 MB / 377.4 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.04574, allocations: 33.39 kB / 377.4 MB, free: 5.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.04574, allocations: 0 / 377.4 MB, free: 5.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001421/0.04588, allocations: 57.67 kB / 377.5 MB, free: 4.945 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.04591, allocations: 55.34 kB / 377.5 MB, free: 4.879 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.04598, allocations: 157.9 kB / 377.7 MB, free: 4.707 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.04599, allocations: 25.7 kB / 377.7 MB, free: 4.676 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.04603, allocations: 130.8 kB / 377.8 MB, free: 4.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.04607, allocations: 27.94 kB / 377.9 MB, free: 4.516 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.04609, allocations: 23.38 kB / 377.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.04621, allocations: 0.4922 MB / 378.4 MB, free: 3.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.04622, allocations: 4 kB / 378.4 MB, free: 3.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.04623, allocations: 4 kB / 378.4 MB, free: 3.973 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.148e-05/0.04626, allocations: 23.67 kB / 378.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.04626, allocations: 0 / 378.4 MB, free: 3.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.457e-05/0.04632, allocations: 53.95 kB / 378.5 MB, free: 3.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.04633, allocations: 8 kB / 378.5 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.04634, allocations: 0 / 378.5 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.04635, allocations: 0 / 378.5 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-06/0.04636, allocations: 8 kB / 378.5 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.04636, allocations: 3.938 kB / 378.5 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.04638, allocations: 3.938 kB / 378.5 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.04638, allocations: 0 / 378.5 MB, free: 3.863 MB / 346.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 6.425e-05/0.04644, allocations: 160.6 kB / 378.6 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-06/0.04645, allocations: 0 / 378.6 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.04658, allocations: 238.7 kB / 378.9 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.744e-05/0.04664, allocations: 276 kB / 379.1 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.08e-05/0.0467, allocations: 272 kB / 379.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.709e-05/0.04676, allocations: 264.1 kB / 379.7 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.04693, allocations: 0.4999 MB / 380.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.062e-05/0.04697, allocations: 152.9 kB / 380.3 MB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.047, allocations: 152.8 kB / 380.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.837e-05/0.04706, allocations: 264.1 kB / 380.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.04712, allocations: 268.1 kB / 381 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.579e-05/0.04719, allocations: 272 kB / 381.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.729e-05/0.04724, allocations: 268.1 kB / 381.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.04738, allocations: 447.9 kB / 381.9 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.04742, allocations: 152.8 kB / 382.1 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.0475, allocations: 276 kB / 382.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.04771, allocations: 144.9 kB / 382.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.04777, allocations: 276 kB / 382.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.0478, allocations: 152.8 kB / 382.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.686e-05/0.04785, allocations: 143.1 kB / 383.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04785, allocations: 0 / 383.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008994/0.04875, allocations: 0.6075 MB / 383.7 MB, free: 14.45 MB / 362.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.001721/0.05047, allocations: 1.172 MB / 384.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.201e-05/0.05054, allocations: 15.69 kB / 384.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.05054, allocations: 0 / 384.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.05054, allocations: 0 / 384.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.05093, allocations: 0.7257 MB / 385.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.05149, allocations: 265.4 kB / 385.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.388e-05/0.05152, allocations: 59.28 kB / 385.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.182e-05/0.05154, allocations: 7.984 kB / 385.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.05156, allocations: 8.5 kB / 385.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.05156, allocations: 4 kB / 385.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of Templates: time 0.01918/0.07074, allocations: 19.8 MB / 405.7 MB, free: 8.344 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile [Timeout 660] (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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3373315520584583]