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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 308.1 MB, free: 4.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001862/0.001861, allocations: 186.2 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205 MB / 0.6353 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001076, allocations: 97.78 kB / 0.748 GB, free: 61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.92 kB / 0.8703 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3357, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.004038/0.3398, allocations: 1.487 MB / 0.9837 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.3411, allocations: 479.8 kB / 0.9841 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.3412, allocations: 0 / 0.9841 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.786e-05/0.3413, allocations: 0 / 0.9841 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.3414, allocations: 7.938 kB / 0.9841 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.3417, allocations: 15.98 kB / 0.9841 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3418, allocations: 47.86 kB / 0.9842 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.342, allocations: 11.97 kB / 0.9842 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.3421, allocations: 23.86 kB / 0.9842 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.3423, allocations: 23.91 kB / 0.9842 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.3423, allocations: 0 / 0.9842 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.893e-05/0.3423, allocations: 4 kB / 0.9842 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.3424, allocations: 3.938 kB / 0.9842 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.584e-05/0.3425, allocations: 19.92 kB / 0.9843 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.3427, allocations: 40.16 kB / 0.9843 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3427, allocations: 3.938 kB / 0.9843 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3427, allocations: 0 / 0.9843 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3427, allocations: 0 / 0.9843 GB, free: 8.242 MB / 0.7136 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.0009387/0.3437, allocations: 397 kB / 0.9847 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.3437, allocations: 11.97 kB / 0.9847 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/0.3438, allocations: 4.938 kB / 0.9847 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.344, allocations: 184.2 kB / 0.9849 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.3441, allocations: 4.375 kB / 0.9849 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.3441, allocations: 4.375 kB / 0.9849 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3443, allocations: 53.98 kB / 0.9849 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3443, allocations: 0 / 0.9849 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3443, allocations: 0 / 0.9849 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3443, allocations: 0 / 0.9849 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.874e-05/0.3444, allocations: 23.98 kB / 0.985 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.3451, allocations: 276.8 kB / 0.9852 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.3452, allocations: 42.56 kB / 0.9853 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.3452, allocations: 20.98 kB / 0.9853 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.3453, allocations: 0 / 0.9853 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.3456, allocations: 101.1 kB / 0.9854 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.3456, allocations: 0 / 0.9854 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003877/0.346, allocations: 147.2 kB / 0.9855 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.3461, allocations: 81.11 kB / 0.9856 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.3462, allocations: 109.8 kB / 0.9857 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3462, allocations: 25.7 kB / 0.9857 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3464, allocations: 88.14 kB / 0.9858 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.3464, allocations: 27.58 kB / 0.9858 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/0.3465, allocations: 29.7 kB / 0.9859 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3467, allocations: 322.8 kB / 0.9862 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.3467, allocations: 16 kB / 0.9862 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.3468, allocations: 38.84 kB / 0.9862 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3469, allocations: 109.9 kB / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3469, allocations: 0 / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001805/0.3471, allocations: 119.4 kB / 0.9864 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.283e-05/0.3472, allocations: 48.52 kB / 0.9865 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3472, allocations: 0 / 0.9865 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3472, allocations: 4 kB / 0.9865 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.447e-05/0.3473, allocations: 0 / 0.9865 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3473, allocations: 7.938 kB / 0.9865 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.3474, allocations: 11.89 kB / 0.9865 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3474, allocations: 4 kB / 0.9865 GB, free: 5.688 MB / 0.7136 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.0001313/0.3475, allocations: 155.5 kB / 0.9867 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.3476, allocations: 4 kB / 0.9867 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.3476, allocations: 12.38 kB / 0.9867 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3476, allocations: 0 / 0.9867 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3476, allocations: 3.938 kB / 0.9867 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3476, allocations: 0 / 0.9867 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.3481, allocations: 408 kB / 0.9871 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3481, allocations: 0 / 0.9871 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.3482, allocations: 4 kB / 0.9871 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3482, allocations: 0 / 0.9871 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.3482, allocations: 3.984 kB / 0.9871 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3482, allocations: 4 kB / 0.9871 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3482, allocations: 0 / 0.9871 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007085/0.3489, allocations: 0.796 MB / 0.9879 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.349, allocations: 88.95 kB / 0.9879 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.349, allocations: 4 kB / 0.988 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3491, allocations: 7.984 kB / 0.988 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.3492, allocations: 12.05 kB / 0.988 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3492, allocations: 8 kB / 0.988 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.468e-05/0.3493, allocations: 87.81 kB / 0.9881 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.3493, allocations: 0 / 0.9881 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003511/0.3497, allocations: 20 kB / 0.9881 GB, free: 3.922 MB / 0.7136 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 0.0001459/0.3498, allocations: 99.19 kB / 0.9882 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.35, allocations: 123.2 kB / 0.9883 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3501, allocations: 8.125 kB / 0.9883 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3502, allocations: 79.41 kB / 0.9884 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.3505, allocations: 21.75 kB / 0.9884 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006498/0.3512, allocations: 290.5 kB / 0.9887 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.3516, allocations: 0.6926 MB / 0.9893 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.158e-05/0.3517, allocations: 4 kB / 0.9894 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.3517, allocations: 11.44 kB / 0.9894 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of SimCode: time 4.31e-07/0.3517, allocations: 0 / 0.9894 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of Templates: time 0.003883/0.3556, allocations: 0.8154 MB / 0.9902 GB, free: 1.699 MB / 0.7136 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)