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.002215/0.002215, allocations: 85.48 kB / 19.44 MB, free: 344 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.002673/0.002673, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.624/1.624, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.003213/0.003213, allocations: 233.8 kB / 259.8 MB, free: 12.88 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 1.232/1.232, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.263e-06/1.263e-06, allocations: 0 / 0.5543 GB, free: 0.918 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.327e-05, allocations: 6.25 kB / 0.5543 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.002718/0.002741, allocations: 1.45 MB / 0.5557 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.003764, allocations: 454.9 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.003799, allocations: 0 / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.003826, allocations: 3.938 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.73e-05/0.003914, allocations: 19.86 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.004061, allocations: 19.92 kB / 0.5562 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.004181, allocations: 47.84 kB / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.979e-05/0.004261, allocations: 7.984 kB / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.465e-05/0.004356, allocations: 31.86 kB / 0.5562 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.004433, allocations: 15.92 kB / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.004455, allocations: 4 kB / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.004469, allocations: 4 kB / 0.5563 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.004494, allocations: 7.984 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.56e-05/0.00454, allocations: 15.92 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.004664, allocations: 47.88 kB / 0.5563 GB, free: 14.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.004671, allocations: 4 kB / 0.5563 GB, free: 14.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004671, allocations: 0 / 0.5563 GB, free: 14.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.004675, allocations: 0 / 0.5563 GB, free: 14.78 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.0006846/0.00536, allocations: 413.9 kB / 0.5567 GB, free: 14.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.005399, allocations: 12.75 kB / 0.5567 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.005451, allocations: 12.92 kB / 0.5568 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.00559, allocations: 120.5 kB / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.005606, allocations: 12.25 kB / 0.5569 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.005617, allocations: 8.375 kB / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.005765, allocations: 83.94 kB / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005773, allocations: 192 / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.005782, allocations: 384 / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.005791, allocations: 3.938 kB / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.106e-05/0.005872, allocations: 41.7 kB / 0.557 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.006308, allocations: 267.8 kB / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.006435, allocations: 80.69 kB / 0.5574 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.315e-05/0.006498, allocations: 49.52 kB / 0.5574 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.006517, allocations: 0 / 0.5574 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.006711, allocations: 148.3 kB / 0.5575 GB, free: 13.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.006713, allocations: 0 / 0.5575 GB, free: 13.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003747/0.007087, allocations: 211.1 kB / 0.5577 GB, free: 13.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.007156, allocations: 81.09 kB / 0.5578 GB, free: 13.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.007316, allocations: 177.9 kB / 0.558 GB, free: 12.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.00734, allocations: 29.7 kB / 0.558 GB, free: 12.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.71e-05/0.007427, allocations: 130.9 kB / 0.5581 GB, free: 12.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.00745, allocations: 15.91 kB / 0.5582 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.007515, allocations: 39.36 kB / 0.5582 GB, free: 12.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002585/0.007773, allocations: 0.4884 MB / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-05/0.007836, allocations: 53.62 kB / 0.5587 GB, free: 12.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.217e-05/0.007928, allocations: 76.69 kB / 0.5588 GB, free: 11.97 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.008076, allocations: 122.5 kB / 0.5589 GB, free: 11.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.008077, allocations: 4 kB / 0.5589 GB, free: 11.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002351/0.008312, allocations: 168.8 kB / 0.5591 GB, free: 11.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.008354, allocations: 36.83 kB / 0.5591 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.008359, allocations: 0 / 0.5591 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.008373, allocations: 3.984 kB / 0.5591 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.00842, allocations: 8.062 kB / 0.5591 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.008427, allocations: 4 kB / 0.5591 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.008479, allocations: 4 kB / 0.5591 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.008491, allocations: 8 kB / 0.5591 GB, free: 11.57 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 0.0001515/0.008642, allocations: 199.2 kB / 0.5593 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.008672, allocations: 15.88 kB / 0.5593 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.0087, allocations: 12.44 kB / 0.5594 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.008701, allocations: 0 / 0.5594 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.008704, allocations: 3.938 kB / 0.5594 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.008707, allocations: 0 / 0.5594 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.009228, allocations: 440.7 kB / 0.5598 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.00923, allocations: 0 / 0.5598 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.316e-06/0.009238, allocations: 0 / 0.5598 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.00924, allocations: 4 kB / 0.5598 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.00925, allocations: 0 / 0.5598 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.009253, allocations: 4.062 kB / 0.5598 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.009254, allocations: 0 / 0.5598 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.009597, allocations: 331.1 kB / 0.5601 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.009612, allocations: 7.953 kB / 0.5601 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.009633, allocations: 4 kB / 0.5601 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.31e-05/0.009726, allocations: 8 kB / 0.5601 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.009771, allocations: 7.984 kB / 0.5601 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.009784, allocations: 4 kB / 0.5601 GB, free: 10.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.867e-05/0.009873, allocations: 135.7 kB / 0.5603 GB, free: 10.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009873, allocations: 0 / 0.5603 GB, free: 10.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.01011, allocations: 16 kB / 0.5603 GB, free: 10.31 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 0.0001069/0.01022, allocations: 99.25 kB / 0.5604 GB, free: 10.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.01049, allocations: 186.4 kB / 0.5606 GB, free: 9.988 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01049, allocations: 0 / 0.5606 GB, free: 9.988 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.01063, allocations: 124.9 kB / 0.5607 GB, free: 9.844 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.01093, allocations: 20.31 kB / 0.5607 GB, free: 9.824 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.01134, allocations: 203.7 kB / 0.5609 GB, free: 9.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.83e-05/0.01141, allocations: 67.34 kB / 0.5609 GB, free: 9.504 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.779e-05/0.01144, allocations: 7.984 kB / 0.561 GB, free: 9.496 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.01148, allocations: 12.5 kB / 0.561 GB, free: 9.48 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01148, allocations: 0 / 0.561 GB, free: 9.48 MB / 490.7 MB Notification: Performance of Templates: time 0.003941/0.01542, allocations: 0.9464 MB / 0.5619 GB, free: 8.555 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: 5.941701172036119]