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 2.58/2.58, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.001366/0.001366, allocations: 170 kB / 371 MB, free: 10.88 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.3/2.3, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.00088/0.0008799, allocations: 92.88 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005023, allocations: 16.41 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2271, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001041/0.2282, allocations: 474.2 kB / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.2301, allocations: 1.235 MB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.2303, allocations: 0 / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.2303, allocations: 3.938 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.2304, allocations: 19.86 kB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000923/0.2313, allocations: 214.1 kB / 0.9803 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.2316, allocations: 215.5 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.834e-05/0.2317, allocations: 8.234 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.2318, allocations: 95.8 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.232, allocations: 75.75 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.2321, allocations: 12 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.2322, allocations: 31.98 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.2322, allocations: 31.89 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.122e-05/0.2323, allocations: 49.7 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.2325, allocations: 151.9 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2326, allocations: 0 / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2326, allocations: 0 / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2326, allocations: 0 / 0.9809 GB, free: 25.76 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.0007828/0.2334, allocations: 462.5 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2334, allocations: 16.02 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.646e-05/0.2335, allocations: 19.89 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009243/0.2345, allocations: 271.9 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.2345, allocations: 15.98 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-05/0.2346, allocations: 19.98 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.2349, allocations: 127.3 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2349, allocations: 7.938 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.235, allocations: 0 / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.235, allocations: 4 kB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.2352, allocations: 63.89 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.2362, allocations: 0.528 MB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.2366, allocations: 153.2 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.2367, allocations: 69.69 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2368, allocations: 0 / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004717/0.2372, allocations: 210.2 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.265e-06/0.2373, allocations: 0 / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.000776/0.238, allocations: 315.2 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.2381, allocations: 93.06 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2382, allocations: 127 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.2383, allocations: 42.08 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.2384, allocations: 92.69 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.2384, allocations: 55.34 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.2385, allocations: 8 kB / 0.9835 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.2386, allocations: 326.8 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.2388, allocations: 84.23 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.2391, allocations: 160.2 kB / 0.984 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.2394, allocations: 143.3 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2395, allocations: 0 / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008168/0.2403, allocations: 355.2 kB / 0.9845 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.2403, allocations: 63.39 kB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2404, allocations: 4 kB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.2404, allocations: 4 kB / 0.9846 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.2406, allocations: 24.14 kB / 0.9846 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.2406, allocations: 15.89 kB / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006727/0.2413, allocations: 87.78 kB / 0.9847 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.2413, allocations: 19.92 kB / 0.9847 GB, free: 21.52 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.0001873/0.2415, allocations: 144 kB / 0.9848 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.2416, allocations: 11.91 kB / 0.9849 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.2417, allocations: 12.5 kB / 0.9849 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.2417, allocations: 4 kB / 0.9849 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2417, allocations: 4 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.2417, allocations: 7.938 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008118/0.2425, allocations: 0.6109 MB / 0.9855 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2425, allocations: 0 / 0.9855 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.2426, allocations: 7.938 kB / 0.9855 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.2426, allocations: 7.984 kB / 0.9855 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.2427, allocations: 8 kB / 0.9855 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2427, allocations: 4.094 kB / 0.9855 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2427, allocations: 7.891 kB / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.2433, allocations: 413.2 kB / 0.9859 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.2433, allocations: 92.94 kB / 0.986 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.2434, allocations: 11.98 kB / 0.986 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.2436, allocations: 19.92 kB / 0.986 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/0.2437, allocations: 31.91 kB / 0.9861 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.2437, allocations: 12 kB / 0.9861 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.574e-05/0.2438, allocations: 97.39 kB / 0.9862 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.91e-07/0.2438, allocations: 0 / 0.9862 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000493/0.2443, allocations: 59.89 kB / 0.9862 GB, free: 19.88 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.000202/0.2445, allocations: 115 kB / 0.9863 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007278/0.2453, allocations: 354.5 kB / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.2453, allocations: 4 kB / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.2455, allocations: 107.9 kB / 0.9868 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.2461, allocations: 26.03 kB / 0.9868 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.2468, allocations: 301 kB / 0.9871 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.247, allocations: 0.7047 MB / 0.9878 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.2471, allocations: 21.55 kB / 0.9878 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.67e-05/0.2472, allocations: 19.42 kB / 0.9878 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.2472, allocations: 0 / 0.9878 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.007274/0.2545, allocations: 2.366 MB / 0.9901 GB, free: 15.81 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)