Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.701/1.701, allocations: 288.3 MB / 303.2 MB, free: 8.141 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.001152/0.001152, allocations: 184 kB / 371.8 MB, free: 10.3 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.782/1.782, allocations: 205.4 MB / 0.6306 GB, free: 10.06 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.001015/0.001015, allocations: 90.86 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 12.72 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2159, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.000794/0.2168, allocations: 394 kB / 0.9798 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.2182, allocations: 1.142 MB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.2183, allocations: 0 / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.2183, allocations: 4 kB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.2184, allocations: 15.91 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.219, allocations: 190.4 kB / 0.9811 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.2191, allocations: 91.81 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.2192, allocations: 11.98 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.2193, allocations: 63.89 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.708e-05/0.2195, allocations: 47.84 kB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.2195, allocations: 11.94 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.918e-05/0.2196, allocations: 23.98 kB / 0.9814 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.2196, allocations: 4 kB / 0.9814 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.2197, allocations: 45.64 kB / 0.9814 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.2198, allocations: 108 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2198, allocations: 0 / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2198, allocations: 0 / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2198, allocations: 0 / 0.9815 GB, free: 25.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004397/0.2203, allocations: 414.6 kB / 0.9819 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2203, allocations: 12.03 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.2204, allocations: 4 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.2205, allocations: 170.9 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.2205, allocations: 11.94 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.2206, allocations: 15.98 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.2207, allocations: 45.69 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2207, allocations: 3.938 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2207, allocations: 3.984 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.2208, allocations: 7.984 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/0.2208, allocations: 12 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.2213, allocations: 360.7 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.471e-05/0.2214, allocations: 34.58 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.2214, allocations: 96 / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.2216, allocations: 107.2 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.2216, allocations: 0 / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002363/0.2218, allocations: 113.6 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.2219, allocations: 59.41 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.919e-05/0.222, allocations: 129.6 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.222, allocations: 29.7 kB / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.2221, allocations: 92.75 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.2221, allocations: 15.8 kB / 0.9831 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.2221, allocations: 12 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.2221, allocations: 318.8 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.2223, allocations: 63.91 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2224, allocations: 112 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.2225, allocations: 119.4 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2225, allocations: 0 / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003539/0.2229, allocations: 284.8 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.223, allocations: 67.39 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.223, allocations: 3.984 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.223, allocations: 4 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/0.2231, allocations: 12.08 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2231, allocations: 8 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.2234, allocations: 87.67 kB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.2235, allocations: 15.98 kB / 0.9841 GB, free: 22.58 MB / 0.6198 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 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.024e-05/0.2236, allocations: 122.5 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.2236, allocations: 7.906 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.2236, allocations: 16.36 kB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2236, allocations: 0 / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2237, allocations: 0 / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2237, allocations: 0 / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.2239, allocations: 362.5 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2239, allocations: 0 / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-06/0.2239, allocations: 0 / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2239, allocations: 4 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.224, allocations: 3.984 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.224, allocations: 0 / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.224, allocations: 0 / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.2241, allocations: 199.4 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.2241, allocations: 85.02 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.2242, allocations: 3.984 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.064e-05/0.2242, allocations: 4.188 kB / 0.9849 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.2243, allocations: 4 kB / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.2243, allocations: 11.92 kB / 0.9849 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.2243, allocations: 91.23 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2243, allocations: 0 / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003164/0.2246, allocations: 35.98 kB / 0.9851 GB, free: 21.55 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: 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 (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.0001362/0.2248, allocations: 111.2 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.2251, allocations: 258.7 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2251, allocations: 0 / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.697e-05/0.2251, allocations: 35.92 kB / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.2253, allocations: 14.88 kB / 0.9855 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.2257, allocations: 187 kB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.2258, allocations: 0.6926 MB / 0.9863 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.2258, allocations: 8.656 kB / 0.9863 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.2258, allocations: 15.44 kB / 0.9863 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2258, allocations: 0 / 0.9863 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.003669/0.2295, allocations: 1.748 MB / 0.988 GB, free: 18.44 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)