Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00088/0.0008801, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00609/0.00609, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.667/1.667, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6115/0.6115, allocations: 95.63 MB / 366.4 MB, free: 10.22 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005303/0.0005303, allocations: 20 kB / 447.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3565, allocations: 70.33 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001286/0.3578, allocations: 1.133 MB / 0.5068 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006869/0.3585, allocations: 467.7 kB / 0.5072 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.3586, allocations: 0 / 0.5072 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.3586, allocations: 4 kB / 0.5072 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.59e-05/0.3587, allocations: 3.938 kB / 0.5072 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.3589, allocations: 15.98 kB / 0.5072 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.037e-05/0.359, allocations: 51.78 kB / 0.5073 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.3591, allocations: 7.984 kB / 0.5073 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.3591, allocations: 15.94 kB / 0.5073 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.3592, allocations: 15.92 kB / 0.5073 GB, free: 14.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.3592, allocations: 7.938 kB / 0.5073 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.3593, allocations: 0 / 0.5073 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.3593, allocations: 7.984 kB / 0.5073 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.3594, allocations: 41.64 kB / 0.5074 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3595, allocations: 49.77 kB / 0.5074 GB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3595, allocations: 0 / 0.5074 GB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3595, allocations: 0 / 0.5074 GB, free: 14.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.3595, allocations: 0 / 0.5074 GB, free: 14.49 MB / 382.1 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.0005319/0.36, allocations: 393 kB / 0.5078 GB, free: 14.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3601, allocations: 11.98 kB / 0.5078 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.3601, allocations: 4.938 kB / 0.5078 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.856e-05/0.3602, allocations: 176.2 kB / 0.508 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3602, allocations: 384 / 0.508 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.3603, allocations: 4.375 kB / 0.508 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.3604, allocations: 57.98 kB / 0.508 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.3604, allocations: 0 / 0.508 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.3604, allocations: 0 / 0.508 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3604, allocations: 4 kB / 0.508 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.992e-05/0.3605, allocations: 16 kB / 0.5081 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.3608, allocations: 276.8 kB / 0.5083 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.046e-05/0.3609, allocations: 42.5 kB / 0.5084 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.3609, allocations: 24.97 kB / 0.5084 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.361, allocations: 4 kB / 0.5084 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.3611, allocations: 105 kB / 0.5085 GB, free: 13.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3611, allocations: 0 / 0.5085 GB, free: 13.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002261/0.3614, allocations: 147.2 kB / 0.5086 GB, free: 13.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3614, allocations: 81.11 kB / 0.5087 GB, free: 12.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.3615, allocations: 105.8 kB / 0.5088 GB, free: 12.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.3615, allocations: 29.7 kB / 0.5088 GB, free: 12.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.3615, allocations: 88.12 kB / 0.5089 GB, free: 12.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.3616, allocations: 23.88 kB / 0.5089 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.3616, allocations: 17.72 kB / 0.509 GB, free: 12.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.3616, allocations: 318.8 kB / 0.5093 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.3617, allocations: 19.94 kB / 0.5093 GB, free: 12.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.499e-05/0.3617, allocations: 34.56 kB / 0.5093 GB, free: 12.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.586e-05/0.3618, allocations: 114 kB / 0.5094 GB, free: 12.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3618, allocations: 0 / 0.5094 GB, free: 12.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001179/0.3619, allocations: 127.2 kB / 0.5096 GB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.362, allocations: 33.7 kB / 0.5096 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.362, allocations: 3.938 kB / 0.5096 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.362, allocations: 4 kB / 0.5096 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.203e-05/0.362, allocations: 3.984 kB / 0.5096 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.362, allocations: 4 kB / 0.5096 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.3621, allocations: 4.062 kB / 0.5096 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.3621, allocations: 8.312 kB / 0.5096 GB, free: 11.96 MB / 382.1 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.213e-05/0.3622, allocations: 155.5 kB / 0.5098 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.3622, allocations: 7.906 kB / 0.5098 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.3623, allocations: 4.375 kB / 0.5098 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3623, allocations: 0 / 0.5098 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3623, allocations: 8 kB / 0.5098 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3623, allocations: 0 / 0.5098 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.3626, allocations: 404.5 kB / 0.5102 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3626, allocations: 0 / 0.5102 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/0.3626, allocations: 11.92 kB / 0.5102 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3626, allocations: 0 / 0.5102 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.3626, allocations: 4 kB / 0.5102 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3626, allocations: 4 kB / 0.5102 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3626, allocations: 0 / 0.5102 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.3628, allocations: 229.1 kB / 0.5104 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.3628, allocations: 81.05 kB / 0.5105 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3628, allocations: 8 kB / 0.5105 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.47e-05/0.3629, allocations: 11.98 kB / 0.5105 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.363, allocations: 15.86 kB / 0.5105 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.363, allocations: 4 kB / 0.5105 GB, free: 10.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.797e-05/0.363, allocations: 87.28 kB / 0.5106 GB, free: 10.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.363, allocations: 0 / 0.5106 GB, free: 10.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.3633, allocations: 12 kB / 0.5106 GB, free: 10.81 MB / 382.1 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 7.799e-05/0.3633, allocations: 109.4 kB / 0.5107 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.3635, allocations: 111.3 kB / 0.5108 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3635, allocations: 0 / 0.5108 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.082e-05/0.3636, allocations: 91.39 kB / 0.5109 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.3639, allocations: 15.97 kB / 0.5109 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.3642, allocations: 168.7 kB / 0.5111 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.3643, allocations: 0.6848 MB / 0.5118 GB, free: 9.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.583e-05/0.3644, allocations: 7.938 kB / 0.5118 GB, free: 9.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.3644, allocations: 11.44 kB / 0.5118 GB, free: 9.543 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3644, allocations: 0 / 0.5118 GB, free: 9.543 MB / 382.1 MB Notification: Performance of Templates: time 0.002929/0.3673, allocations: 0.756 MB / 0.5125 GB, free: 8.793 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) Environment - environmentSimulation: