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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00148/0.00148, allocations: 117.7 kB / 16.42 MB, free: 6.465 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.001526/0.001526, allocations: 189.5 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 282.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9596/0.9596, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 99.83 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4794, allocations: 86.98 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.002436/0.4819, allocations: 1.422 MB / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007422/0.4827, allocations: 428.8 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.4827, allocations: 4 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.4828, allocations: 3.938 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.356e-05/0.4828, allocations: 7.922 kB / 0.7688 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.483, allocations: 19.92 kB / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.4831, allocations: 59.78 kB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.4832, allocations: 11.98 kB / 0.7689 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.4833, allocations: 23.88 kB / 0.7689 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.4834, allocations: 23.91 kB / 0.769 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.4834, allocations: 4 kB / 0.769 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.4834, allocations: 4 kB / 0.769 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.4835, allocations: 0 / 0.769 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.4835, allocations: 27.86 kB / 0.769 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.4836, allocations: 43.53 kB / 0.769 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4837, allocations: 0 / 0.769 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4837, allocations: 0 / 0.769 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.4837, allocations: 4 kB / 0.769 GB, free: 1.887 MB / 0.5294 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.0005692/0.4842, allocations: 391.6 kB / 0.7694 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4843, allocations: 12.03 kB / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.4843, allocations: 0.9375 kB / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.4845, allocations: 172.2 kB / 0.7696 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4845, allocations: 4.359 kB / 0.7696 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.4845, allocations: 8.375 kB / 0.7696 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.4846, allocations: 61.88 kB / 0.7697 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.4846, allocations: 4 kB / 0.7697 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4847, allocations: 0 / 0.7697 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4847, allocations: 4 kB / 0.7697 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.513e-05/0.4847, allocations: 19.98 kB / 0.7697 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.4851, allocations: 268.8 kB / 0.7699 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.436e-05/0.4852, allocations: 50.5 kB / 0.77 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.4852, allocations: 24.92 kB / 0.77 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.4853, allocations: 0 / 0.77 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.4854, allocations: 101.1 kB / 0.7701 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.4854, allocations: 4 kB / 0.7701 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002661/0.4857, allocations: 139.2 kB / 0.7702 GB, free: 472 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.4858, allocations: 81.11 kB / 0.7703 GB, free: 372 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.575e-05/0.4858, allocations: 113.8 kB / 0.7704 GB, free: 248 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.4859, allocations: 25.7 kB / 0.7705 GB, free: 216 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.4859, allocations: 88.14 kB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.486, allocations: 19.88 kB / 0.7706 GB, free: 104 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.486, allocations: 25.7 kB / 0.7706 GB, free: 72 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.4861, allocations: 318.8 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.4861, allocations: 12 kB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.4862, allocations: 46.5 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.805e-05/0.4863, allocations: 113.9 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4863, allocations: 0 / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00015/0.4865, allocations: 123.2 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.4865, allocations: 33.7 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4865, allocations: 0 / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4865, allocations: 4 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.344e-05/0.4866, allocations: 8 kB / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.4866, allocations: 7.984 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.4867, allocations: 4 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.4867, allocations: 4 kB / 0.7712 GB, free: 15.35 MB / 0.545 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 9.867e-05/0.4868, allocations: 151.5 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.4868, allocations: 7.906 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.4868, allocations: 12.31 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4869, allocations: 0 / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4869, allocations: 4 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.4869, allocations: 89.33 kB / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.4869, allocations: 0 / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.487, allocations: 11.98 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.4871, allocations: 11.92 kB / 0.7715 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002505/0.4873, allocations: 277.9 kB / 0.7718 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002376/0.4876, allocations: 304.5 kB / 0.7721 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.542e-05/0.4876, allocations: 31.98 kB / 0.7721 GB, free: 14.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.313e-05/0.4877, allocations: 87.81 kB / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of Backend: time 3.41e-07/0.4877, allocations: 0 / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003959/0.4881, allocations: 176.2 kB / 0.7723 GB, free: 14.11 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005101/0.4886, allocations: 0.6534 MB / 0.773 GB, free: 13.4 MB / 0.545 GB Notification: Performance of Templates: time 0.003124/0.4917, allocations: 0.9393 MB / 0.7739 GB, free: 12.47 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay.makefile (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)