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.695/1.695, allocations: 288.3 MB / 303.2 MB, free: 8.16 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.001163/0.001163, allocations: 181 kB / 371.8 MB, free: 10.29 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.817/1.817, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.001002/0.001002, allocations: 98.83 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006844/0.0006847, allocations: 15.55 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2415, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0009867/0.2426, allocations: 477.8 kB / 0.9799 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008514/0.2434, allocations: 0.8565 MB / 0.9807 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.2435, allocations: 8 kB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.2435, allocations: 3.938 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.805e-05/0.2436, allocations: 7.984 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.2438, allocations: 35.84 kB / 0.9808 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.2438, allocations: 39.94 kB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.244, allocations: 27.98 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.031e-05/0.244, allocations: 35.83 kB / 0.9809 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.2441, allocations: 35.89 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.2441, allocations: 4 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.2442, allocations: 4 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.2442, allocations: 15.91 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.2442, allocations: 37.64 kB / 0.981 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.907e-05/0.2443, allocations: 47.88 kB / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2443, allocations: 0 / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2443, allocations: 0 / 0.981 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2443, allocations: 0 / 0.981 GB, free: 26.05 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.0005953/0.2449, allocations: 404.4 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.245, allocations: 12.02 kB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.245, allocations: 7.906 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2452, allocations: 178.9 kB / 0.9816 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.2452, allocations: 8 kB / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.2452, allocations: 8 kB / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.2455, allocations: 116.2 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.2455, allocations: 3.938 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2456, allocations: 3.984 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2456, allocations: 4 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.246, allocations: 119.9 kB / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.2464, allocations: 340.6 kB / 0.9822 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005624/0.247, allocations: 130.6 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.247, allocations: 4.141 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.2471, allocations: 30.56 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2471, allocations: 4 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006489/0.2477, allocations: 217.4 kB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.2478, allocations: 55.41 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.82e-05/0.2478, allocations: 121.8 kB / 0.9827 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.2478, allocations: 29.7 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.2479, allocations: 92.06 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.2479, allocations: 27.66 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.2479, allocations: 0 / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.248, allocations: 322.8 kB / 0.9832 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.2482, allocations: 51.95 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.2483, allocations: 59.95 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.2485, allocations: 55.95 kB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2485, allocations: 0 / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003723/0.2489, allocations: 165.9 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.2489, allocations: 4 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.2489, allocations: 4 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.2489, allocations: 0 / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.2491, allocations: 31.92 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2491, allocations: 0 / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2492, allocations: 27.97 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2493, allocations: 4.078 kB / 0.9835 GB, free: 23.25 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 (max1.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 6.221e-05/0.2493, allocations: 117.8 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.2494, allocations: 7.906 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004331/0.2498, allocations: 177.9 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2498, allocations: 0 / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2498, allocations: 3.953 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2498, allocations: 4 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.25, allocations: 205.5 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.25, allocations: 0 / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.2502, allocations: 27.97 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2502, allocations: 0 / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2502, allocations: 4 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2502, allocations: 0 / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2502, allocations: 0 / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.2506, allocations: 267.2 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.2506, allocations: 77.11 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.2507, allocations: 4 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.2508, allocations: 19.97 kB / 0.9844 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.2509, allocations: 15.98 kB / 0.9844 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.2509, allocations: 7.984 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.882e-05/0.251, allocations: 95.27 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.251, allocations: 0 / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002249/0.2512, allocations: 23.86 kB / 0.9846 GB, free: 22.12 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 (max1.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.0001122/0.2513, allocations: 99.23 kB / 0.9847 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003849/0.2517, allocations: 131.8 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2517, allocations: 0 / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.2519, allocations: 71.94 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.2521, allocations: 11.94 kB / 0.9849 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.2525, allocations: 201.2 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.2526, allocations: 0.6965 MB / 0.9857 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.941e-05/0.2527, allocations: 11.94 kB / 0.9857 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.2528, allocations: 19.42 kB / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2528, allocations: 0 / 0.9858 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.003042/0.2558, allocations: 1.296 MB / 0.987 GB, free: 19.53 MB / 0.6198 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)