Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.0007193/0.0007193, allocations: 84.44 kB / 20.69 MB, free: 3.863 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.0007859/0.0007859, allocations: 165.9 kB / 23.96 MB, free: 0.5898 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.9008/0.9008, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.5795/0.5795, allocations: 114 MB / 374.7 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] 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.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.5554 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.636e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.00122/0.001246, allocations: 0.6643 MB / 0.556 GB, free: 1.617 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.002282, allocations: 1.081 MB / 0.5571 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.002328, allocations: 0 / 0.5571 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.002356, allocations: 3.938 kB / 0.5571 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.002419, allocations: 19.84 kB / 0.5571 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.002713, allocations: 43.83 kB / 0.5572 GB, free: 468 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.698e-05/0.0028, allocations: 47.86 kB / 0.5572 GB, free: 420 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.002889, allocations: 15.92 kB / 0.5572 GB, free: 404 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.002957, allocations: 23.92 kB / 0.5572 GB, free: 380 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.003004, allocations: 23.95 kB / 0.5573 GB, free: 356 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.003018, allocations: 4 kB / 0.5573 GB, free: 352 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.084e-05/0.003079, allocations: 27.86 kB / 0.5573 GB, free: 324 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.003102, allocations: 11.98 kB / 0.5573 GB, free: 312 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.003128, allocations: 11.98 kB / 0.5573 GB, free: 300 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.003261, allocations: 71.77 kB / 0.5574 GB, free: 228 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.003264, allocations: 0 / 0.5574 GB, free: 228 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003265, allocations: 0 / 0.5574 GB, free: 228 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.003269, allocations: 4 kB / 0.5574 GB, free: 224 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004526/0.003721, allocations: 290.2 kB / 0.5577 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.003756, allocations: 8.625 kB / 0.5577 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.743e-05/0.003833, allocations: 12.88 kB / 0.5577 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.86e-05/0.003912, allocations: 105.8 kB / 0.5578 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.003924, allocations: 4.312 kB / 0.5578 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.003936, allocations: 8.375 kB / 0.5578 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.004082, allocations: 70.2 kB / 0.5579 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.004091, allocations: 4.188 kB / 0.5579 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.004101, allocations: 384 / 0.5579 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.004106, allocations: 8.297 kB / 0.5579 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.697e-05/0.004203, allocations: 47.89 kB / 0.5579 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.004657, allocations: 216.5 kB / 0.5581 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.004764, allocations: 58.48 kB / 0.5582 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.004813, allocations: 28.97 kB / 0.5582 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.004833, allocations: 0 / 0.5582 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.004971, allocations: 83.31 kB / 0.5583 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.004972, allocations: 0 / 0.5583 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002628/0.005234, allocations: 133.6 kB / 0.5584 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.005269, allocations: 55.41 kB / 0.5585 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.036e-05/0.005329, allocations: 105.8 kB / 0.5586 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.005339, allocations: 29.7 kB / 0.5586 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.005376, allocations: 92.08 kB / 0.5587 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.005394, allocations: 11.91 kB / 0.5587 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.005426, allocations: 25.72 kB / 0.5587 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.721e-05/0.005493, allocations: 314.8 kB / 0.559 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.381e-05/0.005547, allocations: 31.97 kB / 0.5591 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.005607, allocations: 52.28 kB / 0.5591 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.00572, allocations: 96.19 kB / 0.5592 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005722, allocations: 0 / 0.5592 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006248/0.006346, allocations: 117.7 kB / 0.5593 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.00636, allocations: 7.938 kB / 0.5593 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006365, allocations: 4.125 kB / 0.5593 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.006377, allocations: 8 kB / 0.5593 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.006447, allocations: 19.92 kB / 0.5594 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.006453, allocations: 3.984 kB / 0.5594 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.437e-05/0.006488, allocations: 12 kB / 0.5594 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.006496, allocations: 4 kB / 0.5594 GB, free: 13.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.238e-05/0.006558, allocations: 117.8 kB / 0.5595 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.006568, allocations: 11.88 kB / 0.5595 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.00673, allocations: 114.3 kB / 0.5596 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.006733, allocations: 0 / 0.5596 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.006736, allocations: 0 / 0.5596 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.00674, allocations: 0 / 0.5596 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.006983, allocations: 306.2 kB / 0.5599 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006984, allocations: 3.938 kB / 0.5599 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.007014, allocations: 11.94 kB / 0.5599 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.007017, allocations: 0 / 0.5599 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.007026, allocations: 11.98 kB / 0.5599 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.007027, allocations: 0 / 0.5599 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007028, allocations: 0 / 0.5599 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.007174, allocations: 199.4 kB / 0.5601 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-06/0.00718, allocations: 7.984 kB / 0.5601 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.007193, allocations: 0 / 0.5601 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.007241, allocations: 8.172 kB / 0.5601 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.007273, allocations: 4 kB / 0.5601 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.007285, allocations: 7.984 kB / 0.5601 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.532e-05/0.00731, allocations: 91.27 kB / 0.5602 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.00731, allocations: 0 / 0.5602 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001668/0.007477, allocations: 16 kB / 0.5602 GB, free: 13.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001163/0.007593, allocations: 114.3 kB / 0.5604 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.007746, allocations: 67.89 kB / 0.5604 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007747, allocations: 0 / 0.5604 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.61e-05/0.007803, allocations: 36.22 kB / 0.5605 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.007985, allocations: 11.94 kB / 0.5605 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.008255, allocations: 162.5 kB / 0.5606 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.229e-05/0.008297, allocations: 67.34 kB / 0.5607 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.008321, allocations: 12.5 kB / 0.5607 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.008322, allocations: 0 / 0.5607 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.001692/0.01001, allocations: 0.9287 MB / 0.5616 GB, free: 11.58 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.772046913392842] Failed to read output from testmodel.py, exit status != 0: 0.014655915088951588 0.023658317 0.01878759 Calling exit ...