Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Obsolete.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.762/1.762, allocations: 287.5 MB / 302.6 MB, free: 8.297 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.001537/0.001537, allocations: 183.7 kB / 371.2 MB, free: 10.83 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.551/1.551, allocations: 205.4 MB / 0.6298 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.000788/0.0007879, allocations: 89.5 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004156, allocations: 15.52 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2433, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001549/0.2449, allocations: 1.446 MB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009238/0.2458, allocations: 0.7312 MB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.924e-05/0.2459, allocations: 4 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.2461, allocations: 11.86 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.2461, allocations: 27.78 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.2469, allocations: 345.1 kB / 0.9812 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.2472, allocations: 367.1 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.2473, allocations: 52.3 kB / 0.9816 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.2474, allocations: 139.6 kB / 0.9817 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.2476, allocations: 127.5 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.2476, allocations: 16 kB / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.088e-05/0.2477, allocations: 39.98 kB / 0.9819 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.2478, allocations: 43.88 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.2478, allocations: 77.58 kB / 0.982 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.2481, allocations: 271.5 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2481, allocations: 0 / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2481, allocations: 0 / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.2481, allocations: 0 / 0.9823 GB, free: 24.51 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.0005727/0.2487, allocations: 0.5576 MB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2487, allocations: 19.97 kB / 0.9828 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.169e-05/0.2488, allocations: 32.66 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/0.2494, allocations: 314.6 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.2495, allocations: 24.69 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/0.2495, allocations: 36.38 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.2499, allocations: 188.7 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.2499, allocations: 3.938 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.2499, allocations: 7.984 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.25, allocations: 4 kB / 0.9834 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.2502, allocations: 112.2 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007282/0.2509, allocations: 0.5936 MB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.2511, allocations: 194.5 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.835e-05/0.2513, allocations: 84.77 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.2513, allocations: 11.94 kB / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003243/0.2516, allocations: 255 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=36): time 1.763e-06/0.2516, allocations: 0 / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.0005869/0.2522, allocations: 412.9 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.2522, allocations: 59.41 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.2524, allocations: 194.9 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.2524, allocations: 45.7 kB / 0.9853 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.2525, allocations: 136.8 kB / 0.9854 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.2525, allocations: 90.88 kB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.2526, allocations: 16 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/0.2526, allocations: 330.8 kB / 0.9859 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.2529, allocations: 153 kB / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.2532, allocations: 263.3 kB / 0.9863 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.2536, allocations: 422.5 kB / 0.9867 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2536, allocations: 0 / 0.9867 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007246/0.2543, allocations: 0.5879 MB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.862e-05/0.2544, allocations: 103.6 kB / 0.9873 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2544, allocations: 4 kB / 0.9873 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.2544, allocations: 4 kB / 0.9873 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.2546, allocations: 39.86 kB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.2546, allocations: 11.94 kB / 0.9874 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004936/0.2551, allocations: 131.9 kB / 0.9875 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.2552, allocations: 35.98 kB / 0.9875 GB, free: 18.71 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.0001348/0.2553, allocations: 174.9 kB / 0.9877 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.2553, allocations: 23.72 kB / 0.9877 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.931e-05/0.2554, allocations: 30.64 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2554, allocations: 4 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2554, allocations: 96 / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2554, allocations: 3.938 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006857/0.2561, allocations: 0.7059 MB / 0.9885 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2561, allocations: 0 / 0.9885 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.2562, allocations: 19.98 kB / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2562, allocations: 0 / 0.9885 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.2562, allocations: 15.98 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2562, allocations: 4 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2562, allocations: 0 / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.2566, allocations: 430.7 kB / 0.9889 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.2567, allocations: 100.9 kB / 0.989 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.2567, allocations: 11.98 kB / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.2568, allocations: 11.98 kB / 0.989 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.2569, allocations: 23.95 kB / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.2569, allocations: 19.98 kB / 0.9891 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.926e-05/0.257, allocations: 125.2 kB / 0.9892 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.257, allocations: 0 / 0.9892 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003418/0.2573, allocations: 99.83 kB / 0.9893 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.0001246/0.2574, allocations: 121.4 kB / 0.9894 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005494/0.258, allocations: 0.5335 MB / 0.9899 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.258, allocations: 4 kB / 0.9899 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.2582, allocations: 136.3 kB / 0.9901 GB, free: 16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.2585, allocations: 48.7 kB / 0.9901 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005576/0.2591, allocations: 464.2 kB / 0.9905 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.2592, allocations: 0.7411 MB / 0.9913 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001014/0.2593, allocations: 39.05 kB / 0.9913 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.2594, allocations: 31.44 kB / 0.9913 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.2594, allocations: 3.938 kB / 0.9913 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of Templates: time 0.006133/0.2655, allocations: 3.44 MB / 0.9947 GB, free: 11.22 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)