Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.291/2.291, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001442/0.001441, allocations: 183.6 kB / 326.3 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.425/2.425, allocations: 205.4 MB / 0.5772 GB, free: 21.2 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.0009028/0.0009025, allocations: 82.38 kB / 0.6817 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007509/0.0007513, allocations: 17.66 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2263, allocations: 106.2 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001585/0.228, allocations: 1.107 MB / 0.9006 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004815/0.2285, allocations: 205.4 kB / 0.9008 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.2285, allocations: 0 / 0.9008 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.2286, allocations: 7.922 kB / 0.9008 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.205e-05/0.2287, allocations: 11.92 kB / 0.9008 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.2288, allocations: 19.98 kB / 0.9008 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.325e-05/0.2289, allocations: 55.78 kB / 0.9009 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.229, allocations: 15.94 kB / 0.9009 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.606e-05/0.2291, allocations: 19.92 kB / 0.9009 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.233e-05/0.2292, allocations: 27.83 kB / 0.9009 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.2292, allocations: 4 kB / 0.9009 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.2292, allocations: 4 kB / 0.9009 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.2293, allocations: 4 kB / 0.9009 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.2293, allocations: 33.7 kB / 0.901 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.674e-05/0.2294, allocations: 43.91 kB / 0.901 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2294, allocations: 4 kB / 0.901 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2294, allocations: 3.938 kB / 0.901 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.84e-06/0.2294, allocations: 0 / 0.901 GB, free: 64.44 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.0005872/0.23, allocations: 371.2 kB / 0.9014 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2301, allocations: 8.031 kB / 0.9014 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.2301, allocations: 16.84 kB / 0.9014 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.2303, allocations: 176.2 kB / 0.9016 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.2303, allocations: 384 / 0.9016 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.2303, allocations: 8.375 kB / 0.9016 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.2305, allocations: 58.22 kB / 0.9016 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.2305, allocations: 4.172 kB / 0.9016 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2305, allocations: 3.938 kB / 0.9016 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2305, allocations: 0 / 0.9016 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.2306, allocations: 23.92 kB / 0.9017 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00045/0.2311, allocations: 280.9 kB / 0.9019 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.2312, allocations: 50.5 kB / 0.902 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.2313, allocations: 16.98 kB / 0.902 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.2313, allocations: 3.984 kB / 0.902 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.2315, allocations: 91.22 kB / 0.9021 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.464e-06/0.2315, allocations: 0 / 0.9021 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003027/0.2318, allocations: 101.6 kB / 0.9022 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.2319, allocations: 59.41 kB / 0.9022 GB, free: 63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.2319, allocations: 117.8 kB / 0.9024 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.232, allocations: 26.45 kB / 0.9024 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.232, allocations: 95.98 kB / 0.9025 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.2321, allocations: 15.88 kB / 0.9025 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.2321, allocations: 8 kB / 0.9025 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.2321, allocations: 314.8 kB / 0.9028 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.081e-05/0.2322, allocations: 15.98 kB / 0.9028 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.2323, allocations: 56.22 kB / 0.9029 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.934e-05/0.2324, allocations: 20 kB / 0.9029 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2324, allocations: 15.81 kB / 0.9029 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001862/0.2326, allocations: 97.45 kB / 0.903 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2326, allocations: 4 kB / 0.903 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2326, allocations: 4 kB / 0.903 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2326, allocations: 0 / 0.903 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.2327, allocations: 11.98 kB / 0.903 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2327, allocations: 3.984 kB / 0.903 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.2329, allocations: 28.02 kB / 0.903 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2329, allocations: 4 kB / 0.903 GB, free: 62.13 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 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,reset.y,$PRE.reset.pulseStart,reset.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.797e-05/0.233, allocations: 122.8 kB / 0.9032 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.887e-05/0.2331, allocations: 7.906 kB / 0.9032 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.2331, allocations: 8.375 kB / 0.9032 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2331, allocations: 4 kB / 0.9032 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2331, allocations: 0 / 0.9032 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.2332, allocations: 85 kB / 0.9033 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.2332, allocations: 8 kB / 0.9033 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2333, allocations: 15.98 kB / 0.9033 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.2334, allocations: 11.92 kB / 0.9033 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003035/0.2337, allocations: 181 kB / 0.9035 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002165/0.234, allocations: 266.8 kB / 0.9037 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.486e-05/0.2341, allocations: 23.98 kB / 0.9037 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.2341, allocations: 95.39 kB / 0.9038 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of Backend: time 5.91e-07/0.2341, allocations: 4 kB / 0.9038 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.2346, allocations: 110.3 kB / 0.9039 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000577/0.2352, allocations: 0.6248 MB / 0.9046 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.003903/0.2391, allocations: 0.9095 MB / 0.9054 GB, free: 59.58 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)