Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 182.1 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008117/0.0008116, allocations: 84.58 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004163, allocations: 10.19 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2102, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001446/0.2117, allocations: 1.127 MB / 0.8978 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000429/0.2121, allocations: 217 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.2122, allocations: 3.938 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.2122, allocations: 7.938 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.114e-05/0.2123, allocations: 7.922 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.2125, allocations: 15.98 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.713e-05/0.2126, allocations: 55.84 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2127, allocations: 12.28 kB / 0.8982 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.114e-05/0.2127, allocations: 27.84 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.2128, allocations: 23.84 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.2128, allocations: 4 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.2128, allocations: 4 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.2128, allocations: 4 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.2129, allocations: 23.86 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.876e-05/0.213, allocations: 43.84 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.213, allocations: 0 / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.213, allocations: 0 / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.213, allocations: 0 / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004682/0.2135, allocations: 375.4 kB / 0.8986 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.2135, allocations: 8.031 kB / 0.8986 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.2136, allocations: 8.844 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.204e-05/0.2136, allocations: 172.3 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2137, allocations: 4.375 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.2137, allocations: 12.38 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.2138, allocations: 50.23 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2138, allocations: 4.125 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2138, allocations: 7.938 kB / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2138, allocations: 0 / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.334e-05/0.2139, allocations: 19.98 kB / 0.8989 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.2143, allocations: 289.6 kB / 0.8992 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.758e-05/0.2144, allocations: 58.5 kB / 0.8992 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.2144, allocations: 16.98 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.2144, allocations: 0 / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.2146, allocations: 83.38 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2146, allocations: 0 / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002147/0.2148, allocations: 113.5 kB / 0.8994 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.2148, allocations: 59.41 kB / 0.8995 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.981e-05/0.2149, allocations: 117.8 kB / 0.8996 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2149, allocations: 29.7 kB / 0.8996 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.215, allocations: 92 kB / 0.8997 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.215, allocations: 19.72 kB / 0.8998 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.215, allocations: 21.7 kB / 0.8998 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.705e-05/0.2151, allocations: 314.8 kB / 0.9001 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.2151, allocations: 19.98 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.517e-05/0.2152, allocations: 52.28 kB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.2152, allocations: 72.16 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2152, allocations: 0 / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001139/0.2154, allocations: 105.5 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.2154, allocations: 4 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2154, allocations: 0 / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2154, allocations: 11.98 kB / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.2155, allocations: 4 kB / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2155, allocations: 7.938 kB / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.958e-05/0.2156, allocations: 19.83 kB / 0.9004 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.2156, allocations: 12.03 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition4,$whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,$whenCondition1,reset.pulseStart,$PRE.reset.pulseStart,reset.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 6.129e-05/0.2157, allocations: 126.6 kB / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.2157, allocations: 4 kB / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.2157, allocations: 12.36 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2157, allocations: 0.75 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2157, allocations: 0 / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2157, allocations: 0 / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.2161, allocations: 398.2 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2161, allocations: 0 / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-06/0.2161, allocations: 3.938 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2161, allocations: 4 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2161, allocations: 0 / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2162, allocations: 0 / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2162, allocations: 3.984 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.2163, allocations: 195.3 kB / 0.9011 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.2163, allocations: 81.09 kB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.2163, allocations: 8 kB / 0.9012 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2164, allocations: 11.98 kB / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.2165, allocations: 11.92 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.2165, allocations: 4 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.103e-05/0.2165, allocations: 99.27 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2166, allocations: 0 / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002067/0.2168, allocations: 15.91 kB / 0.9013 GB, free: 63.14 MB / 0.6042 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 (booPul.y,reset.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * 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 9.223e-05/0.2169, allocations: 103.2 kB / 0.9014 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.217, allocations: 59.84 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.217, allocations: 0 / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.98e-05/0.217, allocations: 24.66 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.2173, allocations: 20.17 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.2177, allocations: 214 kB / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.2178, allocations: 0.6888 MB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.2178, allocations: 11.44 kB / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.2178, allocations: 0 / 0.9024 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.001963/0.2198, allocations: 1.014 MB / 0.9034 GB, free: 60.95 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)