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.00115/0.00115, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001718/0.001718, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.6926/0.6926, allocations: 95.63 MB / 366 MB, free: 10.25 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.0005789/0.0005789, allocations: 24 kB / 446.8 MB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4458, allocations: 70.34 MB / 0.5051 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001272/0.4472, allocations: 1.118 MB / 0.5062 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006815/0.4479, allocations: 452 kB / 0.5066 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/0.4479, allocations: 0 / 0.5066 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.448, allocations: 0 / 0.5066 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.4481, allocations: 7.922 kB / 0.5066 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001826/0.4483, allocations: 15.98 kB / 0.5066 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.402e-05/0.4484, allocations: 51.78 kB / 0.5067 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.4485, allocations: 0 / 0.5067 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.4486, allocations: 23.92 kB / 0.5067 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.836e-05/0.4487, allocations: 23.91 kB / 0.5067 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.4487, allocations: 3.938 kB / 0.5067 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.4487, allocations: 4 kB / 0.5067 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.4487, allocations: 0 / 0.5067 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.4488, allocations: 33.64 kB / 0.5067 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.467e-05/0.4489, allocations: 25.92 kB / 0.5068 GB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4489, allocations: 0 / 0.5068 GB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4489, allocations: 0 / 0.5068 GB, free: 14.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.4489, allocations: 3.938 kB / 0.5068 GB, free: 14.69 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.0004962/0.4494, allocations: 392.8 kB / 0.5071 GB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.4494, allocations: 11.98 kB / 0.5072 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.4495, allocations: 4 kB / 0.5072 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.659e-05/0.4496, allocations: 171.1 kB / 0.5073 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.4496, allocations: 3.953 kB / 0.5073 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.4496, allocations: 4 kB / 0.5073 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.4497, allocations: 53.69 kB / 0.5074 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.4497, allocations: 0 / 0.5074 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4498, allocations: 3.938 kB / 0.5074 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4498, allocations: 0 / 0.5074 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.078e-05/0.4498, allocations: 19.98 kB / 0.5074 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.4502, allocations: 280.7 kB / 0.5077 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.229e-05/0.4502, allocations: 42.56 kB / 0.5077 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.4503, allocations: 20.98 kB / 0.5077 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.4503, allocations: 3.984 kB / 0.5077 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.4505, allocations: 101 kB / 0.5078 GB, free: 13.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.4505, allocations: 0 / 0.5078 GB, free: 13.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002325/0.4507, allocations: 139.3 kB / 0.508 GB, free: 13.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.4508, allocations: 81.11 kB / 0.508 GB, free: 13.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/0.4508, allocations: 113.8 kB / 0.5081 GB, free: 13.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.4508, allocations: 29.7 kB / 0.5082 GB, free: 13.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.4509, allocations: 88.2 kB / 0.5083 GB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.4509, allocations: 15.81 kB / 0.5083 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.4509, allocations: 288 / 0.5083 GB, free: 12.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.451, allocations: 322.8 kB / 0.5086 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.531e-05/0.451, allocations: 12 kB / 0.5086 GB, free: 12.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/0.451, allocations: 46.44 kB / 0.5086 GB, free: 12.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/0.4511, allocations: 49.7 kB / 0.5087 GB, free: 12.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4511, allocations: 0 / 0.5087 GB, free: 12.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001131/0.4512, allocations: 123.2 kB / 0.5088 GB, free: 12.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.4513, allocations: 37.64 kB / 0.5088 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4513, allocations: 0 / 0.5088 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.4513, allocations: 3.938 kB / 0.5088 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.216e-05/0.4513, allocations: 4 kB / 0.5088 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4513, allocations: 64 / 0.5088 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.896e-05/0.4514, allocations: 19.98 kB / 0.5089 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.4514, allocations: 4 kB / 0.5089 GB, free: 12.26 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 7.353e-05/0.4515, allocations: 151.5 kB / 0.509 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.4515, allocations: 4 kB / 0.509 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.4515, allocations: 8.375 kB / 0.509 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4515, allocations: 0 / 0.509 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4516, allocations: 0 / 0.509 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4516, allocations: 4 kB / 0.509 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.4518, allocations: 404.1 kB / 0.5094 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4519, allocations: 320 / 0.5094 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-06/0.4519, allocations: 7.938 kB / 0.5094 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4519, allocations: 4 kB / 0.5094 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.4519, allocations: 0 / 0.5094 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4519, allocations: 3.984 kB / 0.5094 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4519, allocations: 0 / 0.5094 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.4521, allocations: 229.2 kB / 0.5097 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.36e-05/0.4521, allocations: 92.95 kB / 0.5097 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.4521, allocations: 0 / 0.5097 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.4522, allocations: 15.92 kB / 0.5098 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.4523, allocations: 4.094 kB / 0.5098 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.4523, allocations: 11.92 kB / 0.5098 GB, free: 11.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.526e-05/0.4523, allocations: 83.28 kB / 0.5099 GB, free: 11.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4523, allocations: 0 / 0.5099 GB, free: 11.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.4525, allocations: 20 kB / 0.5099 GB, free: 11.12 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 8.905e-05/0.4526, allocations: 101.3 kB / 0.51 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.4528, allocations: 119.3 kB / 0.5101 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4528, allocations: 4 kB / 0.5101 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.923e-05/0.4529, allocations: 83.39 kB / 0.5102 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.4531, allocations: 19.94 kB / 0.5102 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.4534, allocations: 169.3 kB / 0.5103 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.4535, allocations: 0.6887 MB / 0.511 GB, free: 9.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.5e-05/0.4536, allocations: 4 kB / 0.511 GB, free: 9.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.4536, allocations: 11.44 kB / 0.511 GB, free: 9.852 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4536, allocations: 0 / 0.511 GB, free: 9.852 MB / 382.1 MB Notification: Performance of Templates: time 0.002553/0.4561, allocations: 0.7173 MB / 0.5117 GB, free: 9.137 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: