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.000864/0.000864, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.000969/0.000969, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9777/0.9777, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.03133/0.03133, allocations: 7.526 MB / 268.6 MB, free: 5.809 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 2.564e-06/2.564e-06, allocations: 0 / 339.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.618e-05, allocations: 2.312 kB / 339.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01637/0.01639, allocations: 16.73 MB / 356.6 MB, free: 9.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004371/0.02076, allocations: 5.713 MB / 362.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.02079, allocations: 0 / 362.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004341/0.02123, allocations: 231.8 kB / 362.5 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.751e-05/0.02126, allocations: 35.77 kB / 362.6 MB, free: 3.938 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006025/0.02728, allocations: 4.286 MB / 366.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.02735, allocations: 63.67 kB / 366.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.02739, allocations: 0 / 366.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.921e-05/0.02746, allocations: 43.78 kB / 367 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.814e-05/0.02749, allocations: 8 kB / 367 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.0275, allocations: 0 / 367 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004739/0.03224, allocations: 4.704 MB / 371.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.03225, allocations: 0 / 371.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.03227, allocations: 11.94 kB / 371.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.03493, allocations: 2.727 MB / 374.4 MB, free: 8.059 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.03494, allocations: 0 / 374.4 MB, free: 8.059 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.03494, allocations: 4 kB / 374.4 MB, free: 8.055 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.03494, allocations: 0 / 374.4 MB, free: 8.055 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.0007766/0.03572, allocations: 0.6535 MB / 375.1 MB, free: 7.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.03576, allocations: 8.625 kB / 375.1 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.03579, allocations: 11.92 kB / 375.1 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.446e-05/0.03587, allocations: 104.1 kB / 375.2 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.03588, allocations: 0 / 375.2 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-06/0.03589, allocations: 4 kB / 375.2 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.978e-05/0.03595, allocations: 29.64 kB / 375.2 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.03596, allocations: 4 kB / 375.2 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.03596, allocations: 7.984 kB / 375.2 MB, free: 7.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.03597, allocations: 4 kB / 375.2 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-06/0.03598, allocations: 7.938 kB / 375.2 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.03608, allocations: 101.2 kB / 375.3 MB, free: 7.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.475e-05/0.03612, allocations: 35.12 kB / 375.4 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.064e-05/0.03613, allocations: 11.72 kB / 375.4 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006464/0.04259, allocations: 2.197 MB / 377.6 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.04261, allocations: 37.33 kB / 377.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.04261, allocations: 0 / 377.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000119/0.04273, allocations: 57.66 kB / 377.7 MB, free: 4.652 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.04276, allocations: 51.41 kB / 377.7 MB, free: 4.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.04281, allocations: 161.9 kB / 377.9 MB, free: 4.414 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.04282, allocations: 25.7 kB / 377.9 MB, free: 4.383 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.04285, allocations: 126.9 kB / 378 MB, free: 4.254 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.04288, allocations: 23.78 kB / 378.1 MB, free: 4.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.04291, allocations: 27.36 kB / 378.1 MB, free: 4.195 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.04301, allocations: 0.4884 MB / 378.6 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-06/0.04301, allocations: 0 / 378.6 MB, free: 3.695 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-06/0.04302, allocations: 4 kB / 378.6 MB, free: 3.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/0.04305, allocations: 32.11 kB / 378.6 MB, free: 3.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.04305, allocations: 3.938 kB / 378.6 MB, free: 3.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.483e-05/0.04309, allocations: 45.69 kB / 378.7 MB, free: 3.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.0431, allocations: 7.125 kB / 378.7 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.04311, allocations: 0 / 378.7 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.04312, allocations: 0 / 378.7 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.04312, allocations: 0 / 378.7 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.04312, allocations: 0 / 378.7 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.04314, allocations: 15.83 kB / 378.7 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.04314, allocations: 0 / 378.7 MB, free: 3.582 MB / 298.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 5.414e-05/0.04319, allocations: 156.6 kB / 378.8 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-06/0.0432, allocations: 8.031 kB / 378.8 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.04331, allocations: 246.6 kB / 379.1 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-05/0.04336, allocations: 264.1 kB / 379.3 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.271e-05/0.04342, allocations: 268 kB / 379.6 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.488e-05/0.04347, allocations: 276 kB / 379.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.04363, allocations: 492.5 kB / 380.3 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.888e-05/0.04366, allocations: 144.9 kB / 380.5 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.282e-05/0.04369, allocations: 152.9 kB / 380.6 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.204e-05/0.04374, allocations: 268 kB / 380.9 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.0438, allocations: 268.1 kB / 381.2 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.266e-05/0.04385, allocations: 276 kB / 381.4 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.423e-05/0.0439, allocations: 264.1 kB / 381.7 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.04403, allocations: 451.9 kB / 382.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.04406, allocations: 148.9 kB / 382.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.04413, allocations: 276 kB / 382.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.409e-05/0.04419, allocations: 144.9 kB / 382.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.04424, allocations: 264.1 kB / 382.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003104/0.04456, allocations: 156.8 kB / 383.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.168e-05/0.0446, allocations: 135.2 kB / 383.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0446, allocations: 0 / 383.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007378/0.04533, allocations: 0.6113 MB / 383.8 MB, free: 14.2 MB / 314.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.001612/0.04695, allocations: 1.196 MB / 385 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.378e-05/0.047, allocations: 27.56 kB / 385.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.047, allocations: 0 / 385.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.047, allocations: 0 / 385.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.04737, allocations: 0.7298 MB / 385.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.0478, allocations: 269.4 kB / 386.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.04784, allocations: 51.36 kB / 386.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.674e-05/0.04785, allocations: 11.89 kB / 386.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.04791, allocations: 82.19 kB / 386.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.04791, allocations: 4 kB / 386.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of Templates: time 0.02194/0.06985, allocations: 23.55 MB / 409.8 MB, free: 4.23 MB / 330.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.6428288179449737]