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.0009385/0.0009385, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.0009926/0.0009926, allocations: 169 kB / 24.14 MB, free: 356 kB / 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 1.063/1.063, allocations: 177.2 MB / 204.6 MB, free: 4.695 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.6743/0.6743, allocations: 115 MB / 376 MB, free: 7.262 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.275e-06/2.275e-06, allocations: 0 / 428.7 MB, free: 2.723 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.982e-05, allocations: 2.312 kB / 428.7 MB, free: 2.719 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.00234/0.00237, allocations: 0.7055 MB / 429.5 MB, free: 2.012 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.004125, allocations: 1.131 MB / 430.6 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.004192, allocations: 4 kB / 430.6 MB, free: 0.8633 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.004229, allocations: 3.938 kB / 430.6 MB, free: 0.8594 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.926e-05/0.004328, allocations: 11.86 kB / 430.6 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.004734, allocations: 47.81 kB / 430.6 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.004866, allocations: 51.8 kB / 430.7 MB, free: 0.75 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.658e-05/0.004962, allocations: 7.984 kB / 430.7 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.00507, allocations: 35.91 kB / 430.7 MB, free: 0.707 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.005127, allocations: 11.97 kB / 430.8 MB, free: 0.6953 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.005147, allocations: 8 kB / 430.8 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.005247, allocations: 19.98 kB / 430.8 MB, free: 0.668 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.005271, allocations: 15.92 kB / 430.8 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.005301, allocations: 15.98 kB / 430.8 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.005455, allocations: 55.81 kB / 430.9 MB, free: 0.582 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.005459, allocations: 0 / 430.9 MB, free: 0.582 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005461, allocations: 0 / 430.9 MB, free: 0.582 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.005465, allocations: 0 / 430.9 MB, free: 0.582 MB / 394.7 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.0004445/0.005909, allocations: 260.8 kB / 431.1 MB, free: 308 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.00595, allocations: 12.03 kB / 431.1 MB, free: 296 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.00607, allocations: 12.86 kB / 431.1 MB, free: 284 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.006172, allocations: 117.7 kB / 431.3 MB, free: 140 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.006185, allocations: 384 / 431.3 MB, free: 140 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.006197, allocations: 8.375 kB / 431.3 MB, free: 132 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.006346, allocations: 66.91 kB / 431.3 MB, free: 56 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.006356, allocations: 192 / 431.3 MB, free: 56 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.006368, allocations: 4.375 kB / 431.3 MB, free: 52 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.006377, allocations: 4.375 kB / 431.3 MB, free: 48 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.776e-05/0.006415, allocations: 7.938 kB / 431.4 MB, free: 40 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.006784, allocations: 164.3 kB / 431.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.682e-05/0.006871, allocations: 34.58 kB / 431.5 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.006892, allocations: 12.84 kB / 431.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.006913, allocations: 0 / 431.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.007018, allocations: 63.45 kB / 431.6 MB, free: 15.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.00702, allocations: 4 kB / 431.6 MB, free: 15.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001618/0.007182, allocations: 61.55 kB / 431.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.00723, allocations: 51.41 kB / 431.7 MB, free: 15.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.007315, allocations: 110.7 kB / 431.8 MB, free: 15.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.007333, allocations: 29.7 kB / 431.9 MB, free: 15.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.007378, allocations: 96.03 kB / 432 MB, free: 15.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.007412, allocations: 19.88 kB / 432 MB, free: 15.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.007463, allocations: 21.72 kB / 432 MB, free: 15.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.007572, allocations: 322.8 kB / 432.3 MB, free: 14.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.007595, allocations: 4 kB / 432.3 MB, free: 14.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.511e-05/0.007641, allocations: 44.22 kB / 432.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.641e-05/0.007717, allocations: 56.2 kB / 432.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007719, allocations: 0 / 432.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001255/0.007845, allocations: 73.55 kB / 432.5 MB, free: 14.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.007864, allocations: 4 kB / 432.5 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.007872, allocations: 4 kB / 432.5 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.007891, allocations: 7.922 kB / 432.5 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.008004, allocations: 16 kB / 432.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.008011, allocations: 4.312 kB / 432.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.008056, allocations: 3.984 kB / 432.5 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.008066, allocations: 4 kB / 432.5 MB, free: 14.72 MB / 410.7 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 8.81e-05/0.008154, allocations: 121.7 kB / 432.7 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.008172, allocations: 12.16 kB / 432.7 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.0083, allocations: 62.09 kB / 432.7 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.008304, allocations: 3.938 kB / 432.7 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.008306, allocations: 0 / 432.7 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.008309, allocations: 0 / 432.7 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.008563, allocations: 218.7 kB / 432.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.008565, allocations: 0 / 432.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.008617, allocations: 4 kB / 433 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.008623, allocations: 4 kB / 433 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.008631, allocations: 3.938 kB / 433 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.008634, allocations: 0 / 433 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.008635, allocations: 4 kB / 433 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.008757, allocations: 151.4 kB / 433.1 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.008768, allocations: 4 kB / 433.1 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.008788, allocations: 8.172 kB / 433.1 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.008866, allocations: 8 kB / 433.1 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.008901, allocations: 7.984 kB / 433.1 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.008916, allocations: 4 kB / 433.1 MB, free: 14.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.913e-05/0.008935, allocations: 12.84 kB / 433.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008935, allocations: 0 / 433.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.009173, allocations: 16 kB / 433.2 MB, free: 14.03 MB / 410.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: 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.009326, allocations: 88.34 kB / 433.3 MB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.009429, allocations: 36.78 kB / 433.3 MB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.009433, allocations: 4 kB / 433.3 MB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.122e-05/0.009474, allocations: 24.77 kB / 433.3 MB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.009677, allocations: 7.609 kB / 433.3 MB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.01017, allocations: 152.6 kB / 433.5 MB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.849e-05/0.01022, allocations: 59.34 kB / 433.5 MB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.602e-05/0.01026, allocations: 4 kB / 433.5 MB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.01032, allocations: 59.38 kB / 433.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01032, allocations: 0 / 433.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of Templates: time 0.003727/0.01405, allocations: 0.9014 MB / 434.5 MB, free: 12.64 MB / 410.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.464584955945611]