Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.861/1.861, allocations: 287.5 MB / 302.6 MB, free: 8.273 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.001738/0.001738, allocations: 174.7 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 0.6299 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009467/0.0009464, allocations: 93.47 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005356/0.0005359, allocations: 12.59 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2338, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0008614/0.2348, allocations: 466.2 kB / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2362, allocations: 1.235 MB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.2363, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.2364, allocations: 7.922 kB / 0.9804 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.844e-05/0.2365, allocations: 7.922 kB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006988/0.2372, allocations: 223.6 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.2374, allocations: 211.5 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.2375, allocations: 12.23 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.2377, allocations: 83.86 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.2378, allocations: 83.75 kB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.2379, allocations: 12 kB / 0.981 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-05/0.238, allocations: 27.98 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.238, allocations: 23.92 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.744e-05/0.2381, allocations: 53.62 kB / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2382, allocations: 155.8 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.2382, allocations: 4 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2383, allocations: 0 / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2383, allocations: 0 / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005726/0.2388, allocations: 466.6 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.2389, allocations: 8.031 kB / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.239, allocations: 16.84 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.2395, allocations: 260.3 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.2396, allocations: 12.38 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.2396, allocations: 24.3 kB / 0.982 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.2399, allocations: 131.8 kB / 0.9821 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2399, allocations: 3.938 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.2399, allocations: 7.984 kB / 0.9821 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2399, allocations: 4 kB / 0.9821 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.24, allocations: 67.89 kB / 0.9822 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.2407, allocations: 0.5201 MB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.2409, allocations: 157.2 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.011e-05/0.241, allocations: 65.69 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.2411, allocations: 0 / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.2414, allocations: 210.5 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.2414, allocations: 0 / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0004839/0.2419, allocations: 306.2 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2419, allocations: 101.2 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.242, allocations: 133.1 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.242, allocations: 37.7 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.2421, allocations: 92.7 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.2421, allocations: 52.22 kB / 0.9838 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.2422, allocations: 11.94 kB / 0.9838 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.2422, allocations: 326.8 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.2424, allocations: 84.23 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.2425, allocations: 164.2 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.2428, allocations: 239 kB / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2428, allocations: 4 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004664/0.2433, allocations: 356.8 kB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.2433, allocations: 67.34 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2433, allocations: 4 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2434, allocations: 7.984 kB / 0.985 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.2435, allocations: 19.94 kB / 0.985 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.2435, allocations: 11.88 kB / 0.985 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.2438, allocations: 92.14 kB / 0.9851 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.2439, allocations: 12 kB / 0.9851 GB, free: 21.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001043/0.244, allocations: 152 kB / 0.9853 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.244, allocations: 15.81 kB / 0.9853 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.244, allocations: 24.42 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2441, allocations: 4 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.2441, allocations: 3.938 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2441, allocations: 0 / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.2445, allocations: 0.6071 MB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2446, allocations: 4 kB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.2446, allocations: 11.94 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2446, allocations: 3.938 kB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.2446, allocations: 11.98 kB / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2446, allocations: 0 / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2447, allocations: 0 / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.245, allocations: 421.1 kB / 0.9863 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.245, allocations: 92.86 kB / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.2451, allocations: 15.92 kB / 0.9864 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.2452, allocations: 15.98 kB / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.2453, allocations: 19.97 kB / 0.9865 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.2453, allocations: 19.98 kB / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.404e-05/0.2453, allocations: 91.27 kB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2453, allocations: 0 / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003322/0.2457, allocations: 52 kB / 0.9866 GB, free: 19.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001601/0.2458, allocations: 139 kB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004183/0.2463, allocations: 342.6 kB / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2463, allocations: 0 / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.2464, allocations: 115.9 kB / 0.9872 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.2468, allocations: 30.08 kB / 0.9872 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.2472, allocations: 304.1 kB / 0.9875 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.2474, allocations: 0.7125 MB / 0.9882 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.96e-05/0.2475, allocations: 17.55 kB / 0.9882 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.2475, allocations: 19.38 kB / 0.9882 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.2475, allocations: 4 kB / 0.9883 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of Templates: time 0.004759/0.2523, allocations: 2.385 MB / 0.9906 GB, free: 15.48 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)