Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001885/0.001885, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 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.002332/0.002332, allocations: 216 kB / 23.02 MB, free: 2.961 MB / 13.93 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.687/1.687, allocations: 230.6 MB / 256.8 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.261/3.261, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.004776/0.004776, allocations: 75.83 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8346/0.8394, allocations: 180 MB / 1.353 GB, free: 1.629 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.006734/0.8461, allocations: 1.444 MB / 1.354 GB, free: 180 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.004159/0.8503, allocations: 447 kB / 1.355 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.8504, allocations: 0 / 1.355 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.8504, allocations: 3.938 kB / 1.355 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.8505, allocations: 15.86 kB / 1.355 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.8507, allocations: 19.97 kB / 1.355 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.8508, allocations: 47.86 kB / 1.355 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.8509, allocations: 11.98 kB / 1.355 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.799e-05/0.851, allocations: 23.88 kB / 1.355 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.851, allocations: 15.92 kB / 1.355 GB, free: 15.6 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.8511, allocations: 4 kB / 1.355 GB, free: 15.59 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.684e-05/0.8511, allocations: 4 kB / 1.355 GB, free: 15.59 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.8511, allocations: 15.92 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.8512, allocations: 15.92 kB / 1.355 GB, free: 15.56 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.8513, allocations: 38.7 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.8513, allocations: 0 / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8513, allocations: 4 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.8513, allocations: 0 / 1.355 GB, free: 15.52 MB / 1.042 GB 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.0007854/0.8521, allocations: 319.9 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.8521, allocations: 20.8 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.8522, allocations: 8.891 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.8523, allocations: 114.5 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.8524, allocations: 384 / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.8524, allocations: 4.375 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/0.8556, allocations: 87.67 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8556, allocations: 0 / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.8556, allocations: 0 / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.8556, allocations: 4 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.8557, allocations: 49.69 kB / 1.355 GB, free: 14.85 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.8562, allocations: 212.5 kB / 1.356 GB, free: 14.61 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.8563, allocations: 68.2 kB / 1.356 GB, free: 14.53 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.8564, allocations: 46.67 kB / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.8565, allocations: 0 / 1.356 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.8567, allocations: 134.7 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.8567, allocations: 0 / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.000445/0.8571, allocations: 202.8 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.976e-05/0.8572, allocations: 85.11 kB / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.8574, allocations: 121.8 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.8574, allocations: 25.7 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.8575, allocations: 84.14 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.8575, allocations: 19.86 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/0.8576, allocations: 29.7 kB / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.8578, allocations: 314.8 kB / 1.357 GB, free: 13.38 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.894e-05/0.8579, allocations: 45.69 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.858, allocations: 64.27 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.8581, allocations: 117.9 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.8582, allocations: 7.938 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.003291/0.8614, allocations: 153 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.8615, allocations: 37.69 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.8615, allocations: 4.453 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.8615, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.802e-05/0.8616, allocations: 4 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.8616, allocations: 3.938 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.829e-05/0.8617, allocations: 7.953 kB / 1.357 GB, free: 12.87 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.8617, allocations: 8 kB / 1.357 GB, free: 12.86 MB / 1.042 GB 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.0001738/0.8619, allocations: 160 kB / 1.357 GB, free: 12.69 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.8619, allocations: 4 kB / 1.357 GB, free: 12.69 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.8619, allocations: 8.375 kB / 1.357 GB, free: 12.68 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.8619, allocations: 4 kB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.8619, allocations: 0 / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.8619, allocations: 3.984 kB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.8625, allocations: 369.8 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8625, allocations: 3.938 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.018e-05/0.8625, allocations: 0 / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.8625, allocations: 0 / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.8626, allocations: 12 kB / 1.358 GB, free: 12.24 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8626, allocations: 0 / 1.358 GB, free: 12.24 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8626, allocations: 0 / 1.358 GB, free: 12.24 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.863, allocations: 270.8 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.863, allocations: 7.891 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.863, allocations: 4 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.8632, allocations: 7.984 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.8632, allocations: 11.98 kB / 1.358 GB, free: 11.92 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.8632, allocations: 4 kB / 1.358 GB, free: 11.91 MB / 1.042 GB Notification: Performance of sorting global known variables: time 7.653e-05/0.8633, allocations: 83.28 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8633, allocations: 4 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003896/0.8637, allocations: 16 kB / 1.358 GB, free: 11.81 MB / 1.042 GB 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 0.0001391/0.8638, allocations: 107.2 kB / 1.358 GB, free: 11.7 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.8642, allocations: 166.7 kB / 1.358 GB, free: 11.51 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8642, allocations: 0 / 1.358 GB, free: 11.51 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.8643, allocations: 113 kB / 1.359 GB, free: 11.38 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.8648, allocations: 19.97 kB / 1.359 GB, free: 11.36 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.8652, allocations: 175.2 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.043e-05/0.8653, allocations: 71.34 kB / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.8653, allocations: 4 kB / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.8654, allocations: 11.38 kB / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of SimCode: time 4.51e-07/0.8654, allocations: 0 / 1.359 GB, free: 11.06 MB / 1.042 GB Notification: Performance of Templates: time 0.003941/0.8693, allocations: 0.9574 MB / 1.36 GB, free: 10.14 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.857797175645828]