Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.00116/0.00116, allocations: 172.9 kB / 366.7 MB, free: 1.652 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.427/1.427, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0007902/0.0007902, allocations: 91.67 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.963e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5478/0.5479, allocations: 116.3 MB / 0.9733 GB, free: 76.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.7153, allocations: 138.1 MB / 1.108 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.7156, allocations: 72.81 kB / 1.108 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004214/0.7198, allocations: 1.419 MB / 1.11 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7198, allocations: 0 / 1.11 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.7198, allocations: 2 kB / 1.11 GB, free: 10.66 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.0004861/0.7203, allocations: 387.7 kB / 1.11 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.7204, allocations: 8.531 kB / 1.11 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.7204, allocations: 7.906 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.7206, allocations: 179.6 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.7206, allocations: 7.75 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.7206, allocations: 4.531 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001202/0.7208, allocations: 48.8 kB / 1.11 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.7209, allocations: 71.34 kB / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.7209, allocations: 1.469 kB / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.7209, allocations: 0 / 1.11 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.721, allocations: 7.938 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.7214, allocations: 313.8 kB / 1.111 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.7218, allocations: 90.59 kB / 1.111 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.7219, allocations: 30.36 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.7219, allocations: 4.141 kB / 1.111 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.722, allocations: 35.88 kB / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.722, allocations: 0 / 1.111 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002244/0.7222, allocations: 81.58 kB / 1.111 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.7223, allocations: 57.03 kB / 1.111 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.7223, allocations: 109 kB / 1.111 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.7224, allocations: 25.7 kB / 1.111 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.7224, allocations: 92.58 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.7225, allocations: 23.64 kB / 1.111 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.7225, allocations: 0.875 kB / 1.111 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7226, allocations: 326.6 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.987e-05/0.7227, allocations: 23.98 kB / 1.111 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.7227, allocations: 17.84 kB / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.678e-05/0.7228, allocations: 20 kB / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.7228, allocations: 3.938 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001372/0.7229, allocations: 85.66 kB / 1.112 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.7229, allocations: 4 kB / 1.112 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.7229, allocations: 4 kB / 1.112 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.723, allocations: 0 / 1.112 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.7232, allocations: 31.97 kB / 1.112 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7232, allocations: 0 / 1.112 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.7233, allocations: 23.88 kB / 1.112 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.7233, allocations: 4 kB / 1.112 GB, free: 8.41 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 9.587e-05/0.7234, allocations: 112.9 kB / 1.112 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.7235, allocations: 4 kB / 1.112 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.7237, allocations: 94.27 kB / 1.112 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7237, allocations: 0 / 1.112 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.7237, allocations: 4 kB / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7238, allocations: 0 / 1.112 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.724, allocations: 178 kB / 1.112 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.724, allocations: 7.984 kB / 1.112 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.7241, allocations: 27.97 kB / 1.112 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.7242, allocations: 0 / 1.112 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.7242, allocations: 3.984 kB / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7242, allocations: 0 / 1.112 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7242, allocations: 9.891 kB / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.7244, allocations: 183.5 kB / 1.112 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.7244, allocations: 81.02 kB / 1.112 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.7245, allocations: 7.938 kB / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.7246, allocations: 18.55 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.7247, allocations: 19.97 kB / 1.112 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.7247, allocations: 11.92 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.7248, allocations: 87.28 kB / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7248, allocations: 5.969 kB / 1.112 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002401/0.725, allocations: 12 kB / 1.112 GB, free: 7.484 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.0001463/0.7252, allocations: 115.3 kB / 1.113 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.7253, allocations: 51.94 kB / 1.113 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7254, allocations: 0 / 1.113 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.699e-05/0.7254, allocations: 35.98 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.7256, allocations: 9.516 kB / 1.113 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.726, allocations: 117.3 kB / 1.113 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.7263, allocations: 0.6962 MB / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.907e-05/0.7263, allocations: 13.42 kB / 1.113 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.7264, allocations: 15.44 kB / 1.113 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7264, allocations: 0 / 1.113 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of Templates: time 0.003499/0.7299, allocations: 1.225 MB / 1.115 GB, free: 5.191 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)