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.001228/0.001228, allocations: 79.2 kB / 19.93 MB, free: 1.766 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.001349/0.001349, allocations: 168.9 kB / 23.22 MB, free: 4.883 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.406/1.406, allocations: 177.2 MB / 203.5 MB, free: 9.156 MB / 190.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.8914/0.8914, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 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 1.944e-06/1.944e-06, allocations: 0 / 0.5547 GB, free: 2.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.416e-05, allocations: 11.59 kB / 0.5547 GB, free: 2.672 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001536/0.00156, allocations: 0.6512 MB / 0.5553 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.002954, allocations: 1.088 MB / 0.5564 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.002993, allocations: 4 kB / 0.5564 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.00302, allocations: 3.938 kB / 0.5564 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.068e-05/0.003081, allocations: 7.875 kB / 0.5564 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.003349, allocations: 55.75 kB / 0.5564 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.562e-05/0.003445, allocations: 55.78 kB / 0.5565 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.351e-05/0.003518, allocations: 11.92 kB / 0.5565 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.29e-05/0.003601, allocations: 27.98 kB / 0.5565 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.318e-05/0.003644, allocations: 15.95 kB / 0.5565 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.00366, allocations: 7.938 kB / 0.5565 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.838e-05/0.003718, allocations: 16 kB / 0.5566 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.003738, allocations: 11.98 kB / 0.5566 GB, free: 0.707 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.003769, allocations: 15.97 kB / 0.5566 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.003914, allocations: 71.77 kB / 0.5567 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003916, allocations: 4 kB / 0.5567 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003916, allocations: 0 / 0.5567 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.484e-06/0.003919, allocations: 0 / 0.5567 GB, free: 0.6172 MB / 462.1 MB 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.000528/0.004447, allocations: 290.2 kB / 0.5569 GB, free: 308 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.004478, allocations: 8.625 kB / 0.5569 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.547e-05/0.004554, allocations: 8.891 kB / 0.557 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.004655, allocations: 117.7 kB / 0.5571 GB, free: 148 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.004668, allocations: 4.375 kB / 0.5571 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.00468, allocations: 4.375 kB / 0.5571 GB, free: 140 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.004876, allocations: 74.16 kB / 0.5571 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.004885, allocations: 192 / 0.5571 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.004894, allocations: 384 / 0.5571 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.004898, allocations: 4.312 kB / 0.5571 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.005083, allocations: 47.89 kB / 0.5572 GB, free: 8 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.005472, allocations: 216.5 kB / 0.5574 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.005644, allocations: 62.48 kB / 0.5575 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.823e-05/0.005743, allocations: 24.97 kB / 0.5575 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.005761, allocations: 0 / 0.5575 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.005932, allocations: 83.27 kB / 0.5576 GB, free: 15.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.005933, allocations: 0 / 0.5576 GB, free: 15.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004156/0.006349, allocations: 125.6 kB / 0.5577 GB, free: 15.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.006399, allocations: 59.41 kB / 0.5577 GB, free: 15.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.408e-05/0.006483, allocations: 105.8 kB / 0.5578 GB, free: 15.26 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.006501, allocations: 25.7 kB / 0.5579 GB, free: 15.23 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.006551, allocations: 88.09 kB / 0.5579 GB, free: 15.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.006578, allocations: 23.95 kB / 0.558 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.006622, allocations: 21.72 kB / 0.558 GB, free: 15.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.006765, allocations: 318.8 kB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.006865, allocations: 23.98 kB / 0.5583 GB, free: 14.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.006988, allocations: 60.27 kB / 0.5584 GB, free: 14.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.007209, allocations: 96.12 kB / 0.5585 GB, free: 14.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007211, allocations: 0 / 0.5585 GB, free: 14.56 MB / 478.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002886/0.007499, allocations: 117.6 kB / 0.5586 GB, free: 14.44 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.007513, allocations: 11.94 kB / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.007519, allocations: 4 kB / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.007532, allocations: 0 / 0.5586 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.007643, allocations: 23.92 kB / 0.5586 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.00765, allocations: 4 kB / 0.5586 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.083e-05/0.007721, allocations: 11.92 kB / 0.5586 GB, free: 14.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.007731, allocations: 4 kB / 0.5586 GB, free: 14.38 MB / 478.1 MB 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 9.661e-05/0.007828, allocations: 118.9 kB / 0.5588 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.007844, allocations: 11.89 kB / 0.5588 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.008137, allocations: 114 kB / 0.5589 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.008139, allocations: 0 / 0.5589 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.008142, allocations: 0 / 0.5589 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.008145, allocations: 3.938 kB / 0.5589 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.008613, allocations: 298.4 kB / 0.5592 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.008614, allocations: 4 kB / 0.5592 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.008679, allocations: 16.11 kB / 0.5592 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.008681, allocations: 8 kB / 0.5592 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.00869, allocations: 3.938 kB / 0.5592 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.008691, allocations: 0 / 0.5592 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.008694, allocations: 3.984 kB / 0.5592 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.009002, allocations: 195.9 kB / 0.5594 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-06/0.009011, allocations: 4 kB / 0.5594 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.00903, allocations: 3.984 kB / 0.5594 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.524e-05/0.009125, allocations: 4 kB / 0.5594 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.00917, allocations: 15.98 kB / 0.5594 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.009183, allocations: 4 kB / 0.5594 GB, free: 13.53 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.819e-05/0.009231, allocations: 83.27 kB / 0.5595 GB, free: 13.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 5e-08/0.009232, allocations: 0 / 0.5595 GB, free: 13.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.00947, allocations: 16 kB / 0.5595 GB, free: 13.43 MB / 478.1 MB 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.0001531/0.009623, allocations: 103.1 kB / 0.5596 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.00989, allocations: 75.86 kB / 0.5597 GB, free: 13.24 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009892, allocations: 4.25 kB / 0.5597 GB, free: 13.24 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.01, allocations: 28.06 kB / 0.5597 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.01025, allocations: 16.08 kB / 0.5597 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.0106, allocations: 136.9 kB / 0.5599 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.674e-05/0.01066, allocations: 71.34 kB / 0.5599 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.611e-05/0.01069, allocations: 4 kB / 0.5599 GB, free: 12.94 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.01072, allocations: 16.5 kB / 0.5599 GB, free: 12.93 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01072, allocations: 3.938 kB / 0.5599 GB, free: 12.92 MB / 478.1 MB Notification: Performance of Templates: time 0.003465/0.01419, allocations: 0.8649 MB / 0.5608 GB, free: 12.08 MB / 478.1 MB " [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: 5.039113648235798] Failed to read output from testmodel.py, exit status != 0: 0.023298755288124084 0.04682701 0.038693495 Calling exit ...