Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.677/1.677, allocations: 285.4 MB / 298 MB, free: 6.016 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.001059/0.001059, allocations: 184.8 kB / 366.4 MB, free: 2.105 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.821/1.821, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.001029/0.001029, allocations: 96.25 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.725e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6967/0.6967, allocations: 115.3 MB / 0.9709 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.8688, allocations: 137.8 MB / 1.105 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.8691, allocations: 72.58 kB / 1.106 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004357/0.8734, allocations: 1.433 MB / 1.107 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8735, allocations: 3.906 kB / 1.107 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8735, allocations: 0 / 1.107 GB, free: 12.57 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005464/0.874, allocations: 376.5 kB / 1.107 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.8741, allocations: 8.031 kB / 1.107 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.8742, allocations: 11.09 kB / 1.107 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.8743, allocations: 173.2 kB / 1.107 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.8744, allocations: 8 kB / 1.107 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.8744, allocations: 4 kB / 1.107 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.8746, allocations: 89.58 kB / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.8746, allocations: 0 / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.8746, allocations: 7.938 kB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8747, allocations: 0 / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.8748, allocations: 47.91 kB / 1.108 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.8754, allocations: 347 kB / 1.108 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.8759, allocations: 97.03 kB / 1.108 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.147e-05/0.876, allocations: 31.45 kB / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.876, allocations: 0 / 1.108 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.876, allocations: 35.12 kB / 1.108 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.876, allocations: 0 / 1.108 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002665/0.8763, allocations: 92.95 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.8764, allocations: 59.36 kB / 1.108 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.8765, allocations: 112.3 kB / 1.108 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.8765, allocations: 25.7 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.8766, allocations: 92.05 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.8766, allocations: 27.8 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.8766, allocations: 0 / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.8768, allocations: 315.7 kB / 1.109 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.037e-05/0.8768, allocations: 23.98 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.397e-05/0.8769, allocations: 33.77 kB / 1.109 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.091e-05/0.8769, allocations: 16 kB / 1.109 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8769, allocations: 0 / 1.109 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001597/0.8771, allocations: 92.34 kB / 1.109 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.8771, allocations: 8 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8771, allocations: 0 / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.8772, allocations: 4 kB / 1.109 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.8773, allocations: 27.97 kB / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8774, allocations: 0 / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.8775, allocations: 27.83 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.8775, allocations: 8 kB / 1.109 GB, free: 10.23 MB / 0.7136 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 () * 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 8.347e-05/0.8776, allocations: 105 kB / 1.109 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.8776, allocations: 4 kB / 1.109 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.8779, allocations: 106.2 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.8779, allocations: 0 / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8779, allocations: 3.812 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8779, allocations: 7.094 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.8781, allocations: 213.5 kB / 1.109 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8781, allocations: 0 / 1.109 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.8783, allocations: 27.97 kB / 1.109 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.8783, allocations: 4 kB / 1.109 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.8783, allocations: 0 / 1.109 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.8784, allocations: 0 / 1.109 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8784, allocations: 0 / 1.109 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.8786, allocations: 191.4 kB / 1.11 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.8786, allocations: 85.02 kB / 1.11 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.8787, allocations: 0 / 1.11 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.8788, allocations: 23.91 kB / 1.11 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.8789, allocations: 19.97 kB / 1.11 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.8789, allocations: 4 kB / 1.11 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.879, allocations: 91.28 kB / 1.11 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.879, allocations: 4 kB / 1.11 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002108/0.8792, allocations: 16 kB / 1.11 GB, free: 9.258 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: 3 (max1.u1,max1.u2,max1.y) * Number of discrete 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.0001476/0.8794, allocations: 111.3 kB / 1.11 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.8795, allocations: 59.91 kB / 1.11 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8795, allocations: 4 kB / 1.11 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.576e-05/0.8796, allocations: 32 kB / 1.11 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.8798, allocations: 15.94 kB / 1.11 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.8801, allocations: 118.7 kB / 1.11 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.8804, allocations: 0.6974 MB / 1.111 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.393e-05/0.8805, allocations: 12.19 kB / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.8806, allocations: 15.42 kB / 1.111 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of SimCode: time 2.585e-06/0.8806, allocations: 0 / 1.111 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of Templates: time 0.003257/0.8838, allocations: 1.313 MB / 1.112 GB, free: 6.871 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)