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.0009358/0.0009358, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009279/0.0009279, allocations: 169 kB / 23.27 MB, free: 1.223 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.9241/0.9241, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.03837/0.03837, allocations: 7.534 MB / 267.8 MB, free: 5.859 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.273e-06/1.273e-06, allocations: 0 / 339.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.311e-05, allocations: 6.25 kB / 339.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01512/0.01513, allocations: 16.74 MB / 355.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006147/0.02128, allocations: 5.713 MB / 361.5 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.02131, allocations: 0 / 361.5 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006028/0.02191, allocations: 235.8 kB / 361.8 MB, free: 5.027 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.698e-05/0.02196, allocations: 27.83 kB / 361.8 MB, free: 5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008989/0.03094, allocations: 4.29 MB / 366.1 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.093e-05/0.03103, allocations: 51.67 kB / 366.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.422e-05/0.03106, allocations: 7.938 kB / 366.1 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.859e-05/0.03115, allocations: 47.78 kB / 366.2 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/0.03118, allocations: 8 kB / 366.2 MB, free: 0.582 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.03119, allocations: 0 / 366.2 MB, free: 0.582 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005892/0.03708, allocations: 4.7 MB / 370.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.0371, allocations: 3.938 kB / 370.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.03712, allocations: 8 kB / 370.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.03961, allocations: 2.727 MB / 373.6 MB, free: 9.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.03961, allocations: 0 / 373.6 MB, free: 9.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.03961, allocations: 0 / 373.6 MB, free: 9.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.03961, allocations: 4 kB / 373.6 MB, free: 9.121 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.0005985/0.04021, allocations: 0.6535 MB / 374.3 MB, free: 8.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.04024, allocations: 12.61 kB / 374.3 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.939e-05/0.04026, allocations: 7.938 kB / 374.3 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.848e-05/0.04032, allocations: 108 kB / 374.4 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-06/0.04033, allocations: 0 / 374.4 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-06/0.04033, allocations: 4 kB / 374.4 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.872e-05/0.04038, allocations: 29.7 kB / 374.4 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-06/0.04038, allocations: 0 / 374.4 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-06/0.04039, allocations: 0 / 374.4 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.04039, allocations: 0 / 374.4 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.967e-06/0.0404, allocations: 15.94 kB / 374.5 MB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.944e-05/0.04049, allocations: 109.3 kB / 374.6 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.644e-05/0.04052, allocations: 31 kB / 374.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.151e-05/0.04053, allocations: 15.7 kB / 374.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005647/0.04618, allocations: 2.262 MB / 376.9 MB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.0462, allocations: 33.39 kB / 376.9 MB, free: 5.723 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.0462, allocations: 0 / 376.9 MB, free: 5.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 9.492e-05/0.04629, allocations: 49.7 kB / 377 MB, free: 5.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.04632, allocations: 59.39 kB / 377 MB, free: 5.598 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.716e-05/0.04637, allocations: 161.8 kB / 377.2 MB, free: 5.422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.04638, allocations: 25.7 kB / 377.2 MB, free: 5.391 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.84e-05/0.04641, allocations: 130.9 kB / 377.3 MB, free: 5.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.04644, allocations: 19.78 kB / 377.3 MB, free: 5.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.04646, allocations: 27.3 kB / 377.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.04656, allocations: 0.4923 MB / 377.9 MB, free: 4.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.753e-06/0.04656, allocations: 4 kB / 377.9 MB, free: 4.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-06/0.04657, allocations: 0 / 377.9 MB, free: 4.695 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.04659, allocations: 24.19 kB / 377.9 MB, free: 4.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.04659, allocations: 0 / 377.9 MB, free: 4.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.431e-05/0.04664, allocations: 53.62 kB / 377.9 MB, free: 4.609 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.04665, allocations: 4 kB / 377.9 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.04665, allocations: 3.938 kB / 377.9 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.04666, allocations: 0 / 377.9 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.04666, allocations: 0 / 377.9 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-06/0.04667, allocations: 4 kB / 378 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.192e-05/0.04668, allocations: 7.875 kB / 378 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.04668, allocations: 0 / 378 MB, free: 4.59 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 5.549e-05/0.04674, allocations: 160.6 kB / 378.1 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-06/0.04674, allocations: 4 kB / 378.1 MB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.04685, allocations: 242.7 kB / 378.4 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.344e-05/0.0469, allocations: 268 kB / 378.6 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.132e-05/0.04696, allocations: 268.1 kB / 378.9 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.876e-05/0.04701, allocations: 268 kB / 379.1 MB, free: 3.336 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.04716, allocations: 488.5 kB / 379.6 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.134e-05/0.04719, allocations: 152.9 kB / 379.8 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.007e-05/0.04722, allocations: 156.8 kB / 379.9 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.036e-05/0.04727, allocations: 268.1 kB / 380.2 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.04733, allocations: 268.1 kB / 380.4 MB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-05/0.04738, allocations: 276 kB / 380.7 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-05/0.04743, allocations: 268.1 kB / 381 MB, free: 1.422 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.04754, allocations: 451.9 kB / 381.4 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.04758, allocations: 156.8 kB / 381.6 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.04764, allocations: 268.1 kB / 381.8 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.04769, allocations: 144.9 kB / 382 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.04774, allocations: 268 kB / 382.2 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/0.04778, allocations: 156.8 kB / 382.4 MB, free: 15.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.028e-05/0.04782, allocations: 135.1 kB / 382.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04782, allocations: 0 / 382.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007135/0.04854, allocations: 0.6114 MB / 383.1 MB, free: 15.2 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.001479/0.05001, allocations: 1.195 MB / 384.3 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.466e-05/0.05007, allocations: 23.61 kB / 384.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.05007, allocations: 0 / 384.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.05007, allocations: 0 / 384.4 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.05042, allocations: 0.7296 MB / 385.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.05083, allocations: 265.4 kB / 385.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.387e-05/0.05086, allocations: 51.36 kB / 385.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.283e-05/0.05087, allocations: 4 kB / 385.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.05092, allocations: 90.12 kB / 385.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of SimCode: time 4.8e-07/0.05092, allocations: 0 / 385.5 MB, free: 12.78 MB / 362.7 MB Notification: Performance of Templates: time 0.02048/0.07141, allocations: 23.56 MB / 409 MB, free: 5.223 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.335023534949869]