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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009778/0.0009777, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007885/0.007885, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.641/1.641, allocations: 252 MB / 0.5105 GB, free: 4.684 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006222/0.0006223, allocations: 12 kB / 0.6249 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6301/0.6308, allocations: 106.3 MB / 0.7287 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002257/0.6331, allocations: 1.123 MB / 0.7298 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006246/0.6338, allocations: 208.2 kB / 0.73 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.6338, allocations: 0 / 0.73 GB, free: 9.977 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.6339, allocations: 3.938 kB / 0.73 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.634, allocations: 11.91 kB / 0.73 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.6342, allocations: 15.98 kB / 0.7301 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.6344, allocations: 67.78 kB / 0.7301 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.6345, allocations: 11.98 kB / 0.7301 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.241e-05/0.6346, allocations: 23.86 kB / 0.7302 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.6346, allocations: 19.92 kB / 0.7302 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.6347, allocations: 0 / 0.7302 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.6347, allocations: 4 kB / 0.7302 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.6347, allocations: 7.984 kB / 0.7302 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.705e-05/0.6348, allocations: 49.56 kB / 0.7302 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.6349, allocations: 53.75 kB / 0.7303 GB, free: 9.707 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.635, allocations: 4 kB / 0.7303 GB, free: 9.703 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/0.635, allocations: 0 / 0.7303 GB, free: 9.703 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.635, allocations: 0 / 0.7303 GB, free: 9.703 MB / 0.545 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.0006363/0.6356, allocations: 371.4 kB / 0.7306 GB, free: 9.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.6357, allocations: 12.03 kB / 0.7307 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.6357, allocations: 8.844 kB / 0.7307 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.6359, allocations: 168.3 kB / 0.7308 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.6359, allocations: 12.3 kB / 0.7308 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.636, allocations: 8.375 kB / 0.7308 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.6361, allocations: 46.25 kB / 0.7309 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6361, allocations: 4.188 kB / 0.7309 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.6361, allocations: 7.938 kB / 0.7309 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.6361, allocations: 3.984 kB / 0.7309 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.582e-05/0.6362, allocations: 16 kB / 0.7309 GB, free: 8.965 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.6367, allocations: 288.8 kB / 0.7312 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.6369, allocations: 62.42 kB / 0.7313 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.6369, allocations: 16.98 kB / 0.7313 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.6369, allocations: 0 / 0.7313 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.6371, allocations: 83.31 kB / 0.7314 GB, free: 8.449 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.6371, allocations: 0 / 0.7314 GB, free: 8.449 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002737/0.6374, allocations: 109.5 kB / 0.7315 GB, free: 8.336 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.6375, allocations: 63.33 kB / 0.7315 GB, free: 8.262 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.6376, allocations: 117.8 kB / 0.7316 GB, free: 8.137 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.6376, allocations: 25.7 kB / 0.7317 GB, free: 8.105 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.6377, allocations: 92 kB / 0.7317 GB, free: 8.012 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.6378, allocations: 23.66 kB / 0.7318 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.6378, allocations: 21.7 kB / 0.7318 GB, free: 7.961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.638, allocations: 322.8 kB / 0.7321 GB, free: 7.637 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-05/0.638, allocations: 19.94 kB / 0.7321 GB, free: 7.617 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.6382, allocations: 48.28 kB / 0.7322 GB, free: 7.555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.6383, allocations: 80.16 kB / 0.7322 GB, free: 7.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6383, allocations: 0 / 0.7322 GB, free: 7.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001871/0.6385, allocations: 97.55 kB / 0.7323 GB, free: 7.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.6385, allocations: 4 kB / 0.7323 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6385, allocations: 0 / 0.7323 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.6386, allocations: 4 kB / 0.7323 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.6386, allocations: 4 kB / 0.7323 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.6386, allocations: 7.938 kB / 0.7323 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.6388, allocations: 23.98 kB / 0.7324 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.6388, allocations: 0 / 0.7324 GB, free: 7.316 MB / 0.545 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 0.000123/0.6389, allocations: 125.8 kB / 0.7325 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.6389, allocations: 4.75 kB / 0.7325 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.639, allocations: 12.36 kB / 0.7325 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.639, allocations: 0 / 0.7325 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.639, allocations: 0 / 0.7325 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.639, allocations: 4 kB / 0.7325 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.6396, allocations: 394.3 kB / 0.7329 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6396, allocations: 0 / 0.7329 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/0.6397, allocations: 3.938 kB / 0.7329 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.6397, allocations: 4 kB / 0.7329 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.6397, allocations: 7.984 kB / 0.7329 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.6397, allocations: 0 / 0.7329 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6397, allocations: 0 / 0.7329 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.6399, allocations: 191.3 kB / 0.7331 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.64, allocations: 77.11 kB / 0.7332 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.6401, allocations: 8 kB / 0.7332 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.6402, allocations: 16.08 kB / 0.7332 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.6403, allocations: 15.91 kB / 0.7332 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.6403, allocations: 11.94 kB / 0.7332 GB, free: 6.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.766e-05/0.6404, allocations: 95.27 kB / 0.7333 GB, free: 6.266 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6404, allocations: 0 / 0.7333 GB, free: 6.266 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002398/0.6406, allocations: 15.91 kB / 0.7333 GB, free: 6.25 MB / 0.545 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 0.0001574/0.6408, allocations: 109.4 kB / 0.7334 GB, free: 6.137 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.6409, allocations: 63.84 kB / 0.7335 GB, free: 6.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6409, allocations: 0 / 0.7335 GB, free: 6.074 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.963e-05/0.641, allocations: 24.47 kB / 0.7335 GB, free: 6.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.6413, allocations: 20.11 kB / 0.7335 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.6418, allocations: 191.5 kB / 0.7337 GB, free: 5.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.6421, allocations: 0.6887 MB / 0.7344 GB, free: 5.098 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.6421, allocations: 4.672 kB / 0.7344 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.6422, allocations: 11.44 kB / 0.7344 GB, free: 5.082 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.6422, allocations: 0 / 0.7344 GB, free: 5.082 MB / 0.545 GB Notification: Performance of Templates: time 0.003794/0.646, allocations: 0.922 MB / 0.7353 GB, free: 4.168 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: