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.001416/0.001416, allocations: 92.7 kB / 19.44 MB, free: 324 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.001641/0.001641, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.469/1.469, allocations: 177.2 MB / 203.1 MB, free: 5.562 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.002741/0.002741, allocations: 229.1 kB / 259.8 MB, free: 12.81 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.105/1.105, allocations: 138.4 MB / 454.7 MB, free: 1.434 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.402e-06/1.402e-06, allocations: 0 / 0.5543 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.784e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.002863/0.002891, allocations: 1.435 MB / 0.5557 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009312/0.003822, allocations: 446.9 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.314e-05/0.003876, allocations: 0 / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.003906, allocations: 3.938 kB / 0.5561 GB, free: 15 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.942e-05/0.003995, allocations: 15.86 kB / 0.5561 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.004158, allocations: 15.92 kB / 0.5561 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.004283, allocations: 55.78 kB / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.305e-05/0.004366, allocations: 7.984 kB / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.611e-05/0.004463, allocations: 31.86 kB / 0.5562 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.004528, allocations: 15.98 kB / 0.5562 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.004549, allocations: 4 kB / 0.5562 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.004562, allocations: 4 kB / 0.5562 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.004589, allocations: 11.92 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.451e-05/0.004644, allocations: 15.98 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.00478, allocations: 43.81 kB / 0.5563 GB, free: 14.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004782, allocations: 0 / 0.5563 GB, free: 14.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004783, allocations: 0 / 0.5563 GB, free: 14.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004787, 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.000659/0.005446, allocations: 327.9 kB / 0.5566 GB, free: 14.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.005487, allocations: 8.75 kB / 0.5566 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.005542, allocations: 12.94 kB / 0.5566 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.005675, allocations: 121.6 kB / 0.5568 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.005692, allocations: 4.359 kB / 0.5568 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.005705, allocations: 4.375 kB / 0.5568 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.005865, allocations: 75.95 kB / 0.5568 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.005872, allocations: 192 / 0.5568 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.005883, allocations: 384 / 0.5568 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.005889, allocations: 7.938 kB / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.005979, allocations: 49.69 kB / 0.5569 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.006392, allocations: 212.5 kB / 0.5571 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.006511, allocations: 60.28 kB / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.00666, allocations: 46.67 kB / 0.5572 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.006682, allocations: 4 kB / 0.5572 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.006914, allocations: 138.7 kB / 0.5573 GB, free: 13.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 3.586e-06/0.006918, allocations: 3.984 kB / 0.5573 GB, free: 13.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003779/0.007295, allocations: 199.1 kB / 0.5575 GB, free: 13.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.007367, allocations: 81.11 kB / 0.5576 GB, free: 13.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.007483, allocations: 117.8 kB / 0.5577 GB, free: 13.13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.007505, allocations: 37.58 kB / 0.5578 GB, free: 13.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.007568, allocations: 84.14 kB / 0.5578 GB, free: 13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.007609, allocations: 19.89 kB / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.007659, allocations: 21.72 kB / 0.5579 GB, free: 12.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.007828, allocations: 322.8 kB / 0.5582 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.007888, allocations: 37.7 kB / 0.5582 GB, free: 12.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-05/0.007972, allocations: 72.2 kB / 0.5583 GB, free: 12.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.008111, allocations: 117.9 kB / 0.5584 GB, free: 12.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.008113, allocations: 4 kB / 0.5584 GB, free: 12.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000237/0.00835, allocations: 164.9 kB / 0.5586 GB, free: 12.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.008393, allocations: 33.7 kB / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.008399, allocations: 0 / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.008417, allocations: 0 / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.008464, allocations: 4 kB / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.00847, allocations: 0 / 0.5586 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.008559, allocations: 15.98 kB / 0.5586 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.00857, allocations: 4 kB / 0.5586 GB, free: 12.12 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.000132/0.008702, allocations: 148.6 kB / 0.5588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.008733, allocations: 19.88 kB / 0.5588 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.008761, allocations: 12.44 kB / 0.5588 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.008764, allocations: 64 / 0.5588 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.008771, allocations: 4 kB / 0.5588 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.008774, allocations: 0 / 0.5588 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.009253, allocations: 369.5 kB / 0.5592 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009254, allocations: 0 / 0.5592 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.076e-05/0.009265, allocations: 3.984 kB / 0.5592 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.00927, allocations: 4 kB / 0.5592 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.00928, allocations: 4 kB / 0.5592 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009281, allocations: 0 / 0.5592 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.009282, allocations: 0 / 0.5592 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.009616, allocations: 274.7 kB / 0.5594 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.009632, allocations: 7.953 kB / 0.5594 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.009657, allocations: 7.984 kB / 0.5594 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.009773, allocations: 8 kB / 0.5594 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.009833, allocations: 7.984 kB / 0.5595 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.009852, allocations: 4 kB / 0.5595 GB, free: 11.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.726e-05/0.009919, allocations: 87.81 kB / 0.5595 GB, free: 11.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009919, allocations: 4 kB / 0.5595 GB, free: 11.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.01017, allocations: 16 kB / 0.5596 GB, free: 11.07 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.0001194/0.01029, allocations: 99.25 kB / 0.5597 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.01054, allocations: 166.7 kB / 0.5598 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01055, allocations: 0 / 0.5598 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.01067, allocations: 113 kB / 0.5599 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.01099, allocations: 24.36 kB / 0.5599 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.0114, allocations: 186.1 kB / 0.5601 GB, free: 10.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.035e-05/0.01148, allocations: 75.45 kB / 0.5602 GB, free: 10.31 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.928e-05/0.01151, allocations: 4 kB / 0.5602 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.01155, allocations: 12.5 kB / 0.5602 GB, free: 10.29 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01155, allocations: 0 / 0.5602 GB, free: 10.29 MB / 490.7 MB Notification: Performance of Templates: time 0.004063/0.01561, allocations: 0.9567 MB / 0.5611 GB, free: 9.363 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.42858610895928]