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.0008719/0.0008719, 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.0009182/0.0009182, 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.185/1.185, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.6704/0.6704, allocations: 115 MB / 376 MB, free: 7.492 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.174e-06/2.174e-06, allocations: 0 / 428.7 MB, free: 2.828 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.458e-05, allocations: 2.312 kB / 428.7 MB, free: 2.824 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001631/0.001655, allocations: 0.6621 MB / 429.4 MB, free: 2.16 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.002729, allocations: 1.127 MB / 430.5 MB, free: 1.02 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.002766, allocations: 0 / 430.5 MB, free: 1.02 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.00279, allocations: 3.938 kB / 430.5 MB, free: 1.016 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.212e-05/0.002852, allocations: 11.88 kB / 430.5 MB, free: 1.004 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.003078, allocations: 51.7 kB / 430.6 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.982e-05/0.003158, allocations: 51.84 kB / 430.6 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.201e-05/0.00322, allocations: 11.97 kB / 430.6 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.227e-05/0.003292, allocations: 23.92 kB / 430.6 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.003335, allocations: 19.97 kB / 430.7 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.003348, allocations: 8 kB / 430.7 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.202e-05/0.0034, allocations: 19.98 kB / 430.7 MB, free: 0.8203 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.00342, allocations: 15.92 kB / 430.7 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.003441, allocations: 11.98 kB / 430.7 MB, free: 0.793 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.003542, allocations: 51.81 kB / 430.8 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003543, allocations: 0 / 430.8 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003544, allocations: 0 / 430.8 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.675e-06/0.003547, allocations: 0 / 430.8 MB, free: 0.7422 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.0005917/0.004138, allocations: 268.8 kB / 431 MB, free: 464 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.004167, allocations: 15.97 kB / 431 MB, free: 448 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.004246, allocations: 8.875 kB / 431.1 MB, free: 440 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.371e-05/0.004319, allocations: 117.7 kB / 431.2 MB, free: 296 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.004329, allocations: 4.375 kB / 431.2 MB, free: 292 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.004339, allocations: 8.359 kB / 431.2 MB, free: 284 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.734e-05/0.004427, allocations: 62.94 kB / 431.2 MB, free: 212 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.004432, allocations: 192 / 431.2 MB, free: 212 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.004438, allocations: 384 / 431.2 MB, free: 212 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.004442, allocations: 384 / 431.2 MB, free: 212 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.553e-05/0.004467, allocations: 19.86 kB / 431.3 MB, free: 192 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002137/0.004681, allocations: 160.3 kB / 431.4 MB, free: 16 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.873e-05/0.00475, allocations: 34.61 kB / 431.5 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.004764, allocations: 8.859 kB / 431.5 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.004777, allocations: 4 kB / 431.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.004835, allocations: 63.41 kB / 431.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.031e-06/0.004836, allocations: 0 / 431.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001045/0.00494, allocations: 61.84 kB / 431.6 MB, free: 15.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.004973, allocations: 55.41 kB / 431.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.284e-05/0.005026, allocations: 114.7 kB / 431.8 MB, free: 15.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.005035, allocations: 29.7 kB / 431.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.941e-05/0.005064, allocations: 96.03 kB / 431.9 MB, free: 15.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.005083, allocations: 19.88 kB / 431.9 MB, free: 15.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.005112, allocations: 21.72 kB / 431.9 MB, free: 15.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.989e-05/0.005182, allocations: 318.8 kB / 432.2 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.005195, allocations: 8 kB / 432.2 MB, free: 15.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.695e-05/0.005222, allocations: 44.2 kB / 432.3 MB, free: 15.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.84e-05/0.005271, allocations: 60.22 kB / 432.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005273, allocations: 0 / 432.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.942e-05/0.005342, allocations: 65.55 kB / 432.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.005353, allocations: 8 kB / 432.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.005357, allocations: 80 / 432.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.00537, allocations: 3.938 kB / 432.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.00543, allocations: 15.98 kB / 432.4 MB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.005435, allocations: 7.984 kB / 432.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.00546, allocations: 8 kB / 432.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.005466, allocations: 4.125 kB / 432.4 MB, free: 14.87 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 5.666e-05/0.005523, allocations: 121.8 kB / 432.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.00553, allocations: 4 kB / 432.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.148e-05/0.005602, allocations: 58.11 kB / 432.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.005604, allocations: 3.938 kB / 432.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.005606, allocations: 0 / 432.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.005609, allocations: 0 / 432.6 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.005751, allocations: 214.7 kB / 432.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005752, allocations: 0 / 432.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.005782, allocations: 7.984 kB / 432.8 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.005786, allocations: 12.03 kB / 432.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.005792, allocations: 7.938 kB / 432.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005793, allocations: 0 / 432.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005794, allocations: 0 / 432.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.232e-05/0.005866, allocations: 155.4 kB / 433 MB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.005873, allocations: 4 kB / 433 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.005886, allocations: 3.938 kB / 433 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.005926, allocations: 12.23 kB / 433 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.005948, allocations: 0 / 433 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.005958, allocations: 11.98 kB / 433.1 MB, free: 14.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.069e-05/0.005969, allocations: 12.86 kB / 433.1 MB, free: 14.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005969, allocations: 0 / 433.1 MB, free: 14.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001301/0.006099, allocations: 16 kB / 433.1 MB, free: 14.18 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 9.399e-05/0.006193, allocations: 84.34 kB / 433.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.897e-05/0.006262, allocations: 40.77 kB / 433.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.006264, allocations: 0 / 433.2 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.673e-05/0.006291, allocations: 20.8 kB / 433.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.006419, allocations: 12.23 kB / 433.2 MB, free: 14.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.006751, allocations: 148.3 kB / 433.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.151e-05/0.006782, allocations: 59.14 kB / 433.4 MB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.183e-05/0.006804, allocations: 7.984 kB / 433.4 MB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.006848, allocations: 59.38 kB / 433.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006849, allocations: 0 / 433.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of Templates: time 0.002397/0.009246, allocations: 0.9061 MB / 434.4 MB, free: 12.79 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.572793160099536]