Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.11/2.11, allocations: 251.1 MB / 266.7 MB, free: 11.54 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.001473/0.001473, allocations: 181 kB / 326.2 MB, free: 2.832 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.521/2.521, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.000907/0.0009065, allocations: 96 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005287/0.0005289, allocations: 12.56 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2391/0.4453, allocations: 131.6 MB / 1.028 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.4457, allocations: 75.95 kB / 1.028 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007063/0.4528, allocations: 1.459 MB / 1.03 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4528, allocations: 0 / 1.03 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.4528, allocations: 4 kB / 1.03 GB, free: 12.19 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008454/0.4537, allocations: 391.2 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4537, allocations: 12.03 kB / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.4538, allocations: 8.844 kB / 1.03 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.454, allocations: 188.1 kB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.454, allocations: 384 / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.4541, allocations: 8.375 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.4546, allocations: 114.2 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4546, allocations: 4.188 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.4546, allocations: 7.875 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4547, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007218/0.4554, allocations: 119.9 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007642/0.4562, allocations: 340.6 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.4573, allocations: 142.5 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.4577, allocations: 60.81 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.4578, allocations: 3.984 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.4578, allocations: 38.56 kB / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/0.4578, allocations: 0 / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001246/0.4591, allocations: 217.4 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.4592, allocations: 51.41 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.4593, allocations: 121.8 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.4594, allocations: 29.7 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.4594, allocations: 96.08 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.4595, allocations: 23.64 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/0.4595, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4597, allocations: 318.8 kB / 1.032 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.46, allocations: 59.95 kB / 1.032 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.4604, allocations: 55.95 kB / 1.032 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.4608, allocations: 59.95 kB / 1.032 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4608, allocations: 0 / 1.032 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008227/0.4616, allocations: 161.5 kB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4617, allocations: 8 kB / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.4617, allocations: 0 / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4617, allocations: 3.938 kB / 1.032 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.4621, allocations: 31.97 kB / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.914e-06/0.4621, allocations: 0 / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.4623, allocations: 15.98 kB / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.4624, allocations: 7.984 kB / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001282/0.4625, allocations: 117.8 kB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.4625, allocations: 7.906 kB / 1.032 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008813/0.4634, allocations: 177.9 kB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4635, allocations: 0 / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4635, allocations: 0 / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4635, allocations: 3.984 kB / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.4638, allocations: 201.5 kB / 1.033 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.4638, allocations: 4 kB / 1.033 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.4641, allocations: 27.97 kB / 1.033 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.4641, allocations: 3.984 kB / 1.033 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.4642, allocations: 11.98 kB / 1.033 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4642, allocations: 0 / 1.033 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4642, allocations: 0 / 1.033 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.4651, allocations: 260.8 kB / 1.033 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.4652, allocations: 84.95 kB / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.4652, allocations: 0 / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.4655, allocations: 23.86 kB / 1.033 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.4656, allocations: 27.97 kB / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.4656, allocations: 4 kB / 1.033 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.747e-05/0.4657, allocations: 91.7 kB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.1e-07/0.4658, allocations: 0 / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003248/0.4661, allocations: 32.05 kB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001692/0.4663, allocations: 99.19 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008076/0.4671, allocations: 124.6 kB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.4671, allocations: 0 / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004294/0.4676, allocations: 79.86 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/0.4683, allocations: 12.27 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.4693, allocations: 197.8 kB / 1.034 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.4698, allocations: 0.6887 MB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.4701, allocations: 12 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.4702, allocations: 15.42 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of SimCode: time 1.734e-06/0.4702, allocations: 0 / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of Templates: time 0.008467/0.4787, allocations: 1.304 MB / 1.036 GB, free: 5.582 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)