Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.921/1.921, allocations: 287.5 MB / 302.6 MB, free: 8.219 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.001083/0.001083, allocations: 176.4 kB / 371.2 MB, free: 10.73 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.874/1.874, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0008331/0.0008332, allocations: 89.42 kB / 0.7432 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006548/0.0006558, allocations: 13.58 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3343, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001049/0.3354, allocations: 489.5 kB / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3367, allocations: 0.8477 MB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.065e-05/0.3369, allocations: 0 / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.3369, allocations: 7.922 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.337, allocations: 11.92 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.3372, allocations: 27.97 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.3374, allocations: 75.81 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3375, allocations: 20 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3376, allocations: 35.84 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3378, allocations: 39.88 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.3378, allocations: 7.938 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.686e-05/0.3378, allocations: 0 / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.3379, allocations: 11.98 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.3379, allocations: 41.64 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.744e-05/0.338, allocations: 59.84 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.338, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/0.338, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.3381, allocations: 0 / 0.9803 GB, free: 26.48 MB / 0.6198 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.0006277/0.3387, allocations: 391.5 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.3388, allocations: 8.031 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.087e-05/0.3388, allocations: 8.844 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.339, allocations: 176.2 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.339, allocations: 4.312 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.339, allocations: 12.31 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.3394, allocations: 122.1 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3394, allocations: 192 / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.3395, allocations: 7.938 kB / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3395, allocations: 0 / 0.981 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004815/0.34, allocations: 119.9 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.3406, allocations: 348.6 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007804/0.3414, allocations: 134.6 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.3417, allocations: 68.81 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.3417, allocations: 3.984 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3417, allocations: 30.56 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.3418, allocations: 0 / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0008437/0.3426, allocations: 225.6 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.3427, allocations: 51.41 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.3428, allocations: 117.8 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3428, allocations: 25.7 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.3428, allocations: 104 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.3429, allocations: 15.81 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/0.3429, allocations: 4 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.343, allocations: 318.8 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.3432, allocations: 55.95 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.3435, allocations: 64.02 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.3439, allocations: 120.7 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.344, allocations: 0 / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005406/0.3445, allocations: 157.5 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3445, allocations: 4 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3445, allocations: 0 / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3446, allocations: 0 / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.3448, allocations: 35.97 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3448, allocations: 0 / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.345, allocations: 27.91 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.345, allocations: 0 / 0.9829 GB, free: 23.55 MB / 0.6198 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 (min1.y,reaToInt.y,reaToInt1.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.0001126/0.3451, allocations: 129.7 kB / 0.9831 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.3452, allocations: 7.906 kB / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006318/0.3458, allocations: 177.9 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3459, allocations: 4 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3459, allocations: 0 / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3459, allocations: 0 / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.3461, allocations: 197.5 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3461, allocations: 0 / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.3463, allocations: 35.97 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3464, allocations: 3.938 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3464, allocations: 0 / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3464, allocations: 0 / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.3464, allocations: 0 / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000563/0.347, allocations: 267.2 kB / 0.9837 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.347, allocations: 85.02 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.3471, allocations: 0 / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.3473, allocations: 27.97 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.3474, allocations: 19.97 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.3474, allocations: 0 / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.949e-05/0.3474, allocations: 95.27 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3474, allocations: 0 / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003595/0.3478, allocations: 16 kB / 0.984 GB, free: 22.41 MB / 0.6198 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 (min1.y,reaToInt.y,reaToInt1.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.0001179/0.3479, allocations: 103.2 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005398/0.3485, allocations: 131.8 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3485, allocations: 0 / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.3488, allocations: 67.95 kB / 0.9843 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.3493, allocations: 5.719 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.3498, allocations: 203.5 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.35, allocations: 0.6926 MB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.3501, allocations: 8 kB / 0.9851 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.211e-05/0.3502, allocations: 19.42 kB / 0.9852 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of SimCode: time 3e-07/0.3502, allocations: 0 / 0.9852 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.004807/0.355, allocations: 1.307 MB / 0.9864 GB, free: 19.83 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)