Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007208/0.007208, allocations: 101.3 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 182.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.681/1.681, allocations: 251.7 MB / 0.5094 GB, free: 3.074 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 71.89 kB / 0.7257 GB, free: 9.082 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2772, allocations: 104.7 MB / 0.828 GB, free: 276 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003531/0.2808, allocations: 1.427 MB / 0.8294 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.282, allocations: 495.5 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.2821, allocations: 0 / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.089e-05/0.2821, allocations: 0 / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2823, allocations: 7.875 kB / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.2825, allocations: 19.92 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.2827, allocations: 55.89 kB / 0.8299 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2829, allocations: 11.94 kB / 0.83 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.825e-05/0.283, allocations: 19.92 kB / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.287e-05/0.2831, allocations: 23.92 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.2831, allocations: 4 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.2831, allocations: 4 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.2832, allocations: 7.922 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.801e-05/0.2832, allocations: 19.94 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.2834, allocations: 51.69 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.2834, allocations: 0 / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.906e-06/0.2834, allocations: 0 / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.2835, allocations: 4 kB / 0.8301 GB, free: 14.11 MB / 0.6544 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.000933/0.2844, allocations: 396.9 kB / 0.8305 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.2845, allocations: 12.03 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.2845, allocations: 4.844 kB / 0.8305 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2847, allocations: 168.4 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.2847, allocations: 4.375 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.2847, allocations: 4.375 kB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.2849, allocations: 57.98 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2849, allocations: 0 / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2849, allocations: 4 kB / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.2849, allocations: 0 / 0.8307 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.003e-05/0.285, allocations: 19.94 kB / 0.8307 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.2855, allocations: 272.8 kB / 0.831 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.168e-05/0.2856, allocations: 38.58 kB / 0.831 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.2856, allocations: 28.97 kB / 0.8311 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.2857, allocations: 0 / 0.8311 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.2859, allocations: 104.9 kB / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.2859, allocations: 0 / 0.8312 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0002875/0.2862, allocations: 135.3 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.2863, allocations: 85.09 kB / 0.8314 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.2864, allocations: 113.8 kB / 0.8315 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2864, allocations: 29.7 kB / 0.8315 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.2864, allocations: 88.14 kB / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.2865, allocations: 23.81 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.2865, allocations: 25.7 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2866, allocations: 318.8 kB / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/0.2867, allocations: 15.98 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.2867, allocations: 42.5 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.807e-05/0.2868, allocations: 113.9 kB / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2868, allocations: 0 / 0.8321 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001502/0.287, allocations: 123.6 kB / 0.8322 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.287, allocations: 33.69 kB / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.287, allocations: 4 kB / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.2871, allocations: 0 / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.2871, allocations: 16 kB / 0.8323 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.2872, allocations: 0 / 0.8323 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.461e-05/0.2872, allocations: 8.047 kB / 0.8323 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.2872, allocations: 8 kB / 0.8323 GB, free: 11.57 MB / 0.6544 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.0001531/0.2874, allocations: 153.2 kB / 0.8324 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.2874, allocations: 4 kB / 0.8324 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.2875, allocations: 12.36 kB / 0.8324 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2875, allocations: 0 / 0.8324 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.2875, allocations: 4 kB / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2875, allocations: 4 kB / 0.8325 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.288, allocations: 400 kB / 0.8328 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.288, allocations: 4 kB / 0.8328 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-06/0.288, allocations: 0 / 0.8328 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.288, allocations: 0 / 0.8328 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.288, allocations: 0 / 0.8328 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.288, allocations: 4 kB / 0.8328 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/0.288, allocations: 0 / 0.8328 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.2884, allocations: 237.1 kB / 0.8331 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.2884, allocations: 85 kB / 0.8332 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.2885, allocations: 4 kB / 0.8332 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.995e-05/0.2886, allocations: 7.984 kB / 0.8332 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.2886, allocations: 15.92 kB / 0.8332 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.2887, allocations: 4 kB / 0.8332 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.963e-05/0.2887, allocations: 87.81 kB / 0.8333 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2888, allocations: 3.938 kB / 0.8333 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002453/0.289, allocations: 23.94 kB / 0.8333 GB, free: 10.42 MB / 0.6544 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.0001645/0.2892, allocations: 102.1 kB / 0.8334 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002332/0.2894, allocations: 119.5 kB / 0.8335 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2894, allocations: 0 / 0.8335 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.2895, allocations: 103.2 kB / 0.8336 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.2899, allocations: 8 kB / 0.8336 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.2903, allocations: 153.6 kB / 0.8338 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.2907, allocations: 0.6922 MB / 0.8344 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.2907, allocations: 4 kB / 0.8344 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.2908, allocations: 15.44 kB / 0.8344 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.2908, allocations: 0 / 0.8344 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of Templates: time 0.004557/0.2953, allocations: 0.8754 MB / 0.8353 GB, free: 8.285 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)