Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.77/1.77, allocations: 288.3 MB / 303.2 MB, free: 8.219 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.00143/0.00143, allocations: 185 kB / 371.8 MB, free: 10.27 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.602/1.602, allocations: 205.4 MB / 0.6306 GB, free: 9.973 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.0009086/0.0009086, allocations: 101.2 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004049, allocations: 14.84 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2318, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001626/0.2334, allocations: 1.427 MB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009158/0.2344, allocations: 0.6952 MB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.2345, allocations: 0 / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.2345, allocations: 19.86 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.2347, allocations: 39.84 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007243/0.2354, allocations: 338.6 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.2356, allocations: 235.6 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.2358, allocations: 57.81 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.2359, allocations: 135.7 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.236, allocations: 123.5 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.2361, allocations: 20 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.33e-05/0.2361, allocations: 35.98 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.2362, allocations: 47.83 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.2363, allocations: 81.55 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.2365, allocations: 267.6 kB / 0.9829 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2365, allocations: 0 / 0.9829 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2365, allocations: 0 / 0.9829 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.2365, allocations: 0 / 0.9829 GB, free: 24.17 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005712/0.2371, allocations: 0.5535 MB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2371, allocations: 16.02 kB / 0.9834 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.611e-05/0.2372, allocations: 31.72 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000693/0.2379, allocations: 316.4 kB / 0.9837 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.2379, allocations: 24.33 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.238, allocations: 39.98 kB / 0.9838 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.2382, allocations: 176.1 kB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2383, allocations: 0 / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.2383, allocations: 11.98 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2383, allocations: 4 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.2385, allocations: 108.1 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.2392, allocations: 0.6014 MB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.2395, allocations: 194.5 kB / 0.9849 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.2395, allocations: 0 / 0.9849 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/0.2399, allocations: 258.8 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=36): time 1.703e-06/0.2399, allocations: 0 / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.0005501/0.2404, allocations: 409.7 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.2405, allocations: 75.67 kB / 0.9856 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2406, allocations: 190.9 kB / 0.9858 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.2407, allocations: 49.69 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.2407, allocations: 128.8 kB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.2408, allocations: 86.89 kB / 0.986 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.2408, allocations: 16 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.2409, allocations: 338.8 kB / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.2411, allocations: 149 kB / 0.9865 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.2414, allocations: 267.2 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.2417, allocations: 237 kB / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2417, allocations: 4 kB / 0.987 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006974/0.2424, allocations: 0.58 MB / 0.9875 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/0.2424, allocations: 99.12 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2424, allocations: 4 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2425, allocations: 8 kB / 0.9876 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.2426, allocations: 47.84 kB / 0.9877 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.2426, allocations: 7.938 kB / 0.9877 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.2431, allocations: 139.9 kB / 0.9878 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.2432, allocations: 31.98 kB / 0.9879 GB, free: 18.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition3,$PRE.booPul1.y,booPul1.y,$whenCondition9,$PRE.pre.u,pre.y,con.y,$whenCondition8,$whenCondition7,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0001358/0.2433, allocations: 167 kB / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.2434, allocations: 27.72 kB / 0.988 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.2434, allocations: 30.64 kB / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2434, allocations: 4 kB / 0.9881 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2434, allocations: 3.938 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.2435, allocations: 0 / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.2441, allocations: 0.7011 MB / 0.9888 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2441, allocations: 0 / 0.9888 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/0.2442, allocations: 19.92 kB / 0.9888 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2442, allocations: 4 kB / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.2442, allocations: 7.984 kB / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2442, allocations: 4 kB / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2442, allocations: 3.953 kB / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.2446, allocations: 427.4 kB / 0.9892 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.2447, allocations: 96.77 kB / 0.9893 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.2447, allocations: 11.98 kB / 0.9893 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/0.2448, allocations: 15.98 kB / 0.9893 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.2449, allocations: 23.97 kB / 0.9894 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.2449, allocations: 23.94 kB / 0.9894 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.2449, allocations: 125.2 kB / 0.9895 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.022e-06/0.245, allocations: 0 / 0.9895 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003402/0.2453, allocations: 91.94 kB / 0.9896 GB, free: 16.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.000139/0.2454, allocations: 129.5 kB / 0.9897 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005426/0.246, allocations: 0.5375 MB / 0.9902 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.246, allocations: 0 / 0.9902 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.2462, allocations: 139.8 kB / 0.9904 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.2464, allocations: 38.34 kB / 0.9904 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005541/0.247, allocations: 464.2 kB / 0.9908 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.2471, allocations: 0.7487 MB / 0.9916 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.693e-05/0.2472, allocations: 38.95 kB / 0.9916 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.2473, allocations: 23.44 kB / 0.9916 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2473, allocations: 0 / 0.9916 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.005681/0.253, allocations: 3.427 MB / 0.995 GB, free: 11.23 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)