Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.595/1.595, allocations: 289.9 MB / 297.4 MB, free: 6.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 176.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.3 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 90.5 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.935e-05, allocations: 8 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7116/0.7117, allocations: 116.3 MB / 0.9733 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1846/0.8963, allocations: 138.4 MB / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.8966, allocations: 80.41 kB / 1.108 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008405/0.9051, allocations: 2.923 MB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9051, allocations: 2.406 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.9051, allocations: 4 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003769/0.9055, allocations: 407.2 kB / 1.112 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.9055, allocations: 12.02 kB / 1.112 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.9056, allocations: 8 kB / 1.112 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.9057, allocations: 173.8 kB / 1.112 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.9058, allocations: 8 kB / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.9058, allocations: 11.94 kB / 1.112 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.656e-05/0.9059, allocations: 15.94 kB / 1.112 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.444e-05/0.9059, allocations: 45.67 kB / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.906, allocations: 0 / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.906, allocations: 4 kB / 1.112 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.906, allocations: 1.312 kB / 1.112 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.9064, allocations: 329.3 kB / 1.112 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.194e-05/0.9065, allocations: 38.56 kB / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.213e-05/0.9066, allocations: 12.86 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.9066, allocations: 7.938 kB / 1.112 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.9067, allocations: 79.47 kB / 1.112 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.896e-06/0.9067, allocations: 3.984 kB / 1.112 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002083/0.9069, allocations: 104.5 kB / 1.113 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.907, allocations: 55.39 kB / 1.113 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.571e-05/0.9071, allocations: 116.8 kB / 1.113 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.9071, allocations: 29.7 kB / 1.113 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.9072, allocations: 96.36 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.9072, allocations: 11.81 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.9072, allocations: 4 kB / 1.113 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9074, allocations: 326.8 kB / 1.113 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.826e-05/0.9075, allocations: 52 kB / 1.113 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.9076, allocations: 104 kB / 1.113 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.9079, allocations: 77.31 kB / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9079, allocations: 0 / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004973/0.9084, allocations: 213.4 kB / 1.114 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/0.9085, allocations: 67.39 kB / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.9085, allocations: 4 kB / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9085, allocations: 3 kB / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.546e-05/0.9085, allocations: 11.94 kB / 1.114 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.9086, allocations: 8.141 kB / 1.114 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.9089, allocations: 79.84 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.9089, allocations: 8 kB / 1.114 GB, free: 6.156 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.904e-05/0.909, allocations: 124.9 kB / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.909, allocations: 4 kB / 1.114 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.9091, allocations: 4.625 kB / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.9091, allocations: 0 / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.9091, allocations: 0 / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.9091, allocations: 4 kB / 1.114 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/0.9094, allocations: 334.9 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9094, allocations: 0 / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.131e-05/0.9094, allocations: 4 kB / 1.114 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.9094, allocations: 0 / 1.114 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.9094, allocations: 3.984 kB / 1.114 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9094, allocations: 0 / 1.114 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9094, allocations: 0 / 1.114 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.9096, allocations: 199.3 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.9097, allocations: 81.02 kB / 1.114 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.9097, allocations: 4 kB / 1.114 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.9098, allocations: 0 / 1.114 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.9098, allocations: 7.984 kB / 1.115 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.9098, allocations: 0 / 1.115 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.174e-05/0.9099, allocations: 95.27 kB / 1.115 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9099, allocations: 0 / 1.115 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002666/0.9101, allocations: 35.94 kB / 1.115 GB, free: 5.188 MB / 0.7136 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * 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.0001665/0.9103, allocations: 123.1 kB / 1.115 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002976/0.9106, allocations: 234.7 kB / 1.115 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9106, allocations: 0 / 1.115 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.473e-05/0.9107, allocations: 35.92 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.9109, allocations: 15.94 kB / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.9111, allocations: 100.7 kB / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.9114, allocations: 0.6947 MB / 1.116 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.9114, allocations: 4.672 kB / 1.116 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.9114, allocations: 11.44 kB / 1.116 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.9114, allocations: 4 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of Templates: time 0.00354/0.915, allocations: 1.623 MB / 1.117 GB, free: 2.344 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)