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.001155/0.001155, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001366/0.001366, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002176/0.002176, allocations: 293.3 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.9612/0.9612, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 95.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4025, allocations: 86.97 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.00226/0.4048, allocations: 1.422 MB / 0.7684 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006651/0.4055, allocations: 428.8 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.4055, allocations: 4 kB / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.4056, allocations: 3.938 kB / 0.7688 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.4056, allocations: 11.86 kB / 0.7688 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.4058, allocations: 15.97 kB / 0.7688 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.4059, allocations: 59.8 kB / 0.7689 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.406, allocations: 11.98 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.4061, allocations: 19.88 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.4061, allocations: 23.91 kB / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.4062, allocations: 0 / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.4062, allocations: 4 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.4062, allocations: 11.98 kB / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.4063, allocations: 19.86 kB / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.506e-05/0.4064, allocations: 39.55 kB / 0.769 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4064, allocations: 4 kB / 0.769 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4064, allocations: 4 kB / 0.769 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.4064, allocations: 0 / 0.769 GB, free: 1.863 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.0005549/0.4069, allocations: 391.6 kB / 0.7694 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.407, allocations: 8.031 kB / 0.7694 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.407, allocations: 4.938 kB / 0.7694 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.4071, allocations: 184.2 kB / 0.7696 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.4072, allocations: 8.359 kB / 0.7696 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.4072, allocations: 8.312 kB / 0.7696 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.4073, allocations: 50 kB / 0.7697 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.4073, allocations: 0 / 0.7697 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.4073, allocations: 4 kB / 0.7697 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4073, allocations: 0 / 0.7697 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.416e-05/0.4074, allocations: 23.98 kB / 0.7697 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.4077, allocations: 268.8 kB / 0.7699 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.37e-05/0.4078, allocations: 50.5 kB / 0.77 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.4079, allocations: 20.98 kB / 0.77 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.4079, allocations: 0 / 0.77 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.4081, allocations: 97.08 kB / 0.7701 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.4081, allocations: 3.938 kB / 0.7701 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002555/0.4083, allocations: 147.3 kB / 0.7702 GB, free: 444 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.4084, allocations: 81.11 kB / 0.7703 GB, free: 344 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.4085, allocations: 109.8 kB / 0.7704 GB, free: 224 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.4085, allocations: 33.64 kB / 0.7705 GB, free: 184 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.4085, allocations: 80.14 kB / 0.7705 GB, free: 100 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.4085, allocations: 19.8 kB / 0.7706 GB, free: 80 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.4086, allocations: 21.72 kB / 0.7706 GB, free: 52 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4087, allocations: 322.8 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.139e-05/0.4087, allocations: 12 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.59e-05/0.4088, allocations: 46.5 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.683e-05/0.4089, allocations: 117.8 kB / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4089, allocations: 0 / 0.771 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001426/0.409, allocations: 127.2 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.4091, allocations: 33.7 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4091, allocations: 64 / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.4091, allocations: 8 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.756e-05/0.4091, allocations: 0 / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.4092, allocations: 8.375 kB / 0.7712 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.27e-05/0.4092, allocations: 4 kB / 0.7712 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4092, allocations: 4 kB / 0.7712 GB, free: 15.32 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 0.0001006/0.4094, allocations: 161.9 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.4094, allocations: 7.844 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.131e-05/0.4094, allocations: 12.31 kB / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4094, allocations: 4 kB / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4094, allocations: 384 / 0.7714 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.4095, allocations: 84.95 kB / 0.7715 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.4095, allocations: 8 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.4096, allocations: 7.984 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.4096, allocations: 15.86 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002319/0.4098, allocations: 266 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002068/0.4101, allocations: 308.4 kB / 0.7721 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.775e-05/0.4101, allocations: 40.12 kB / 0.7721 GB, free: 14.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.4102, allocations: 79.28 kB / 0.7722 GB, free: 14.27 MB / 0.545 GB Notification: Performance of Backend: time 2.2e-07/0.4102, allocations: 0 / 0.7722 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000362/0.4105, allocations: 177.7 kB / 0.7723 GB, free: 14.08 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004932/0.411, allocations: 0.6464 MB / 0.773 GB, free: 13.37 MB / 0.545 GB Notification: Performance of Templates: time 0.002961/0.414, allocations: 0.9492 MB / 0.7739 GB, free: 12.43 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)