Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007436/0.0007436, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0008566/0.0008566, allocations: 181 kB / 23.36 MB, free: 1.133 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.8895/0.8895, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002323/0.002323, allocations: 241.5 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6854/0.6854, allocations: 138.4 MB / 402.2 MB, free: 0.5586 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 1.188 kB / 462.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.816e-06/1.047e-05, allocations: 3 kB / 462.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.001614/0.001624, allocations: 1.472 MB / 463.7 MB, free: 15.97 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000592/0.002216, allocations: 474.4 kB / 464.2 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.002247, allocations: 1.125 kB / 464.2 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.002267, allocations: 1.125 kB / 464.2 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.002338, allocations: 15.56 kB / 464.2 MB, free: 15.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.002459, allocations: 21.27 kB / 464.2 MB, free: 15.65 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.332e-05/0.002552, allocations: 53.03 kB / 464.3 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.002607, allocations: 6.594 kB / 464.3 MB, free: 15.63 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.002679, allocations: 28.91 kB / 464.3 MB, free: 15.62 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.002734, allocations: 21.27 kB / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.002753, allocations: 4.062 kB / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-06/0.002762, allocations: 4.062 kB / 464.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.002784, allocations: 7.344 kB / 464.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.002813, allocations: 17.58 kB / 464.4 MB, free: 15.6 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.443e-05/0.002898, allocations: 41.84 kB / 464.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.0029, allocations: 0.9688 kB / 464.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.0029, allocations: 0 / 464.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.002903, allocations: 0 / 464.4 MB, free: 15.58 MB / 426.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.0003038/0.003207, allocations: 286.4 kB / 464.7 MB, free: 15.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.573e-05/0.003233, allocations: 11.22 kB / 464.7 MB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.003257, allocations: 6.062 kB / 464.7 MB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.829e-05/0.003325, allocations: 117.8 kB / 464.8 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.003334, allocations: 4.031 kB / 464.8 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.003344, allocations: 10.05 kB / 464.8 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.59e-05/0.00342, allocations: 68.27 kB / 464.9 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.003426, allocations: 1.719 kB / 464.9 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.003432, allocations: 1.781 kB / 464.9 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.003437, allocations: 3.938 kB / 464.9 MB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.146e-05/0.003468, allocations: 46.97 kB / 465 MB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.003653, allocations: 152.7 kB / 465.1 MB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.442e-05/0.003708, allocations: 60.77 kB / 465.2 MB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.003729, allocations: 38.47 kB / 465.2 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.00374, allocations: 1.281 kB / 465.2 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.696e-05/0.003837, allocations: 133 kB / 465.3 MB, free: 14.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.003838, allocations: 0 / 465.3 MB, free: 14.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001351/0.003973, allocations: 159.1 kB / 465.5 MB, free: 14.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.00401, allocations: 84.03 kB / 465.6 MB, free: 14.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.004065, allocations: 121.3 kB / 465.7 MB, free: 14.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.004075, allocations: 27.3 kB / 465.7 MB, free: 14.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.004101, allocations: 82.97 kB / 465.8 MB, free: 14.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.004117, allocations: 22.16 kB / 465.8 MB, free: 14.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.004145, allocations: 24.25 kB / 465.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.032e-05/0.004216, allocations: 319 kB / 466.2 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.004235, allocations: 36.52 kB / 466.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.004269, allocations: 60.42 kB / 466.3 MB, free: 13.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.538e-05/0.004334, allocations: 104.5 kB / 466.4 MB, free: 13.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.004336, allocations: 1.156 kB / 466.4 MB, free: 13.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.285e-05/0.004419, allocations: 131.3 kB / 466.5 MB, free: 13.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.004441, allocations: 33.92 kB / 466.5 MB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.004446, allocations: 5.656 kB / 466.5 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.627e-06/0.004455, allocations: 0 / 466.5 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.416e-05/0.004479, allocations: 7.344 kB / 466.5 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.004482, allocations: 1.531 kB / 466.5 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.004513, allocations: 13.23 kB / 466.5 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.004518, allocations: 3.344 kB / 466.5 MB, free: 13.55 MB / 426.7 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 6.466e-05/0.004582, allocations: 150.3 kB / 466.7 MB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.004594, allocations: 9.734 kB / 466.7 MB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.004615, allocations: 17.25 kB / 466.7 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.004618, allocations: 2.281 kB / 466.7 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.00462, allocations: 0.6094 kB / 466.7 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.004624, allocations: 0.6562 kB / 466.7 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.004819, allocations: 286.2 kB / 467 MB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.004821, allocations: 1.469 kB / 467 MB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-06/0.004824, allocations: 1.422 kB / 467 MB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.004827, allocations: 5.438 kB / 467 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.004834, allocations: 4.406 kB / 467 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.004835, allocations: 0.5625 kB / 467 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.004836, allocations: 0 / 467 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.004943, allocations: 227.4 kB / 467.2 MB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.004952, allocations: 7.766 kB / 467.2 MB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.004967, allocations: 7.062 kB / 467.3 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.753e-05/0.005014, allocations: 10.81 kB / 467.3 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.005043, allocations: 6.844 kB / 467.3 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.005054, allocations: 5.516 kB / 467.3 MB, free: 12.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.274e-05/0.005066, allocations: 12.64 kB / 467.3 MB, free: 12.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005066, allocations: 0 / 467.3 MB, free: 12.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001267/0.005193, allocations: 18.53 kB / 467.3 MB, free: 12.9 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: 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 6.896e-05/0.005262, allocations: 79.69 kB / 467.4 MB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.005373, allocations: 160.6 kB / 467.5 MB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.005375, allocations: 2.844 kB / 467.5 MB, free: 12.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.547e-05/0.005431, allocations: 112.6 kB / 467.7 MB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.005563, allocations: 15.42 kB / 467.7 MB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002106/0.005773, allocations: 184.1 kB / 467.9 MB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.135e-05/0.005805, allocations: 58.78 kB / 467.9 MB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.931e-05/0.005824, allocations: 6.312 kB / 467.9 MB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.00588, allocations: 65.41 kB / 468 MB, free: 12.3 MB / 426.7 MB Notification: Performance of SimCode: time 4.1e-07/0.00588, allocations: 0 / 468 MB, free: 12.3 MB / 426.7 MB Notification: Performance of Templates: time 0.002264/0.008144, allocations: 0.984 MB / 469 MB, free: 11.69 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.285970170982182]