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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 113.2 kB / 19.59 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002378/0.002378, allocations: 191.4 kB / 22.85 MB, free: 5.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9575/0.9575, allocations: 149.5 MB / 456.3 MB, free: 1.273 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.7 kB / 0.6324 GB, free: 9.07 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2227, allocations: 87.88 MB / 0.7183 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDWithReset): time 0.005447/0.2282, allocations: 3.303 MB / 0.7215 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003812/0.232, allocations: 1.727 MB / 0.7232 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007157/0.2327, allocations: 23.88 kB / 0.7232 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.2332, allocations: 162.2 kB / 0.7234 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.2335, allocations: 126.7 kB / 0.7235 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.2344, allocations: 383.1 kB / 0.7238 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001245/0.2357, allocations: 1.077 MB / 0.7249 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008381/0.2365, allocations: 454.9 kB / 0.7253 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000504/0.237, allocations: 418.3 kB / 0.7257 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004767/0.2375, allocations: 449.6 kB / 0.7262 GB, free: 8.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.2377, allocations: 120 kB / 0.7263 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.2378, allocations: 116 kB / 0.7264 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.238, allocations: 259.1 kB / 0.7266 GB, free: 8.496 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004641/0.2385, allocations: 489.2 kB / 0.7271 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001889/0.2404, allocations: 1.315 MB / 0.7284 GB, free: 6.695 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.537e-06/0.2404, allocations: 0 / 0.7284 GB, free: 6.695 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.617e-06/0.2404, allocations: 0 / 0.7284 GB, free: 6.695 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.2404, allocations: 0 / 0.7284 GB, free: 6.695 MB / 0.545 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.00387/0.2443, allocations: 1.903 MB / 0.7302 GB, free: 4.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/0.2444, allocations: 12.62 kB / 0.7302 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.2446, allocations: 120.2 kB / 0.7304 GB, free: 4.598 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.2456, allocations: 0.5037 MB / 0.7309 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-05/0.2457, allocations: 74.31 kB / 0.7309 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.2459, allocations: 96.38 kB / 0.731 GB, free: 3.898 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.2476, allocations: 0.8789 MB / 0.7319 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.2476, allocations: 4.172 kB / 0.7319 GB, free: 2.996 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.342e-05/0.2477, allocations: 43.92 kB / 0.7319 GB, free: 2.953 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.2477, allocations: 24 kB / 0.7319 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.2491, allocations: 0.6207 MB / 0.7326 GB, free: 2.309 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00477/0.2538, allocations: 2.705 MB / 0.7352 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.2553, allocations: 0.671 MB / 0.7358 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.256, allocations: 374.4 kB / 0.7362 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.2561, allocations: 12.59 kB / 0.7362 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006984/0.2568, allocations: 356.4 kB / 0.7366 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.895e-06/0.2568, allocations: 0 / 0.7366 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.001793/0.2586, allocations: 0.8292 MB / 0.7374 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.2587, allocations: 162.9 kB / 0.7375 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008157/0.2595, allocations: 0.5577 MB / 0.7381 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-05/0.2596, allocations: 41.7 kB / 0.7381 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/0.2599, allocations: 404.9 kB / 0.7385 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.2602, allocations: 265.7 kB / 0.7387 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.2604, allocations: 126.7 kB / 0.7389 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.2606, allocations: 386.8 kB / 0.7392 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.2611, allocations: 244.7 kB / 0.7395 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.2618, allocations: 365.1 kB / 0.7398 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.2629, allocations: 0.5331 MB / 0.7403 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2629, allocations: 0 / 0.7403 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001461/0.2644, allocations: 0.7157 MB / 0.741 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.2644, allocations: 8 kB / 0.741 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2644, allocations: 0 / 0.741 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.2644, allocations: 4 kB / 0.741 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.265, allocations: 155.9 kB / 0.7412 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.2651, allocations: 7.938 kB / 0.7412 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.2655, allocations: 95.47 kB / 0.7413 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.2655, allocations: 23.98 kB / 0.7413 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006139/0.2661, allocations: 350.1 kB / 0.7417 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004646/0.2666, allocations: 325.1 kB / 0.742 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008304/0.2674, allocations: 462 kB / 0.7424 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/0.2674, allocations: 4 kB / 0.7424 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.001351/0.2688, allocations: 0.6143 MB / 0.743 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2688, allocations: 4 kB / 0.743 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2688, allocations: 4 kB / 0.743 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.2688, allocations: 7.938 kB / 0.743 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.2694, allocations: 131.8 kB / 0.7431 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.2694, allocations: 8.094 kB / 0.7432 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.2701, allocations: 83.52 kB / 0.7432 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.2701, allocations: 23.98 kB / 0.7433 GB, free: 7.051 MB / 0.5606 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.0003241/0.2704, allocations: 220.1 kB / 0.7435 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.2706, allocations: 75.53 kB / 0.7435 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.2723, allocations: 0.6456 MB / 0.7442 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/0.2723, allocations: 8 kB / 0.7442 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.2723, allocations: 3.938 kB / 0.7442 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.2723, allocations: 3.984 kB / 0.7442 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.2764, allocations: 1.663 MB / 0.7458 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.2764, allocations: 4 kB / 0.7458 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008742/0.2773, allocations: 135.8 kB / 0.7459 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.73e-05/0.2773, allocations: 4 kB / 0.7459 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-05/0.2774, allocations: 20 kB / 0.746 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/0.2774, allocations: 4 kB / 0.746 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.2774, allocations: 0 / 0.746 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002949/0.2804, allocations: 1.075 MB / 0.747 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.2806, allocations: 87.33 kB / 0.7471 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.2808, allocations: 16 kB / 0.7471 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/0.2814, allocations: 51.95 kB / 0.7472 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.2815, allocations: 52.53 kB / 0.7472 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.038e-05/0.2816, allocations: 20 kB / 0.7472 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009919/0.2826, allocations: 398.8 kB / 0.7476 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2826, allocations: 0 / 0.7476 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001517/0.2841, allocations: 306.9 kB / 0.7479 GB, free: 2.172 MB / 0.5606 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.0003042/0.2844, allocations: 133.1 kB / 0.748 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003007/0.2874, allocations: 0.8295 MB / 0.7488 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.2874, allocations: 0 / 0.7488 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008958/0.2883, allocations: 287.6 kB / 0.7491 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.2897, allocations: 145.2 kB / 0.7493 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4586/0.7482, allocations: 1.548 MB / 0.7508 GB, free: 31.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/0.7489, allocations: 0.9763 MB / 0.7517 GB, free: 30.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004952/0.7494, allocations: 86.11 kB / 0.7518 GB, free: 30.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.7496, allocations: 57.23 kB / 0.7519 GB, free: 30.98 MB / 0.5606 GB Notification: Performance of SimCode: time 1.313e-06/0.7496, allocations: 0 / 0.7519 GB, free: 30.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.02399/0.7736, allocations: 8.018 MB / 0.7597 GB, free: 30.61 MB / 0.5606 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.769330087117851] Failed to read output from testmodel.py, exit status != 0: 0.7838765447959304 0.800803037 0.55720864 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f54fb4797b0>