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.001355/0.001355, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.001319/0.001319, allocations: 189.2 kB / 17.29 MB, free: 5.875 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.463/1.463, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.002072/0.002072, allocations: 70.88 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2383, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002174/0.2406, allocations: 0.7779 MB / 0.7855 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.2416, allocations: 0.8671 MB / 0.7864 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.2417, allocations: 4 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.96e-05/0.2418, allocations: 3.938 kB / 0.7864 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.503e-05/0.2419, allocations: 11.86 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.2421, allocations: 35.97 kB / 0.7864 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.2422, allocations: 95.73 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.2423, allocations: 20 kB / 0.7866 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.2424, allocations: 35.91 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.2425, allocations: 51.81 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.2425, allocations: 8 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.761e-05/0.2426, allocations: 8 kB / 0.7867 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.2426, allocations: 19.86 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.2427, allocations: 43.77 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.2428, allocations: 83.73 kB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2428, allocations: 4 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2428, allocations: 0 / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.2428, allocations: 0 / 0.7868 GB, free: 1.066 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.0006659/0.2435, allocations: 391.2 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2436, allocations: 12.03 kB / 0.7872 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.2436, allocations: 8.844 kB / 0.7872 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.2438, allocations: 184.1 kB / 0.7874 GB, free: 404 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.2438, allocations: 4.375 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.2438, allocations: 12.38 kB / 0.7874 GB, free: 388 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.2441, allocations: 102.2 kB / 0.7875 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2442, allocations: 192 / 0.7875 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.2442, allocations: 7.938 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2442, allocations: 0 / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003769/0.2446, allocations: 103.9 kB / 0.7876 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4802/0.7248, allocations: 331.6 kB / 0.7879 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.7255, allocations: 123.8 kB / 0.788 GB, free: 49.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.7257, allocations: 55.61 kB / 0.7881 GB, free: 49.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.7257, allocations: 3.312 kB / 0.7881 GB, free: 49.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.7257, allocations: 35.28 kB / 0.7881 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 3.206e-06/0.7258, allocations: 0 / 0.7881 GB, free: 49.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0006716/0.7264, allocations: 183.2 kB / 0.7883 GB, free: 49.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.7265, allocations: 51.95 kB / 0.7883 GB, free: 49.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.7266, allocations: 124.4 kB / 0.7885 GB, free: 49.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.7266, allocations: 28.7 kB / 0.7885 GB, free: 49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.7266, allocations: 97.17 kB / 0.7886 GB, free: 48.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.7267, allocations: 22.61 kB / 0.7886 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.7267, allocations: 23.05 kB / 0.7886 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.494e-05/0.7268, allocations: 321.8 kB / 0.7889 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.727, allocations: 44.36 kB / 0.789 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.7271, allocations: 43.8 kB / 0.789 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.7275, allocations: 105.7 kB / 0.7891 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7275, allocations: 2.75 kB / 0.7891 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004056/0.7279, allocations: 137.2 kB / 0.7892 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.7279, allocations: 7.594 kB / 0.7893 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.7279, allocations: 3.828 kB / 0.7893 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.728, allocations: 0 / 0.7893 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.7281, allocations: 31.39 kB / 0.7893 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7282, allocations: 2.344 kB / 0.7893 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.7283, allocations: 15.11 kB / 0.7893 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.7283, allocations: 3.422 kB / 0.7893 GB, free: 48.54 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 7.263e-05/0.7284, allocations: 124.3 kB / 0.7894 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.7284, allocations: 2.625 kB / 0.7894 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.7289, allocations: 151.7 kB / 0.7896 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.7289, allocations: 1.875 kB / 0.7896 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.7289, allocations: 0 / 0.7896 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7289, allocations: 2.688 kB / 0.7896 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.7291, allocations: 207.5 kB / 0.7898 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7291, allocations: 2.625 kB / 0.7898 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.7293, allocations: 23.47 kB / 0.7898 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7293, allocations: 0 / 0.7898 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.7293, allocations: 6.328 kB / 0.7898 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.7293, allocations: 0 / 0.7898 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7293, allocations: 0 / 0.7898 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.7298, allocations: 241 kB / 0.79 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.7298, allocations: 83.91 kB / 0.7901 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.7298, allocations: 7.562 kB / 0.7901 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.73, allocations: 13.22 kB / 0.7901 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.7301, allocations: 25.58 kB / 0.7902 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.7301, allocations: 6.781 kB / 0.7902 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.7301, allocations: 92.52 kB / 0.7903 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7301, allocations: 0 / 0.7903 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002329/0.7304, allocations: 21.31 kB / 0.7903 GB, free: 47.88 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.0001274/0.7305, allocations: 96.97 kB / 0.7904 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.7309, allocations: 110 kB / 0.7905 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7309, allocations: 0 / 0.7905 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.7311, allocations: 63.09 kB / 0.7905 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.7314, allocations: 14.31 kB / 0.7905 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.732, allocations: 210.1 kB / 0.7907 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.7322, allocations: 0.6885 MB / 0.7914 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.7322, allocations: 15.95 kB / 0.7914 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.7322, allocations: 0 / 0.7914 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.002791/0.735, allocations: 1.236 MB / 0.7926 GB, free: 46.92 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)