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.0008871/0.0008871, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009064/0.0009064, allocations: 173 kB / 23.03 MB, free: 1.543 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.9671/0.9671, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.001571/0.001571, allocations: 234 kB / 260.2 MB, free: 12.82 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.6539/0.6539, allocations: 138.4 MB / 455.2 MB, free: 1.547 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 2.815e-06/2.815e-06, allocations: 4 kB / 0.5551 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.909e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.001797/0.001816, allocations: 1.463 MB / 0.5565 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005883/0.002404, allocations: 478.7 kB / 0.557 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.002439, allocations: 4 kB / 0.557 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.002465, allocations: 0 / 0.557 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.027e-05/0.002545, allocations: 7.922 kB / 0.557 GB, free: 14.63 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.002688, allocations: 27.8 kB / 0.557 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.002789, allocations: 47.84 kB / 0.557 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.818e-05/0.002867, allocations: 7.984 kB / 0.557 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.915e-05/0.002936, allocations: 27.92 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.773e-05/0.002994, allocations: 19.92 kB / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.003013, allocations: 4 kB / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.003024, allocations: 4 kB / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.003047, allocations: 11.97 kB / 0.5571 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.493e-05/0.003082, allocations: 12 kB / 0.5571 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.883e-05/0.003181, allocations: 35.83 kB / 0.5572 GB, free: 14.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003182, allocations: 0 / 0.5572 GB, free: 14.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003183, allocations: 0 / 0.5572 GB, free: 14.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.003187, allocations: 4 kB / 0.5572 GB, free: 14.43 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.0004515/0.003638, allocations: 422.2 kB / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.003673, allocations: 8.75 kB / 0.5576 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.003714, allocations: 8.938 kB / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.006e-05/0.003794, allocations: 124.5 kB / 0.5577 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.003805, allocations: 4.359 kB / 0.5577 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.003815, allocations: 4.375 kB / 0.5577 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.139e-05/0.003906, allocations: 71.95 kB / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.003912, allocations: 192 / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.003921, allocations: 384 / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.003928, allocations: 3.938 kB / 0.5578 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.942e-05/0.003967, allocations: 45.62 kB / 0.5578 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.004262, allocations: 267.7 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.029e-05/0.004333, allocations: 64.77 kB / 0.5581 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.004365, allocations: 49.5 kB / 0.5582 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.004378, allocations: 0 / 0.5582 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.004494, allocations: 140.3 kB / 0.5583 GB, free: 13.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.004495, allocations: 0 / 0.5583 GB, free: 13.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002138/0.004709, allocations: 190.8 kB / 0.5585 GB, free: 12.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.004746, allocations: 81.05 kB / 0.5586 GB, free: 12.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.004817, allocations: 173.9 kB / 0.5587 GB, free: 12.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.004827, allocations: 33.7 kB / 0.5588 GB, free: 12.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.004869, allocations: 130.9 kB / 0.5589 GB, free: 12.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.004884, allocations: 15.91 kB / 0.5589 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.004914, allocations: 27.38 kB / 0.5589 GB, free: 12.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.005008, allocations: 0.4923 MB / 0.5594 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.005035, allocations: 41.69 kB / 0.5595 GB, free: 11.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.005076, allocations: 68.75 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.59e-05/0.005142, allocations: 110.4 kB / 0.5596 GB, free: 11.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005144, allocations: 0 / 0.5596 GB, free: 11.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001126/0.005256, allocations: 168.9 kB / 0.5598 GB, free: 11.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.005279, allocations: 29.7 kB / 0.5598 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005284, allocations: 4 kB / 0.5598 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.005293, allocations: 0 / 0.5598 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.918e-05/0.005333, allocations: 4 kB / 0.5598 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.005337, allocations: 0 / 0.5598 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.536e-05/0.005372, allocations: 7.984 kB / 0.5598 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.00538, allocations: 4 kB / 0.5598 GB, free: 11.34 MB / 490.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 7.356e-05/0.005454, allocations: 198.2 kB / 0.56 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.005468, allocations: 19.95 kB / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.005487, allocations: 12.42 kB / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.005488, allocations: 0 / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.005491, allocations: 0 / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.005494, allocations: 0 / 0.5601 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.005752, allocations: 421.1 kB / 0.5605 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.005753, allocations: 0 / 0.5605 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-06/0.005758, allocations: 4.047 kB / 0.5605 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.00576, allocations: 4 kB / 0.5605 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.005769, allocations: 4 kB / 0.5605 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.00577, allocations: 0 / 0.5605 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.005771, allocations: 4 kB / 0.5605 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.005911, allocations: 319.5 kB / 0.5608 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.00592, allocations: 7.953 kB / 0.5608 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.005938, allocations: 3.984 kB / 0.5608 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.005987, allocations: 12 kB / 0.5608 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.006024, allocations: 7.969 kB / 0.5608 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.006035, allocations: 4 kB / 0.5608 GB, free: 10.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.565e-05/0.006071, allocations: 139.3 kB / 0.561 GB, free: 10.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006071, allocations: 0 / 0.561 GB, free: 10.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000143/0.006214, allocations: 12 kB / 0.561 GB, free: 10.1 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: 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.114e-05/0.006275, allocations: 103.2 kB / 0.5611 GB, free: 9.984 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.006415, allocations: 166.4 kB / 0.5612 GB, free: 9.793 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.006416, allocations: 0 / 0.5612 GB, free: 9.793 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.807e-05/0.006474, allocations: 124.7 kB / 0.5613 GB, free: 9.648 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.006663, allocations: 15.98 kB / 0.5614 GB, free: 9.633 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.006906, allocations: 183.8 kB / 0.5615 GB, free: 9.418 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.212e-05/0.006939, allocations: 59.34 kB / 0.5616 GB, free: 9.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.913e-05/0.006958, allocations: 8.125 kB / 0.5616 GB, free: 9.332 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/0.006984, allocations: 16.5 kB / 0.5616 GB, free: 9.312 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.006985, allocations: 0 / 0.5616 GB, free: 9.312 MB / 490.7 MB Notification: Performance of Templates: time 0.002504/0.009489, allocations: 1.014 MB / 0.5626 GB, free: 8.332 MB / 490.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.3142164209857583]