Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.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.001563/0.001563, allocations: 83.03 kB / 19.94 MB, free: 1.777 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.001654/0.001654, allocations: 163.2 kB / 23.22 MB, free: 4.902 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.378/1.378, allocations: 177.2 MB / 203.5 MB, free: 9.152 MB / 190.1 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.9004/0.9004, allocations: 114 MB / 373.9 MB, free: 13.27 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5546 GB, free: 2.707 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.455e-05, allocations: 2.281 kB / 0.5546 GB, free: 2.703 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.00255/0.002574, allocations: 1.444 MB / 0.556 GB, free: 1.258 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.003479, allocations: 446.8 kB / 0.5565 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.003519, allocations: 4 kB / 0.5565 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.00355, allocations: 3.938 kB / 0.5565 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.892e-05/0.003629, allocations: 15.86 kB / 0.5565 GB, free: 0.793 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.003776, allocations: 11.98 kB / 0.5565 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.003916, allocations: 55.84 kB / 0.5565 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.004014, allocations: 7.984 kB / 0.5566 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.592e-05/0.00411, allocations: 31.86 kB / 0.5566 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.135e-05/0.004181, allocations: 15.92 kB / 0.5566 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.004205, allocations: 4 kB / 0.5566 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.004219, allocations: 4 kB / 0.5566 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.004246, allocations: 11.97 kB / 0.5566 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.00429, allocations: 15.94 kB / 0.5566 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.004423, allocations: 51.86 kB / 0.5567 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004425, allocations: 0 / 0.5567 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004425, allocations: 0 / 0.5567 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.004433, allocations: 4 kB / 0.5567 GB, free: 0.582 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006069/0.00504, allocations: 312 kB / 0.557 GB, free: 248 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.005074, allocations: 8.625 kB / 0.557 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.005111, allocations: 8.891 kB / 0.557 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.005233, allocations: 109.7 kB / 0.5571 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.005241, allocations: 384 / 0.5571 GB, free: 96 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.005255, allocations: 4.375 kB / 0.5571 GB, free: 92 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.005413, allocations: 83.88 kB / 0.5572 GB, free: 16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.005422, allocations: 8.172 kB / 0.5572 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.005435, allocations: 8.312 kB / 0.5572 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.00544, allocations: 3.938 kB / 0.5572 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.005514, allocations: 45.69 kB / 0.5573 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.005888, allocations: 208.5 kB / 0.5574 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.006003, allocations: 72.2 kB / 0.5575 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.006059, allocations: 46.67 kB / 0.5576 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.006074, allocations: 3.938 kB / 0.5576 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.006256, allocations: 134.8 kB / 0.5577 GB, free: 15.39 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.006258, allocations: 4 kB / 0.5577 GB, free: 15.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003721/0.00663, allocations: 202.7 kB / 0.5579 GB, free: 15.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.00669, allocations: 81.11 kB / 0.558 GB, free: 15.07 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/0.006782, allocations: 109.8 kB / 0.5581 GB, free: 14.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.006804, allocations: 29.7 kB / 0.5581 GB, free: 14.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.006863, allocations: 84.14 kB / 0.5582 GB, free: 14.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.006889, allocations: 23.84 kB / 0.5582 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.006933, allocations: 21.72 kB / 0.5582 GB, free: 14.78 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.007076, allocations: 322.8 kB / 0.5585 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.339e-05/0.007129, allocations: 37.7 kB / 0.5586 GB, free: 14.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.399e-05/0.007203, allocations: 68.2 kB / 0.5586 GB, free: 14.33 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.007325, allocations: 122 kB / 0.5588 GB, free: 14.19 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.007326, allocations: 0 / 0.5588 GB, free: 14.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001921/0.007518, allocations: 153 kB / 0.5589 GB, free: 14.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.007556, allocations: 37.69 kB / 0.5589 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.00756, allocations: 400 / 0.5589 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.007575, allocations: 4 kB / 0.5589 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.026e-05/0.007615, allocations: 3.938 kB / 0.5589 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.007621, allocations: 4 kB / 0.5589 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.734e-05/0.007688, allocations: 19.94 kB / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.007702, allocations: 4 kB / 0.559 GB, free: 13.94 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$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): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001246/0.007827, allocations: 151.5 kB / 0.5591 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.007845, allocations: 7.938 kB / 0.5591 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.148e-05/0.007867, allocations: 4.438 kB / 0.5591 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.00787, allocations: 3.984 kB / 0.5591 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.007874, allocations: 3.938 kB / 0.5591 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007877, allocations: 64 / 0.5591 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004278/0.008305, allocations: 385.8 kB / 0.5595 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008307, allocations: 0 / 0.5595 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-05/0.008317, allocations: 8 kB / 0.5595 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008319, allocations: 0 / 0.5595 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.008332, allocations: 7.984 kB / 0.5595 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008333, allocations: 0 / 0.5595 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.008334, allocations: 4 kB / 0.5595 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.008594, allocations: 254.8 kB / 0.5598 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.008615, allocations: 11.95 kB / 0.5598 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.008633, allocations: 0 / 0.5598 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.008738, allocations: 7.984 kB / 0.5598 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.008776, allocations: 7.984 kB / 0.5598 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.008796, allocations: 12 kB / 0.5598 GB, free: 13 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.568e-05/0.008852, allocations: 87.27 kB / 0.5599 GB, free: 12.91 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.008852, allocations: 0 / 0.5599 GB, free: 12.91 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.00909, allocations: 16 kB / 0.5599 GB, free: 12.9 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.981e-05/0.00919, allocations: 100.9 kB / 0.56 GB, free: 12.79 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.009412, allocations: 166.7 kB / 0.5602 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009414, allocations: 0 / 0.5602 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.009534, allocations: 109.1 kB / 0.5603 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.009832, allocations: 32.03 kB / 0.5603 GB, free: 12.45 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.01018, allocations: 174.5 kB / 0.5605 GB, free: 12.24 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.448e-05/0.01024, allocations: 67.34 kB / 0.5605 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.569e-05/0.01027, allocations: 7.984 kB / 0.5605 GB, free: 12.15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.0103, allocations: 16.5 kB / 0.5605 GB, free: 12.13 MB / 478.1 MB Notification: Performance of SimCode: time 3.8e-07/0.0103, allocations: 0 / 0.5605 GB, free: 12.13 MB / 478.1 MB Notification: Performance of Templates: time 0.003575/0.01387, allocations: 0.9355 MB / 0.5615 GB, free: 11.23 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.03137755766511] Failed to read output from testmodel.py, exit status != 0: 0.02187490463256836 0.036194909000000004 0.028753591000000002 Calling exit ...