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.397/1.397, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009614/0.0009615, allocations: 167.2 kB / 326.5 MB, free: 2.695 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.9/1.9, allocations: 205 MB / 0.5766 GB, free: 21 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.001097/0.001097, allocations: 93.33 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003289, allocations: 8.656 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2299, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001604/0.2316, allocations: 1.127 MB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004251/0.232, allocations: 221 kB / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.2321, allocations: 0 / 0.8981 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.925e-05/0.2321, allocations: 3.938 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.2322, allocations: 11.92 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.2324, allocations: 19.97 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.2324, allocations: 51.86 kB / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.2326, allocations: 16.2 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.566e-05/0.2326, allocations: 15.94 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.2327, allocations: 27.84 kB / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.2327, allocations: 8 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.2327, allocations: 0 / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.2327, allocations: 11.97 kB / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.2328, allocations: 23.88 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.385e-05/0.2329, allocations: 55.72 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2329, allocations: 0 / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2329, allocations: 0 / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.2329, allocations: 0 / 0.8983 GB, free: 66.54 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.0004679/0.2334, allocations: 371.3 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2334, allocations: 8.031 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.2334, allocations: 8.844 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.158e-05/0.2335, allocations: 180.2 kB / 0.8988 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.2336, allocations: 384 / 0.8988 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.2336, allocations: 8.312 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.2337, allocations: 54.23 kB / 0.8989 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.2337, allocations: 4.188 kB / 0.8989 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.2337, allocations: 3.938 kB / 0.8989 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2337, allocations: 0 / 0.8989 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.067e-05/0.2338, allocations: 27.97 kB / 0.8989 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.2341, allocations: 293.6 kB / 0.8992 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.912e-05/0.2342, allocations: 46.52 kB / 0.8993 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.2342, allocations: 24.97 kB / 0.8993 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2343, allocations: 0 / 0.8993 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.2344, allocations: 79.31 kB / 0.8994 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.2344, allocations: 0 / 0.8994 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002195/0.2347, allocations: 113.5 kB / 0.8995 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.2347, allocations: 51.41 kB / 0.8995 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/0.2348, allocations: 121.8 kB / 0.8996 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.2348, allocations: 33.7 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.2348, allocations: 92.06 kB / 0.8998 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.2349, allocations: 15.72 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.2349, allocations: 22.45 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.211e-05/0.2349, allocations: 318.8 kB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.235, allocations: 19.98 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.235, allocations: 56.22 kB / 0.9002 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.425e-05/0.2351, allocations: 68.22 kB / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2351, allocations: 3.938 kB / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001104/0.2352, allocations: 97.55 kB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.2352, allocations: 8.094 kB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2352, allocations: 7.938 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2353, allocations: 0 / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.2353, allocations: 11.98 kB / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2353, allocations: 3.938 kB / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.161e-05/0.2354, allocations: 27.83 kB / 0.9004 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.2354, allocations: 4 kB / 0.9004 GB, free: 64.14 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 5.806e-05/0.2355, allocations: 121.8 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.2355, allocations: 4 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.2356, allocations: 12.38 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2356, allocations: 3.984 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2356, allocations: 0 / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.2356, allocations: 85.02 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.2356, allocations: 0 / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.2357, allocations: 15.98 kB / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.2357, allocations: 15.92 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001796/0.2359, allocations: 180.9 kB / 0.9008 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001418/0.2361, allocations: 262.7 kB / 0.9011 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.532e-05/0.2361, allocations: 27.98 kB / 0.9011 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.096e-05/0.2362, allocations: 99.39 kB / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of Backend: time 3.4e-07/0.2362, allocations: 0 / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.2365, allocations: 118.3 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004838/0.237, allocations: 0.6219 MB / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.002807/0.2398, allocations: 0.933 MB / 0.9028 GB, free: 61.56 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)