Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.3 MB / 308.1 MB, free: 4.254 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.001914/0.001913, allocations: 190 kB / 376.9 MB, free: 1.801 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.971/1.971, allocations: 205 MB / 0.6354 GB, free: 9.816 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.001102/0.001102, allocations: 104 kB / 0.748 GB, free: 60.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 59.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2759, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002947/0.2789, allocations: 0.8213 MB / 0.983 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.281, allocations: 1.269 MB / 0.9843 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.956e-05/0.2811, allocations: 0 / 0.9843 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.21e-05/0.2812, allocations: 19.86 kB / 0.9843 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.2813, allocations: 11.92 kB / 0.9843 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.2821, allocations: 219.6 kB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.2823, allocations: 227.6 kB / 0.9847 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2824, allocations: 20.22 kB / 0.9848 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.2827, allocations: 87.8 kB / 0.9848 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.2828, allocations: 79.77 kB / 0.9849 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.826e-05/0.2829, allocations: 12 kB / 0.9849 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.283, allocations: 31.92 kB / 0.985 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/0.283, allocations: 27.91 kB / 0.985 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.2831, allocations: 83.73 kB / 0.9851 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.2834, allocations: 211.7 kB / 0.9853 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2834, allocations: 0 / 0.9853 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2835, allocations: 4 kB / 0.9853 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.2835, allocations: 0 / 0.9853 GB, free: 7.254 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00085/0.2843, allocations: 0.4907 MB / 0.9857 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.2844, allocations: 15.97 kB / 0.9858 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.596e-05/0.2845, allocations: 24.77 kB / 0.9858 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.2851, allocations: 252.3 kB / 0.986 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.2852, allocations: 16.36 kB / 0.986 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.2852, allocations: 20.31 kB / 0.9861 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.2855, allocations: 131.9 kB / 0.9862 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2855, allocations: 7.938 kB / 0.9862 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.2855, allocations: 4 kB / 0.9862 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.2855, allocations: 7.984 kB / 0.9862 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.2857, allocations: 63.89 kB / 0.9863 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.2865, allocations: 0.5084 MB / 0.9868 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.2868, allocations: 157.2 kB / 0.9869 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.2869, allocations: 69.67 kB / 0.987 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.2869, allocations: 4 kB / 0.987 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000395/0.2873, allocations: 212.9 kB / 0.9872 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.973e-06/0.2873, allocations: 0 / 0.9872 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.000528/0.2879, allocations: 309.4 kB / 0.9875 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.2879, allocations: 89.05 kB / 0.9876 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.288, allocations: 130 kB / 0.9877 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.2881, allocations: 37.7 kB / 0.9877 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.2882, allocations: 100.7 kB / 0.9878 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.2882, allocations: 51.34 kB / 0.9879 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.2883, allocations: 77.67 kB / 0.9879 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2885, allocations: 322.8 kB / 0.9883 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.2886, allocations: 88.23 kB / 0.9883 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.2888, allocations: 156.2 kB / 0.9885 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.2891, allocations: 247.3 kB / 0.9887 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2891, allocations: 0 / 0.9887 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005813/0.2897, allocations: 365.5 kB / 0.9891 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.664e-05/0.2898, allocations: 66.05 kB / 0.9891 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.2898, allocations: 7.938 kB / 0.9891 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2898, allocations: 0 / 0.9891 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.2899, allocations: 16.22 kB / 0.9892 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.2899, allocations: 15.86 kB / 0.9892 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.2903, allocations: 67.78 kB / 0.9892 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.2903, allocations: 19.98 kB / 0.9893 GB, free: 2.805 MB / 0.7136 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 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.2905, allocations: 148 kB / 0.9894 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.2906, allocations: 15.89 kB / 0.9894 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.2906, allocations: 12.5 kB / 0.9894 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.2906, allocations: 4 kB / 0.9894 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2907, allocations: 3.938 kB / 0.9894 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2907, allocations: 0 / 0.9894 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.2913, allocations: 0.6109 MB / 0.99 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2913, allocations: 4 kB / 0.99 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.78e-05/0.2914, allocations: 11.94 kB / 0.99 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.2914, allocations: 3.938 kB / 0.99 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.2914, allocations: 11.98 kB / 0.9901 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2914, allocations: 0 / 0.9901 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2914, allocations: 0 / 0.9901 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008663/0.2923, allocations: 1.042 MB / 0.9911 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.2924, allocations: 92.86 kB / 0.9912 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.2925, allocations: 16.08 kB / 0.9912 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.2926, allocations: 15.92 kB / 0.9912 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.2927, allocations: 23.97 kB / 0.9912 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.2927, allocations: 11.98 kB / 0.9912 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.374e-05/0.2928, allocations: 95.27 kB / 0.9913 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2928, allocations: 3.938 kB / 0.9913 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000473/0.2933, allocations: 63.92 kB / 0.9914 GB, free: 492 kB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001913/0.2935, allocations: 119 kB / 0.9915 GB, free: 364 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005327/0.294, allocations: 342.6 kB / 0.9918 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.294, allocations: 3.938 kB / 0.9918 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.2942, allocations: 123.8 kB / 0.9919 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.2946, allocations: 32.73 kB / 0.992 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007426/0.2954, allocations: 460.6 kB / 0.9924 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.2957, allocations: 0.7086 MB / 0.9931 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.872e-05/0.2958, allocations: 25.53 kB / 0.9931 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.2959, allocations: 19.44 kB / 0.9932 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of SimCode: time 3.7e-07/0.2959, allocations: 0 / 0.9932 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.006192/0.3021, allocations: 2.61 MB / 0.9957 GB, free: 11.98 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)