Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.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.001659/0.001659, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001971/0.001971, allocations: 216.5 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9878/0.9878, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002919/0.002919, allocations: 62.72 kB / 0.6416 GB, free: 9.574 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2358, allocations: 89.17 MB / 0.7287 GB, free: 488 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.00488/0.2407, allocations: 2.79 MB / 0.7314 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003345/0.244, allocations: 1.747 MB / 0.7331 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003437/0.2444, allocations: 19.88 kB / 0.7331 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.2449, allocations: 170.2 kB / 0.7333 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.2452, allocations: 126.8 kB / 0.7334 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007551/0.2459, allocations: 359.5 kB / 0.7338 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.2473, allocations: 1.073 MB / 0.7348 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008139/0.2481, allocations: 426.8 kB / 0.7352 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005687/0.2487, allocations: 418.3 kB / 0.7356 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000443/0.2491, allocations: 385.7 kB / 0.736 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.2493, allocations: 120 kB / 0.7361 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.2494, allocations: 127.9 kB / 0.7362 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.2497, allocations: 247.2 kB / 0.7364 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.25, allocations: 385.9 kB / 0.7368 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.2515, allocations: 1.33 MB / 0.7381 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2515, allocations: 0 / 0.7381 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.093e-06/0.2515, allocations: 0 / 0.7381 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.365e-05/0.2515, allocations: 0 / 0.7381 GB, free: 6.746 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003208/0.2547, allocations: 1.899 MB / 0.74 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.21e-05/0.2548, allocations: 16.02 kB / 0.74 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.255, allocations: 120.2 kB / 0.7401 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008525/0.2558, allocations: 0.5036 MB / 0.7406 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/0.2559, allocations: 74.38 kB / 0.7407 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.256, allocations: 100.3 kB / 0.7408 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.2577, allocations: 0.9754 MB / 0.7417 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.2578, allocations: 4.125 kB / 0.7417 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.581e-05/0.2578, allocations: 43.94 kB / 0.7418 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.2579, allocations: 23.94 kB / 0.7418 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.2593, allocations: 0.6168 MB / 0.7424 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00451/0.2638, allocations: 2.347 MB / 0.7447 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.2653, allocations: 0.6552 MB / 0.7453 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006671/0.2659, allocations: 374.6 kB / 0.7457 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.112e-05/0.266, allocations: 16.64 kB / 0.7457 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006903/0.2667, allocations: 344.4 kB / 0.746 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 2.545e-06/0.2667, allocations: 112 / 0.746 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.001747/0.2684, allocations: 0.8215 MB / 0.7468 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.2686, allocations: 162.9 kB / 0.747 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007252/0.2693, allocations: 494.1 kB / 0.7474 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/0.2694, allocations: 37.7 kB / 0.7475 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/0.2698, allocations: 416.9 kB / 0.7479 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.2701, allocations: 265.7 kB / 0.7481 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.2703, allocations: 134.7 kB / 0.7483 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003381/0.2706, allocations: 378.7 kB / 0.7486 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.2712, allocations: 240.7 kB / 0.7489 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009175/0.2721, allocations: 0.5612 MB / 0.7494 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.2732, allocations: 0.5409 MB / 0.7499 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2732, allocations: 0 / 0.7499 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001544/0.2747, allocations: 0.704 MB / 0.7506 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.2748, allocations: 4 kB / 0.7506 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2748, allocations: 0 / 0.7506 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.2748, allocations: 12.09 kB / 0.7506 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/0.2754, allocations: 155.8 kB / 0.7508 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.2754, allocations: 4 kB / 0.7508 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.2758, allocations: 83.58 kB / 0.7509 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.2758, allocations: 27.92 kB / 0.7509 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006919/0.2765, allocations: 350.1 kB / 0.7512 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006911/0.2772, allocations: 0.5144 MB / 0.7517 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007879/0.278, allocations: 465.9 kB / 0.7522 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.278, allocations: 0 / 0.7522 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001197/0.2792, allocations: 0.6026 MB / 0.7528 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2792, allocations: 8 kB / 0.7528 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.2792, allocations: 96 / 0.7528 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-06/0.2792, allocations: 8 kB / 0.7528 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.2797, allocations: 131.8 kB / 0.7529 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.2797, allocations: 4 kB / 0.7529 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.2801, allocations: 87.52 kB / 0.753 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.2801, allocations: 20 kB / 0.753 GB, free: 6.98 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (limPIDInp.trigger,$whenCondition1,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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 prepare postOptimizeDAE: time 0.0002767/0.2804, allocations: 224 kB / 0.7532 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.2805, allocations: 67.58 kB / 0.7533 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.282, allocations: 0.6449 MB / 0.7539 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.282, allocations: 8 kB / 0.7539 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.282, allocations: 0 / 0.7539 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.282, allocations: 3.984 kB / 0.7539 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/0.2847, allocations: 1.446 MB / 0.7553 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.2847, allocations: 8.016 kB / 0.7553 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.2853, allocations: 135.8 kB / 0.7555 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.2853, allocations: 4 kB / 0.7555 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.2853, allocations: 20 kB / 0.7555 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.2853, allocations: 4 kB / 0.7555 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2853, allocations: 0 / 0.7555 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.2872, allocations: 1.067 MB / 0.7565 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.2873, allocations: 75.38 kB / 0.7566 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.456e-05/0.2874, allocations: 20 kB / 0.7566 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.2877, allocations: 47.95 kB / 0.7567 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.2878, allocations: 52.59 kB / 0.7567 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.2879, allocations: 27.94 kB / 0.7568 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005204/0.2884, allocations: 346.9 kB / 0.7571 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2884, allocations: 0 / 0.7571 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009166/0.2893, allocations: 326.7 kB / 0.7574 GB, free: 2.375 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0002047/0.2895, allocations: 127.1 kB / 0.7575 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.2914, allocations: 0.8253 MB / 0.7583 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2914, allocations: 0 / 0.7583 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000586/0.2919, allocations: 296.2 kB / 0.7586 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/0.2927, allocations: 142.3 kB / 0.7587 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3588/0.6516, allocations: 1.537 MB / 0.7602 GB, free: 34.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.652, allocations: 385.8 kB / 0.7606 GB, free: 34.16 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004618/0.6525, allocations: 80.78 kB / 0.7607 GB, free: 34.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.6526, allocations: 54.09 kB / 0.7607 GB, free: 34.15 MB / 0.5762 GB Notification: Performance of SimCode: time 1.362e-06/0.6527, allocations: 1.031 kB / 0.7607 GB, free: 34.15 MB / 0.5762 GB Notification: Performance of Templates: time 0.01674/0.6694, allocations: 8.082 MB / 0.7686 GB, free: 33.4 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.866401594132185] Failed to read output from testmodel.py, exit status != 0: 0.6790400985628366 0.6946669470000001 0.438954942 Calling exit ...