Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.788/2.788, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.002291/0.002291, allocations: 181.7 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.272/2.272, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001622/0.001622, allocations: 101.1 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004709, allocations: 12.44 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2111, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0009353/0.2121, allocations: 405.7 kB / 0.9786 GB, free: 27.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.214, allocations: 1.142 MB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.2141, allocations: 0 / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.2141, allocations: 0 / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.26e-05/0.2142, allocations: 7.922 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008379/0.2151, allocations: 201.2 kB / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.2152, allocations: 91.81 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.845e-05/0.2153, allocations: 7.984 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.2154, allocations: 59.89 kB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2156, allocations: 47.86 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.2156, allocations: 11.94 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.2157, allocations: 23.98 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.2157, allocations: 11.98 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.2158, allocations: 41.64 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.216, allocations: 108 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.216, allocations: 0 / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.216, allocations: 0 / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.216, allocations: 0 / 0.9803 GB, free: 26.2 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.0004489/0.2165, allocations: 414.6 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2165, allocations: 12.03 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.2166, allocations: 4 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.112e-05/0.2167, allocations: 178.9 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.2168, allocations: 4 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/0.2168, allocations: 15.98 kB / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.217, allocations: 49.69 kB / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.217, allocations: 0 / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.217, allocations: 7.922 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.217, allocations: 7.938 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.028e-05/0.2171, allocations: 8 kB / 0.981 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.2176, allocations: 360.7 kB / 0.9813 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.182e-05/0.2178, allocations: 34.58 kB / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.2178, allocations: 96 / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.218, allocations: 99.19 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.218, allocations: 0 / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003404/0.2184, allocations: 117.6 kB / 0.9816 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.2184, allocations: 63.36 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.2185, allocations: 121.7 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.2186, allocations: 33.7 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.2186, allocations: 92.75 kB / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.2187, allocations: 23.78 kB / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.2187, allocations: 0 / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.2188, allocations: 318.8 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.219, allocations: 67.89 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.2192, allocations: 113.9 kB / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.2194, allocations: 115.4 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2194, allocations: 0 / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006119/0.2201, allocations: 284.8 kB / 0.9827 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-05/0.2201, allocations: 67.39 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2201, allocations: 4 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2202, allocations: 4 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.176e-05/0.2202, allocations: 11.92 kB / 0.9828 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2203, allocations: 7.953 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006267/0.2209, allocations: 83.94 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.221, allocations: 11.98 kB / 0.9829 GB, free: 23.23 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 0.0001089/0.2211, allocations: 125.8 kB / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.2211, allocations: 11.91 kB / 0.983 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.2211, allocations: 12.36 kB / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2212, allocations: 3.938 kB / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2212, allocations: 0 / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2212, allocations: 3.953 kB / 0.9831 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.2215, allocations: 354.5 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2215, allocations: 0 / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.2216, allocations: 4 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2216, allocations: 4 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.2216, allocations: 7.984 kB / 0.9834 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2216, allocations: 0 / 0.9834 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2216, allocations: 3.953 kB / 0.9834 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.2219, allocations: 191.5 kB / 0.9836 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/0.2219, allocations: 85.02 kB / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.2219, allocations: 3.984 kB / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.222, allocations: 4.188 kB / 0.9837 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.2221, allocations: 7.953 kB / 0.9837 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.2221, allocations: 15.92 kB / 0.9837 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.2222, allocations: 87.28 kB / 0.9838 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2222, allocations: 0 / 0.9838 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003784/0.2226, allocations: 31.98 kB / 0.9838 GB, free: 22.19 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.0001476/0.2227, allocations: 113.4 kB / 0.9839 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.2232, allocations: 254.7 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2232, allocations: 4 kB / 0.9842 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.2233, allocations: 35.92 kB / 0.9842 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.2236, allocations: 11.98 kB / 0.9842 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003794/0.224, allocations: 191.3 kB / 0.9844 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.2241, allocations: 0.6887 MB / 0.9851 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.792e-05/0.2242, allocations: 8.656 kB / 0.9851 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.2242, allocations: 15.44 kB / 0.9851 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/0.2242, allocations: 0 / 0.9851 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.005287/0.2295, allocations: 1.752 MB / 0.9868 GB, free: 19.07 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)