Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.585/2.585, allocations: 287.5 MB / 303.2 MB, free: 8.191 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.001376/0.001376, allocations: 186.9 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009788/0.0009785, allocations: 93.05 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004798, allocations: 16.48 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.269, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9538/1.223, allocations: 137.7 MB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.223, allocations: 70.09 kB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007008/1.23, allocations: 1.428 MB / 1.115 GB, free: 31.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/1.23, allocations: 0 / 1.115 GB, free: 31.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.265e-05/1.23, allocations: 3.875 kB / 1.115 GB, free: 31.4 MB / 0.698 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.0008815/1.231, allocations: 389.4 kB / 1.116 GB, free: 31.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.231, allocations: 11.53 kB / 1.116 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/1.231, allocations: 8.625 kB / 1.116 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/1.231, allocations: 187.4 kB / 1.116 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/1.231, allocations: 15.62 kB / 1.116 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/1.232, allocations: 5.781 kB / 1.116 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/1.232, allocations: 111.9 kB / 1.116 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.232, allocations: 192 / 1.116 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/1.232, allocations: 7.875 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.232, allocations: 7.906 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/1.233, allocations: 119.3 kB / 1.116 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006873/1.233, allocations: 339.2 kB / 1.116 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/1.234, allocations: 130.7 kB / 1.117 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/1.235, allocations: 65.34 kB / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/1.235, allocations: 7.516 kB / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/1.235, allocations: 33.52 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.174e-06/1.235, allocations: 3.938 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.001136/1.236, allocations: 210 kB / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/1.236, allocations: 53.98 kB / 1.117 GB, free: 30.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/1.236, allocations: 124.2 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/1.236, allocations: 25.7 kB / 1.117 GB, free: 30.17 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/1.236, allocations: 102 kB / 1.117 GB, free: 30.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/1.236, allocations: 19.22 kB / 1.117 GB, free: 30.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/1.236, allocations: 0 / 1.117 GB, free: 30.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.237, allocations: 325.1 kB / 1.117 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/1.237, allocations: 53.17 kB / 1.117 GB, free: 29.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/1.237, allocations: 59.78 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/1.238, allocations: 128.3 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.238, allocations: 0 / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007409/1.239, allocations: 155.9 kB / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.239, allocations: 7.844 kB / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/1.239, allocations: 0 / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.239, allocations: 0 / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/1.239, allocations: 31.11 kB / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/1.239, allocations: 2.719 kB / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/1.239, allocations: 23.06 kB / 1.118 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/1.239, allocations: 2.891 kB / 1.118 GB, free: 29.69 MB / 0.698 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.0001215/1.239, allocations: 129.1 kB / 1.118 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/1.239, allocations: 7.75 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007898/1.24, allocations: 177.1 kB / 1.118 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.24, allocations: 0 / 1.118 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.24, allocations: 4 kB / 1.118 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.24, allocations: 0 / 1.118 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/1.241, allocations: 202.4 kB / 1.118 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.241, allocations: 7.844 kB / 1.118 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/1.241, allocations: 32.22 kB / 1.118 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.241, allocations: 0 / 1.118 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/1.241, allocations: 2.906 kB / 1.118 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/1.241, allocations: 3.938 kB / 1.118 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.241, allocations: 7.281 kB / 1.118 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007625/1.242, allocations: 257.4 kB / 1.119 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/1.242, allocations: 88.8 kB / 1.119 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/1.242, allocations: 0 / 1.119 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/1.242, allocations: 21.02 kB / 1.119 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/1.242, allocations: 17.28 kB / 1.119 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/1.242, allocations: 14.78 kB / 1.119 GB, free: 29.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.079e-05/1.242, allocations: 89.64 kB / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.242, allocations: 0 / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003434/1.243, allocations: 18.12 kB / 1.119 GB, free: 28.98 MB / 0.698 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.0001659/1.243, allocations: 106.1 kB / 1.119 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007301/1.244, allocations: 132.6 kB / 1.119 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.244, allocations: 0 / 1.119 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/1.244, allocations: 78.23 kB / 1.119 GB, free: 28.87 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/1.244, allocations: 7.188 kB / 1.119 GB, free: 28.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005487/1.245, allocations: 193.3 kB / 1.119 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/1.245, allocations: 0.6906 MB / 1.12 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001251/1.245, allocations: 14.94 kB / 1.12 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/1.246, allocations: 14.41 kB / 1.12 GB, free: 28.01 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/1.246, allocations: 0 / 1.12 GB, free: 28.01 MB / 0.698 GB Notification: Performance of Templates: time 0.004564/1.25, allocations: 1.314 MB / 1.121 GB, free: 27.92 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)