Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001299/0.001299, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001269/0.001269, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.493/1.493, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.3 MB / 0.5495 GB, free: 17.64 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 0.6721 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2585, allocations: 114.6 MB / 0.784 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003034/0.2615, allocations: 1.433 MB / 0.7854 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008158/0.2624, allocations: 483.8 kB / 0.7859 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.2624, allocations: 4 kB / 0.7859 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.2625, allocations: 3.938 kB / 0.7859 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.109e-05/0.2626, allocations: 3.938 kB / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.2628, allocations: 15.92 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.2629, allocations: 59.78 kB / 0.786 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.263, allocations: 8 kB / 0.786 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.2631, allocations: 27.91 kB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.2632, allocations: 23.86 kB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.2632, allocations: 4 kB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.2632, allocations: 4 kB / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.2632, allocations: 4 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.2633, allocations: 23.86 kB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.2634, allocations: 36.16 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2634, allocations: 0 / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2634, allocations: 0 / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.2635, allocations: 4 kB / 0.7861 GB, free: 1.773 MB / 0.6544 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.000666/0.2641, allocations: 389.1 kB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2642, allocations: 12.03 kB / 0.7865 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.2642, allocations: 4.844 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.2644, allocations: 176.2 kB / 0.7866 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2644, allocations: 4.375 kB / 0.7866 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.2644, allocations: 4.375 kB / 0.7866 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.2646, allocations: 57.94 kB / 0.7867 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2646, allocations: 0 / 0.7867 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2646, allocations: 4 kB / 0.7867 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2646, allocations: 4 kB / 0.7867 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.161e-05/0.2647, allocations: 15.98 kB / 0.7867 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.2651, allocations: 268.8 kB / 0.787 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.385e-05/0.2652, allocations: 42.56 kB / 0.787 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.274e-05/0.2653, allocations: 32.92 kB / 0.7871 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.2653, allocations: 11.91 kB / 0.7871 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.2655, allocations: 97.16 kB / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.2656, allocations: 4 kB / 0.7872 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.000292/0.2659, allocations: 139.2 kB / 0.7873 GB, free: 352 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.2659, allocations: 81.11 kB / 0.7874 GB, free: 252 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.266, allocations: 109.8 kB / 0.7875 GB, free: 132 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.266, allocations: 33.7 kB / 0.7875 GB, free: 92 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.2661, allocations: 88.12 kB / 0.7876 GB, free: 0 / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.4527/0.7188, allocations: 19.52 kB / 0.7876 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.7189, allocations: 24.44 kB / 0.7876 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.719, allocations: 317.9 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.719, allocations: 17.45 kB / 0.788 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.801e-05/0.7191, allocations: 36.44 kB / 0.788 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.881e-05/0.7192, allocations: 113.3 kB / 0.7881 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7192, allocations: 0.625 kB / 0.7881 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001979/0.7194, allocations: 127.3 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.7194, allocations: 33.86 kB / 0.7882 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.7195, allocations: 1.406 kB / 0.7882 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.7195, allocations: 2.844 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.7196, allocations: 4.156 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.7196, allocations: 7.062 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-05/0.7197, allocations: 9.797 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.7197, allocations: 3.031 kB / 0.7883 GB, free: 48.37 MB / 0.6544 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 8.863e-05/0.7198, allocations: 148 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.7198, allocations: 8.719 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.7198, allocations: 6.688 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.7199, allocations: 5.062 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7199, allocations: 3.938 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7199, allocations: 3.844 kB / 0.7884 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.7202, allocations: 394.9 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7202, allocations: 5.531 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.876e-06/0.7203, allocations: 3.062 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7203, allocations: 8.859 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.7203, allocations: 3.75 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7203, allocations: 0 / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7203, allocations: 0 / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.7205, allocations: 237.5 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.7205, allocations: 85.52 kB / 0.7891 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.7205, allocations: 6.156 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.7206, allocations: 8.562 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.7207, allocations: 6.422 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.7207, allocations: 6.062 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.396e-05/0.7208, allocations: 88.89 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7208, allocations: 0 / 0.7893 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000233/0.721, allocations: 15.44 kB / 0.7893 GB, free: 47.55 MB / 0.6544 GB 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 8.923e-05/0.7211, allocations: 107.6 kB / 0.7894 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.7213, allocations: 124.8 kB / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7213, allocations: 0 / 0.7895 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.7214, allocations: 85.75 kB / 0.7896 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.7217, allocations: 18.08 kB / 0.7896 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.722, allocations: 180.5 kB / 0.7898 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.7221, allocations: 0.6866 MB / 0.7904 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.668e-05/0.7222, allocations: 10.31 kB / 0.7904 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7222, allocations: 0 / 0.7904 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.002413/0.7246, allocations: 0.9027 MB / 0.7913 GB, free: 46.49 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)