Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.32/2.32, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001344, allocations: 177.3 kB / 325.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.587/2.587, allocations: 205.4 MB / 0.5767 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 86.36 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006285/0.0006287, allocations: 11.5 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2339, allocations: 106.3 MB / 0.8991 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001677/0.2357, allocations: 1.099 MB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005243/0.2363, allocations: 221.4 kB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.2363, allocations: 0 / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.2363, allocations: 0 / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.955e-05/0.2365, allocations: 11.92 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.2366, allocations: 23.91 kB / 0.9004 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.2367, allocations: 51.84 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.2369, allocations: 8 kB / 0.9004 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/0.2369, allocations: 19.92 kB / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.983e-05/0.237, allocations: 19.86 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.237, allocations: 8 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.697e-05/0.2371, allocations: 4 kB / 0.9005 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.2371, allocations: 11.97 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.2371, allocations: 41.58 kB / 0.9005 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.48e-05/0.2372, allocations: 39.92 kB / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2373, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2373, allocations: 0 / 0.9006 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2373, allocations: 0 / 0.9006 GB, free: 63.84 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.0006494/0.2379, allocations: 379.5 kB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.238, allocations: 8.031 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.238, allocations: 8.844 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.2382, allocations: 168.3 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.2382, allocations: 4.375 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.2382, allocations: 8.359 kB / 0.9011 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.2384, allocations: 50.25 kB / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2384, allocations: 8.125 kB / 0.9012 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.2384, allocations: 3.938 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2384, allocations: 4 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.2385, allocations: 19.97 kB / 0.9012 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.239, allocations: 284.9 kB / 0.9015 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.2392, allocations: 50.5 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.2392, allocations: 20.98 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.2393, allocations: 3.938 kB / 0.9015 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.2395, allocations: 87.28 kB / 0.9016 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 3.046e-06/0.2395, allocations: 0 / 0.9016 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003317/0.2398, allocations: 101.6 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.2399, allocations: 59.41 kB / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.24, allocations: 130 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.24, allocations: 25.7 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.2401, allocations: 92 kB / 0.902 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.2401, allocations: 19.88 kB / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.2401, allocations: 0 / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.2402, allocations: 318.8 kB / 0.9023 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.399e-05/0.2403, allocations: 23.92 kB / 0.9024 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.2404, allocations: 52.23 kB / 0.9024 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.218e-05/0.2404, allocations: 27.92 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2404, allocations: 0 / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000196/0.2407, allocations: 101.4 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2407, allocations: 8 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2407, allocations: 0 / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.2407, allocations: 4.094 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.2408, allocations: 8 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2408, allocations: 4 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.241, allocations: 19.92 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.241, allocations: 4 kB / 0.9026 GB, free: 61.54 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 9.505e-05/0.2411, allocations: 125.7 kB / 0.9027 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.2412, allocations: 7.891 kB / 0.9027 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.2412, allocations: 16.38 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2412, allocations: 0 / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2413, allocations: 0 / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2413, allocations: 0 / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006981/0.242, allocations: 386.3 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.242, allocations: 4 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.749e-05/0.242, allocations: 4 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.242, allocations: 0 / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2421, allocations: 7.984 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2421, allocations: 0 / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.2421, allocations: 4.406 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.2423, allocations: 183.4 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.2424, allocations: 85.11 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.2424, allocations: 7.938 kB / 0.9034 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.2426, allocations: 23.97 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.2427, allocations: 11.92 kB / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.2427, allocations: 0 / 0.9034 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.385e-05/0.2428, allocations: 95.27 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2428, allocations: 0 / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003113/0.2431, allocations: 16 kB / 0.9035 GB, free: 60.48 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 (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.0001296/0.2432, allocations: 103.2 kB / 0.9036 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.2434, allocations: 51.92 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.2435, allocations: 4 kB / 0.9037 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.982e-05/0.2436, allocations: 31.92 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.244, allocations: 15.98 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005025/0.2445, allocations: 187.3 kB / 0.9039 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.2447, allocations: 0.6887 MB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.023e-05/0.2447, allocations: 9.219 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.2448, allocations: 11.44 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of SimCode: time 1.413e-06/0.2448, allocations: 3.938 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.004233/0.2491, allocations: 0.8933 MB / 0.9055 GB, free: 58.44 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)