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.0008975/0.0008977, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009135/0.0009137, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.5734/0.5734, allocations: 95.58 MB / 366 MB, free: 10.4 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.0005664/0.0005665, allocations: 20 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.284, allocations: 70.34 MB / 0.505 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001241/0.2853, allocations: 1.11 MB / 0.5061 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005172/0.2858, allocations: 448 kB / 0.5065 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.2859, allocations: 3.938 kB / 0.5065 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.2859, allocations: 7.922 kB / 0.5065 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.286, allocations: 15.98 kB / 0.5065 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.2861, allocations: 15.97 kB / 0.5065 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.599e-05/0.2861, allocations: 31.91 kB / 0.5066 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.091e-05/0.2862, allocations: 0 / 0.5066 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.839e-05/0.2863, allocations: 23.91 kB / 0.5066 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.2863, allocations: 19.92 kB / 0.5066 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.2863, allocations: 0 / 0.5066 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.2864, allocations: 4 kB / 0.5066 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.2864, allocations: 4 kB / 0.5066 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.2864, allocations: 33.7 kB / 0.5067 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.286e-05/0.2865, allocations: 29.91 kB / 0.5067 GB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.2865, allocations: 0 / 0.5067 GB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2865, allocations: 3.938 kB / 0.5067 GB, free: 14.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.2865, allocations: 0 / 0.5067 GB, free: 14.74 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.0004072/0.2869, allocations: 388.8 kB / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.2869, allocations: 15.98 kB / 0.5071 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.287, allocations: 4 kB / 0.5071 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.85e-05/0.2871, allocations: 163.1 kB / 0.5072 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.2871, allocations: 7.953 kB / 0.5072 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.2871, allocations: 8 kB / 0.5073 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.627e-05/0.2872, allocations: 45.62 kB / 0.5073 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.2872, allocations: 4 kB / 0.5073 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2872, allocations: 0 / 0.5073 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.2872, allocations: 3.984 kB / 0.5073 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.691e-05/0.2873, allocations: 23.92 kB / 0.5073 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.2876, allocations: 276.7 kB / 0.5076 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/0.2876, allocations: 42.56 kB / 0.5076 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.2877, allocations: 0 / 0.5076 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.2878, allocations: 105.2 kB / 0.5077 GB, free: 13.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.2878, allocations: 4 kB / 0.5077 GB, free: 13.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002242/0.288, allocations: 216.8 kB / 0.5079 GB, free: 13.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.2881, allocations: 81.05 kB / 0.508 GB, free: 13.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.595e-05/0.2881, allocations: 117.7 kB / 0.5081 GB, free: 13.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.2881, allocations: 29.7 kB / 0.5082 GB, free: 12.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.295e-05/0.2882, allocations: 80.14 kB / 0.5082 GB, free: 12.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.2882, allocations: 15.81 kB / 0.5082 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.2882, allocations: 0 / 0.5082 GB, free: 12.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.847e-05/0.2882, allocations: 330.8 kB / 0.5086 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.2883, allocations: 12 kB / 0.5086 GB, free: 12.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/0.2883, allocations: 38.56 kB / 0.5086 GB, free: 12.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/0.2883, allocations: 41.7 kB / 0.5087 GB, free: 12.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2884, allocations: 0 / 0.5087 GB, free: 12.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001106/0.2885, allocations: 131.2 kB / 0.5088 GB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2885, allocations: 33.77 kB / 0.5088 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.2885, allocations: 0 / 0.5088 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2885, allocations: 4 kB / 0.5088 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.559e-05/0.2886, allocations: 7.938 kB / 0.5088 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2886, allocations: 0 / 0.5088 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.043e-05/0.2886, allocations: 15.98 kB / 0.5088 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.2886, allocations: 0 / 0.5088 GB, free: 12.25 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.2887, allocations: 151.5 kB / 0.509 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.2887, allocations: 8 kB / 0.509 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.2888, allocations: 8.375 kB / 0.509 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2888, allocations: 7.938 kB / 0.509 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2888, allocations: 0 / 0.509 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2888, allocations: 0 / 0.509 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.289, allocations: 404.4 kB / 0.5094 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.289, allocations: 4 kB / 0.5094 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-06/0.2891, allocations: 0 / 0.5094 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2891, allocations: 0 / 0.5094 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2891, allocations: 4 kB / 0.5094 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2891, allocations: 7.984 kB / 0.5094 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2891, allocations: 0 / 0.5094 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.2892, allocations: 233.2 kB / 0.5096 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.893e-05/0.2893, allocations: 88.95 kB / 0.5097 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.2893, allocations: 4 kB / 0.5097 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/0.2894, allocations: 11.98 kB / 0.5097 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.2894, allocations: 4 kB / 0.5097 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2894, allocations: 7.984 kB / 0.5097 GB, free: 11.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.239e-05/0.2895, allocations: 87.28 kB / 0.5098 GB, free: 11.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2895, allocations: 0 / 0.5098 GB, free: 11.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002132/0.2897, allocations: 16 kB / 0.5098 GB, free: 11.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.994e-05/0.2898, allocations: 101.2 kB / 0.5099 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.2899, allocations: 115.4 kB / 0.51 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2899, allocations: 8.062 kB / 0.5101 GB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.438e-05/0.29, allocations: 87.62 kB / 0.5101 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.2901, allocations: 11.95 kB / 0.5101 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.2904, allocations: 157.1 kB / 0.5103 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.421e-05/0.2905, allocations: 0.6926 MB / 0.511 GB, free: 9.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.293e-05/0.2905, allocations: 3.938 kB / 0.511 GB, free: 9.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.2905, allocations: 15.42 kB / 0.511 GB, free: 9.844 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2906, allocations: 0 / 0.511 GB, free: 9.844 MB / 382.1 MB Notification: Performance of Templates: time 0.002231/0.2928, allocations: 0.7213 MB / 0.5117 GB, free: 9.125 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: