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.623/1.623, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001069/0.001069, allocations: 176.8 kB / 366.7 MB, free: 1.691 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.367/1.367, allocations: 205.2 MB / 0.626 GB, free: 7.211 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.0008238/0.0008237, allocations: 83.08 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.684e-05/1.678e-05, allocations: 4 kB / 0.8597 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6552/0.6552, allocations: 116.3 MB / 0.9732 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.8399, allocations: 138.8 MB / 1.109 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.8402, allocations: 71.95 kB / 1.109 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003695/0.8439, allocations: 1.174 MB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.715e-06/0.844, allocations: 5.281 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.844, allocations: 0 / 1.11 GB, free: 10.14 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.0005222/0.8445, allocations: 393.6 kB / 1.11 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.8446, allocations: 12.62 kB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.8446, allocations: 5.781 kB / 1.11 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.8448, allocations: 170.9 kB / 1.111 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.8448, allocations: 0 / 1.111 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.8448, allocations: 4 kB / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.12e-05/0.8449, allocations: 12.69 kB / 1.111 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.026e-05/0.845, allocations: 46.88 kB / 1.111 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.845, allocations: 0 / 1.111 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.8451, allocations: 7.984 kB / 1.111 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.8451, allocations: 0 / 1.111 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.8455, allocations: 255.3 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.781e-05/0.8456, allocations: 31.14 kB / 1.111 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.798e-05/0.8456, allocations: 21.48 kB / 1.111 GB, free: 9.074 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.8457, allocations: 5.281 kB / 1.111 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.8459, allocations: 97.16 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.8459, allocations: 2.188 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.000247/0.8461, allocations: 83.88 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.8462, allocations: 81.11 kB / 1.111 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/0.8463, allocations: 108.9 kB / 1.111 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.8463, allocations: 27.92 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.8464, allocations: 84.14 kB / 1.111 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.8464, allocations: 19.8 kB / 1.111 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.8464, allocations: 0 / 1.111 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8466, allocations: 318.8 kB / 1.112 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.8466, allocations: 12.78 kB / 1.112 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.8467, allocations: 36.05 kB / 1.112 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.8467, allocations: 19.92 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8467, allocations: 1.25 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000163/0.8469, allocations: 85.58 kB / 1.112 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.8469, allocations: 43.75 kB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.847, allocations: 6.25 kB / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.847, allocations: 0 / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.847, allocations: 5.188 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.8471, allocations: 0 / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.8471, allocations: 8.875 kB / 1.112 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.8471, allocations: 6.062 kB / 1.112 GB, free: 7.977 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 ($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 () * 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 0.0001105/0.8473, allocations: 148.5 kB / 1.112 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.8473, allocations: 4 kB / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.8473, allocations: 4.625 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8473, allocations: 4 kB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8474, allocations: 4.062 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.8474, allocations: 0 / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.8477, allocations: 349.5 kB / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.8478, allocations: 2.125 kB / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/0.8478, allocations: 0 / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.8478, allocations: 7.938 kB / 1.112 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.8478, allocations: 3.984 kB / 1.112 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8478, allocations: 0 / 1.112 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.8478, allocations: 0 / 1.112 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.848, allocations: 196.6 kB / 1.113 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.8481, allocations: 81.02 kB / 1.113 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.8481, allocations: 7.984 kB / 1.113 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.8482, allocations: 8 kB / 1.113 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.8483, allocations: 11.98 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.8483, allocations: 0 / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.8484, allocations: 99.2 kB / 1.113 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8484, allocations: 0 / 1.113 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002257/0.8486, allocations: 14.91 kB / 1.113 GB, free: 6.969 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) * 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 0.000118/0.8488, allocations: 95.25 kB / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.8489, allocations: 107.3 kB / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.849, allocations: 0 / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.849, allocations: 87.39 kB / 1.113 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.8493, allocations: 20.08 kB / 1.113 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.8496, allocations: 93.44 kB / 1.113 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.8498, allocations: 0.6853 MB / 1.114 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.325e-05/0.8499, allocations: 11.77 kB / 1.114 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.8499, allocations: 11.44 kB / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.8499, allocations: 0 / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of Templates: time 0.003202/0.8531, allocations: 0.7109 MB / 1.115 GB, free: 5.117 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)