Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.0007671/0.0007671, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.000815/0.000815, allocations: 170.3 kB / 23.97 MB, free: 0.5977 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.8906/0.8906, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.5456/0.5456, allocations: 114 MB / 374.7 MB, free: 8.715 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.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5554 GB, free: 1.238 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.96e-05, allocations: 5.344 kB / 0.5554 GB, free: 1.234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001104/0.001124, allocations: 0.6528 MB / 0.556 GB, free: 0.582 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009796/0.002104, allocations: 1.085 MB / 0.5571 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.002142, allocations: 0 / 0.5571 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.002168, allocations: 3.938 kB / 0.5571 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.567e-05/0.002224, allocations: 7.875 kB / 0.5571 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.002465, allocations: 47.83 kB / 0.5571 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.03e-05/0.002545, allocations: 47.84 kB / 0.5572 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.002632, allocations: 8 kB / 0.5572 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.002698, allocations: 27.91 kB / 0.5572 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.97e-05/0.002737, allocations: 23.91 kB / 0.5572 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.002751, allocations: 4 kB / 0.5573 GB, free: 15.32 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.712e-05/0.002808, allocations: 19.98 kB / 0.5573 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.002826, allocations: 7.984 kB / 0.5573 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.002853, allocations: 19.92 kB / 0.5573 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.002964, allocations: 59.84 kB / 0.5574 GB, free: 15.21 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.002966, allocations: 7.938 kB / 0.5574 GB, free: 15.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.002967, allocations: 0 / 0.5574 GB, free: 15.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.002971, allocations: 0 / 0.5574 GB, free: 15.2 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003703/0.003341, allocations: 290.1 kB / 0.5576 GB, free: 14.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.003374, allocations: 8.625 kB / 0.5576 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.479e-05/0.003439, allocations: 8.891 kB / 0.5577 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.011e-05/0.003509, allocations: 117.7 kB / 0.5578 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.00352, allocations: 384 / 0.5578 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.00353, allocations: 4.375 kB / 0.5578 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.003661, allocations: 74.14 kB / 0.5578 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.003669, allocations: 192 / 0.5578 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.003678, allocations: 384 / 0.5578 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.003682, allocations: 4.375 kB / 0.5578 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.934e-05/0.003782, allocations: 43.89 kB / 0.5579 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.004094, allocations: 224.5 kB / 0.5581 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.702e-05/0.004191, allocations: 54.48 kB / 0.5582 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.004236, allocations: 28.97 kB / 0.5582 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.004253, allocations: 0 / 0.5582 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.004361, allocations: 75.31 kB / 0.5583 GB, free: 14.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.004362, allocations: 0 / 0.5583 GB, free: 14.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002387/0.0046, allocations: 125.6 kB / 0.5584 GB, free: 14.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.00463, allocations: 51.41 kB / 0.5584 GB, free: 13.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.004685, allocations: 113.8 kB / 0.5585 GB, free: 13.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.004701, allocations: 29.7 kB / 0.5586 GB, free: 13.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.004738, allocations: 88.08 kB / 0.5586 GB, free: 13.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.004755, allocations: 19.91 kB / 0.5587 GB, free: 13.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.004785, allocations: 21.7 kB / 0.5587 GB, free: 13.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.004854, allocations: 318.8 kB / 0.559 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.892e-05/0.004903, allocations: 23.97 kB / 0.559 GB, free: 13.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.994e-05/0.004963, allocations: 56.27 kB / 0.5591 GB, free: 13.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.005071, allocations: 88.2 kB / 0.5592 GB, free: 13.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.005073, allocations: 4 kB / 0.5592 GB, free: 13.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000138/0.005211, allocations: 109.6 kB / 0.5593 GB, free: 13.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.005224, allocations: 11.94 kB / 0.5593 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.005228, allocations: 3.938 kB / 0.5593 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.005239, allocations: 0 / 0.5593 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.005308, allocations: 23.92 kB / 0.5593 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.005313, allocations: 4 kB / 0.5593 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/0.005345, allocations: 11.94 kB / 0.5593 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.005352, allocations: 4 kB / 0.5593 GB, free: 13 MB / 490.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 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.729e-05/0.00541, allocations: 114.7 kB / 0.5594 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-06/0.005416, allocations: 8.219 kB / 0.5594 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.005559, allocations: 106.3 kB / 0.5595 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.005561, allocations: 3.938 kB / 0.5595 GB, free: 12.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.005565, allocations: 3.938 kB / 0.5595 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.005568, allocations: 3.984 kB / 0.5595 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.005801, allocations: 306.1 kB / 0.5598 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005802, allocations: 0 / 0.5598 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.005827, allocations: 11.98 kB / 0.5598 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.005829, allocations: 0 / 0.5598 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.005836, allocations: 4 kB / 0.5599 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005837, allocations: 0 / 0.5599 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.005838, allocations: 3.938 kB / 0.5599 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.005971, allocations: 187.4 kB / 0.56 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.005978, allocations: 7.953 kB / 0.56 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.005992, allocations: 4 kB / 0.56 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.006031, allocations: 7.984 kB / 0.5601 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.00606, allocations: 8 kB / 0.5601 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.006064, allocations: 0 / 0.5601 GB, free: 12.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.871e-05/0.006093, allocations: 91.27 kB / 0.5601 GB, free: 12.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006093, allocations: 0 / 0.5601 GB, free: 12.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001565/0.006249, allocations: 8 kB / 0.5602 GB, free: 12.07 MB / 490.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 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.766e-05/0.006347, allocations: 99.25 kB / 0.5603 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.006489, allocations: 72.12 kB / 0.5603 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006491, allocations: 0 / 0.5603 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.267e-05/0.006543, allocations: 31.92 kB / 0.5604 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.00672, allocations: 13.64 kB / 0.5604 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.00696, allocations: 154.9 kB / 0.5605 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.237e-05/0.007002, allocations: 79.31 kB / 0.5606 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.007026, allocations: 20.44 kB / 0.5606 GB, free: 11.55 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007027, allocations: 4.062 kB / 0.5606 GB, free: 11.54 MB / 490.7 MB Notification: Performance of Templates: time 0.001595/0.008622, allocations: 0.8955 MB / 0.5615 GB, free: 10.66 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.622363975271583] Failed to read output from testmodel.py, exit status != 0: 0.012725617736577988 0.019974782 0.015518975 Calling exit ...