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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 100.7 kB / 16.27 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 190.1 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.785/1.785, allocations: 292.3 MB / 0.5495 GB, free: 17.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 67.89 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2542, allocations: 114.5 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00263/0.2569, allocations: 0.7822 MB / 0.7848 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.2583, allocations: 0.8632 MB / 0.7856 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.2584, allocations: 4 kB / 0.7856 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.677e-05/0.2585, allocations: 7.875 kB / 0.7857 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.2586, allocations: 15.86 kB / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.2589, allocations: 35.95 kB / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.259, allocations: 87.77 kB / 0.7858 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.2592, allocations: 27.98 kB / 0.7858 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.2593, allocations: 35.91 kB / 0.7858 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.2594, allocations: 51.81 kB / 0.7859 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.2595, allocations: 8 kB / 0.7859 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.783e-05/0.2595, allocations: 8 kB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.2595, allocations: 15.92 kB / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.2596, allocations: 39.78 kB / 0.786 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.2598, allocations: 83.72 kB / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2598, allocations: 0 / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2598, allocations: 0 / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.2598, allocations: 0 / 0.786 GB, free: 1.801 MB / 0.6544 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.0007206/0.2605, allocations: 399.5 kB / 0.7864 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.2606, allocations: 8.031 kB / 0.7864 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.2606, allocations: 12.78 kB / 0.7864 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.2608, allocations: 176.2 kB / 0.7866 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2608, allocations: 4.375 kB / 0.7866 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.2609, allocations: 8.375 kB / 0.7866 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.2612, allocations: 106.2 kB / 0.7867 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2612, allocations: 192 / 0.7867 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.2612, allocations: 3.938 kB / 0.7867 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2613, allocations: 0 / 0.7867 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.2616, allocations: 99.84 kB / 0.7868 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.2623, allocations: 344.6 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006475/0.2629, allocations: 122.5 kB / 0.7873 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.2631, allocations: 60.75 kB / 0.7873 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.2632, allocations: 0 / 0.7873 GB, free: 336 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.2632, allocations: 34.56 kB / 0.7874 GB, free: 292 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.2632, allocations: 3.938 kB / 0.7874 GB, free: 288 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0006901/0.2639, allocations: 185.5 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.264, allocations: 51.41 kB / 0.7876 GB, free: 32 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3675/0.6315, allocations: 117.1 kB / 0.7877 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.6316, allocations: 28.95 kB / 0.7877 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.6316, allocations: 95.84 kB / 0.7878 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.6317, allocations: 22.36 kB / 0.7878 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.6317, allocations: 24.44 kB / 0.7879 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.6318, allocations: 322.6 kB / 0.7882 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.632, allocations: 49.84 kB / 0.7882 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.6322, allocations: 44.62 kB / 0.7883 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.6325, allocations: 102 kB / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6326, allocations: 0 / 0.7884 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004183/0.633, allocations: 133.8 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.633, allocations: 7.969 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.633, allocations: 0 / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.633, allocations: 3.375 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.6332, allocations: 28.33 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.6332, allocations: 0 / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.6334, allocations: 14.25 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.6334, allocations: 2.938 kB / 0.7885 GB, free: 48.27 MB / 0.6544 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 (reaToInt1.y,reaToInt.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.185e-05/0.6335, allocations: 122.9 kB / 0.7887 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.6335, allocations: 8.25 kB / 0.7887 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.634, allocations: 154.2 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.634, allocations: 0.75 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.634, allocations: 0 / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.634, allocations: 0.5938 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.6342, allocations: 205.9 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6342, allocations: 0 / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.6344, allocations: 31.3 kB / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6344, allocations: 0 / 0.789 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.6344, allocations: 8.453 kB / 0.7891 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6344, allocations: 0 / 0.7891 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.6344, allocations: 2.938 kB / 0.7891 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.6349, allocations: 232.8 kB / 0.7893 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.409e-05/0.6349, allocations: 90.17 kB / 0.7894 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.635, allocations: 6.312 kB / 0.7894 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.6351, allocations: 15.52 kB / 0.7894 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/0.6352, allocations: 17.03 kB / 0.7894 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.6352, allocations: 9.203 kB / 0.7894 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.6352, allocations: 93.5 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6352, allocations: 0.5 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002246/0.6355, allocations: 18.34 kB / 0.7895 GB, free: 47.61 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000122/0.6356, allocations: 97.25 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004229/0.636, allocations: 114.2 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.636, allocations: 0.5938 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.6362, allocations: 64.14 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.6366, allocations: 9.656 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.6371, allocations: 194 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.6372, allocations: 0.6913 MB / 0.7907 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/0.6373, allocations: 22.91 kB / 0.7907 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of SimCode: time 5.72e-07/0.6373, allocations: 0 / 0.7907 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.002659/0.64, allocations: 1.23 MB / 0.7919 GB, free: 46.67 MB / 0.6544 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)