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.001011/0.001011, allocations: 92.11 kB / 20.43 MB, free: 4.141 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.000947/0.000947, allocations: 169 kB / 23.8 MB, free: 0.7695 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 1.025/1.025, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.6238/0.6238, allocations: 114.9 MB / 375.7 MB, free: 7.617 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 1.293e-06/1.293e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.61e-05, allocations: 5.859 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001079/0.001095, allocations: 0.6683 MB / 482.2 MB, free: 11.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.002215, allocations: 1.127 MB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.002261, allocations: 0.625 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.002292, allocations: 4.625 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.584e-05/0.002368, allocations: 11.34 kB / 483.3 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.002681, allocations: 48.59 kB / 483.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.575e-05/0.002777, allocations: 47.22 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.002884, allocations: 10.39 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.002973, allocations: 38.84 kB / 483.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.00302, allocations: 15.5 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.003037, allocations: 4.375 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.88e-05/0.003096, allocations: 19.66 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.003117, allocations: 15.78 kB / 483.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.003146, allocations: 14.94 kB / 483.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.003267, allocations: 52.44 kB / 483.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003269, allocations: 1.188 kB / 483.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.00327, allocations: 0 / 483.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.003274, allocations: 0 / 483.6 MB, free: 10.57 MB / 410.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.000364/0.003638, allocations: 394.6 kB / 483.9 MB, free: 10.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.003674, allocations: 9.375 kB / 484 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.484e-05/0.003768, allocations: 9.312 kB / 484 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.216e-05/0.003831, allocations: 123.7 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.003841, allocations: 2.062 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.003853, allocations: 4.5 kB / 484.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.003963, allocations: 70.97 kB / 484.2 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.003971, allocations: 192 / 484.2 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.003981, allocations: 1.188 kB / 484.2 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.003988, allocations: 3.344 kB / 484.2 MB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.004025, allocations: 18.09 kB / 484.2 MB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.0043, allocations: 267.2 kB / 484.4 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.271e-05/0.004373, allocations: 43.47 kB / 484.5 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/0.004397, allocations: 16.12 kB / 484.5 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.004415, allocations: 2.531 kB / 484.5 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.377e-05/0.004479, allocations: 66.27 kB / 484.6 MB, free: 9.594 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.00448, allocations: 0 / 484.6 MB, free: 9.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001705/0.00465, allocations: 89.09 kB / 484.7 MB, free: 9.539 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.004675, allocations: 53.41 kB / 484.7 MB, free: 9.477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.004853, allocations: 169 kB / 484.9 MB, free: 25.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.004861, allocations: 32.95 kB / 484.9 MB, free: 25.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.004903, allocations: 131.1 kB / 485 MB, free: 25.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.00492, allocations: 22.86 kB / 485.1 MB, free: 25.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.004951, allocations: 29.8 kB / 485.1 MB, free: 25.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.005061, allocations: 498.7 kB / 485.6 MB, free: 24.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.005084, allocations: 9.141 kB / 485.6 MB, free: 24.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.374e-05/0.005118, allocations: 60.42 kB / 485.6 MB, free: 24.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.832e-05/0.005176, allocations: 70.28 kB / 485.7 MB, free: 24.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.005178, allocations: 1.25 kB / 485.7 MB, free: 24.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001013/0.00528, allocations: 82.27 kB / 485.8 MB, free: 24.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.005294, allocations: 13.72 kB / 485.8 MB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.005298, allocations: 0.9688 kB / 485.8 MB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.005313, allocations: 2.969 kB / 485.8 MB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.363e-05/0.005387, allocations: 18.53 kB / 485.8 MB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.005394, allocations: 3.531 kB / 485.8 MB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.005422, allocations: 7.641 kB / 485.8 MB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.005431, allocations: 7.844 kB / 485.8 MB, free: 24.4 MB / 426.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 6.56e-05/0.005496, allocations: 171.7 kB / 486 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.005507, allocations: 11.12 kB / 486 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.005617, allocations: 74 kB / 486.1 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005619, allocations: 2.125 kB / 486.1 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.005623, allocations: 0 / 486.1 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.005626, allocations: 0.8125 kB / 486.1 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.005821, allocations: 330 kB / 486.4 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005822, allocations: 1.125 kB / 486.4 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.005852, allocations: 10.19 kB / 486.4 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.005854, allocations: 1.094 kB / 486.4 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.005861, allocations: 2.25 kB / 486.4 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.005862, allocations: 0 / 486.4 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.005863, allocations: 0 / 486.4 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.005975, allocations: 222.8 kB / 486.7 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-06/0.005983, allocations: 10.05 kB / 486.7 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.005999, allocations: 9 kB / 486.7 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.48e-05/0.006044, allocations: 12.12 kB / 486.7 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.006081, allocations: 5.391 kB / 486.7 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.006091, allocations: 2.219 kB / 486.7 MB, free: 23.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.006134, allocations: 124.6 kB / 486.8 MB, free: 23.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006134, allocations: 0 / 486.8 MB, free: 23.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.006301, allocations: 18.75 kB / 486.8 MB, free: 23.52 MB / 426.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.906e-05/0.0064, allocations: 97.5 kB / 486.9 MB, free: 23.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.98e-05/0.0065, allocations: 46.42 kB / 487 MB, free: 23.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006502, allocations: 1.438 kB / 487 MB, free: 23.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.006536, allocations: 26.33 kB / 487 MB, free: 23.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.006722, allocations: 9.062 kB / 487 MB, free: 23.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.007141, allocations: 152.2 kB / 487.2 MB, free: 23.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.639e-05/0.007167, allocations: 56.61 kB / 487.2 MB, free: 23.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.175e-05/0.007189, allocations: 8.281 kB / 487.2 MB, free: 23.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.414e-05/0.007213, allocations: 12.84 kB / 487.2 MB, free: 23.18 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007214, allocations: 0 / 487.2 MB, free: 23.18 MB / 426.7 MB Notification: Performance of Templates: time 0.002528/0.009742, allocations: 0.8861 MB / 488.1 MB, free: 23.11 MB / 426.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.5994797768071294]