Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.001191, allocations: 192.6 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.031/2.031, allocations: 292.2 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 69.98 kB / 0.6708 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2401, allocations: 114.6 MB / 0.7827 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002431/0.2426, allocations: 0.7428 MB / 0.7834 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.2444, allocations: 1.224 MB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.63e-05/0.2445, allocations: 0 / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.2445, allocations: 0 / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.256e-05/0.2446, allocations: 11.94 kB / 0.7846 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007847/0.2454, allocations: 212.7 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.2456, allocations: 147.8 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2458, allocations: 11.98 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.2459, allocations: 63.83 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.246, allocations: 59.78 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.2461, allocations: 8 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.2462, allocations: 23.98 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.2462, allocations: 7.938 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.2463, allocations: 59.81 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.2465, allocations: 151.9 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2466, allocations: 0 / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2466, allocations: 0 / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2466, allocations: 3.938 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005646/0.2471, allocations: 438.7 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.2472, allocations: 8.031 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/0.2473, allocations: 12.84 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2474, allocations: 168.4 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.2474, allocations: 12.36 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.2475, allocations: 16.31 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.2476, allocations: 50.23 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2476, allocations: 192 / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2477, allocations: 3.938 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2477, allocations: 0 / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.858e-05/0.2477, allocations: 12 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.2483, allocations: 360.6 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.718e-05/0.2484, allocations: 54.42 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.727e-05/0.2484, allocations: 8.859 kB / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-06/0.2484, allocations: 0 / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.2486, allocations: 91.45 kB / 0.7865 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.2486, allocations: 0 / 0.7865 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003091/0.249, allocations: 125.5 kB / 0.7866 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.249, allocations: 59.34 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.2491, allocations: 125.8 kB / 0.7868 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.2492, allocations: 29.7 kB / 0.7868 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.2492, allocations: 92.28 kB / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.2493, allocations: 20.17 kB / 0.7869 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.2494, allocations: 53.67 kB / 0.787 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2495, allocations: 318.8 kB / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2496, allocations: 67.95 kB / 0.7874 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.2498, allocations: 109.9 kB / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.2501, allocations: 189.2 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.2501, allocations: 4 kB / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004726/0.2506, allocations: 284.8 kB / 0.7879 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.186e-05/0.2506, allocations: 63.41 kB / 0.788 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2507, allocations: 4 kB / 0.788 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2507, allocations: 3.984 kB / 0.788 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.693e-05/0.2507, allocations: 8.156 kB / 0.788 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2508, allocations: 7.938 kB / 0.788 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.2511, allocations: 51.88 kB / 0.7881 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.2512, allocations: 19.98 kB / 0.7881 GB, free: 8.102 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001211/0.2513, allocations: 124.1 kB / 0.7882 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.2513, allocations: 11.91 kB / 0.7882 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.2514, allocations: 12.36 kB / 0.7882 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2514, allocations: 4 kB / 0.7882 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2514, allocations: 0 / 0.7882 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2514, allocations: 0 / 0.7882 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/0.2518, allocations: 358.5 kB / 0.7886 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2518, allocations: 0 / 0.7886 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.2518, allocations: 7.922 kB / 0.7886 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2518, allocations: 0 / 0.7886 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.2518, allocations: 8 kB / 0.7886 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2519, allocations: 0 / 0.7886 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2519, allocations: 0 / 0.7886 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.2521, allocations: 199.4 kB / 0.7888 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.2521, allocations: 85.11 kB / 0.7889 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.2521, allocations: 7.922 kB / 0.7889 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.614e-05/0.2522, allocations: 4 kB / 0.7889 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.2522, allocations: 7.984 kB / 0.7889 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.2523, allocations: 8 kB / 0.7889 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.319e-05/0.2523, allocations: 95.75 kB / 0.789 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2523, allocations: 3.938 kB / 0.789 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002863/0.2526, allocations: 32 kB / 0.789 GB, free: 7.055 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001774/0.2528, allocations: 103.2 kB / 0.7891 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003944/0.2532, allocations: 258.6 kB / 0.7894 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2532, allocations: 4.312 kB / 0.7894 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.735e-05/0.2533, allocations: 28 kB / 0.7894 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.2536, allocations: 19.97 kB / 0.7894 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.2539, allocations: 180.2 kB / 0.7896 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.2542, allocations: 0.6926 MB / 0.7903 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.2543, allocations: 4.672 kB / 0.7903 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.2543, allocations: 15.44 kB / 0.7903 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2543, allocations: 4 kB / 0.7903 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of Templates: time 0.004322/0.2586, allocations: 1.821 MB / 0.7921 GB, free: 3.867 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)