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.002212/0.002212, allocations: 106.7 kB / 16.29 MB, free: 6.43 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.002618/0.002618, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.735/1.735, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.954/1.954, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.00139/0.001391, allocations: 74.25 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2583, allocations: 114.5 MB / 0.7841 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002153/0.2605, allocations: 0.7597 MB / 0.7848 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009236/0.2615, allocations: 0.8671 MB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/0.2615, allocations: 0 / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.2616, allocations: 11.86 kB / 0.7857 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.2617, allocations: 11.88 kB / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.2618, allocations: 35.94 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2619, allocations: 95.77 kB / 0.7858 GB, free: 2.023 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.262, allocations: 23.98 kB / 0.7858 GB, free: 2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.2621, allocations: 35.91 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.77e-05/0.2622, allocations: 43.83 kB / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.2622, allocations: 8 kB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.875e-05/0.2623, allocations: 8 kB / 0.7859 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.215e-05/0.2623, allocations: 39.83 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.2623, allocations: 35.8 kB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.2625, allocations: 83.66 kB / 0.7861 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2625, allocations: 0 / 0.7861 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2625, allocations: 0 / 0.7861 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2625, allocations: 0 / 0.7861 GB, free: 1.75 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.0005923/0.2631, allocations: 395.5 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2631, allocations: 8.031 kB / 0.7865 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.2632, allocations: 12.84 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.2633, allocations: 176.2 kB / 0.7867 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.2634, allocations: 8.375 kB / 0.7867 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2634, allocations: 4.375 kB / 0.7867 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.2637, allocations: 106.1 kB / 0.7868 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2637, allocations: 192 / 0.7868 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.2638, allocations: 3.938 kB / 0.7868 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2638, allocations: 0 / 0.7868 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.2641, allocations: 103.9 kB / 0.7869 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.2647, allocations: 344.6 kB / 0.7872 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.2652, allocations: 122.5 kB / 0.7873 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.2654, allocations: 52.81 kB / 0.7874 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.2655, allocations: 0 / 0.7874 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.2655, allocations: 38.56 kB / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.2655, allocations: 0 / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0006014/0.2661, allocations: 193.4 kB / 0.7876 GB, free: 44 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.4262/0.6923, allocations: 55.39 kB / 0.7876 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.6925, allocations: 116.7 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.6926, allocations: 27.36 kB / 0.7878 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.6926, allocations: 97.69 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.6927, allocations: 17.25 kB / 0.7879 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.6927, allocations: 24.25 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.899e-05/0.6928, allocations: 324.8 kB / 0.7882 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.693, allocations: 45.19 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.6932, allocations: 47.11 kB / 0.7883 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.6935, allocations: 93.72 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.6935, allocations: 1 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003694/0.6939, allocations: 136.6 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.6939, allocations: 9 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.6939, allocations: 3.719 kB / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.6939, allocations: 0 / 0.7885 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.6941, allocations: 35.31 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.6942, allocations: 0 / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.6943, allocations: 18.06 kB / 0.7886 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.6943, allocations: 6.219 kB / 0.7886 GB, free: 48.2 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.235e-05/0.6944, allocations: 115 kB / 0.7887 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.6944, allocations: 2.688 kB / 0.7887 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.6948, allocations: 152.9 kB / 0.7889 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.6949, allocations: 9.344 kB / 0.7889 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6949, allocations: 1.172 kB / 0.7889 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.6949, allocations: 0 / 0.7889 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.6951, allocations: 200.5 kB / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6951, allocations: 1.219 kB / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.6952, allocations: 26.33 kB / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6952, allocations: 0 / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.6953, allocations: 1.688 kB / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6953, allocations: 6.844 kB / 0.7891 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6953, allocations: 0 / 0.7891 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.6957, allocations: 238.6 kB / 0.7893 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.6957, allocations: 85.78 kB / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.6958, allocations: 2.625 kB / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.6959, allocations: 18.55 kB / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.696, allocations: 22.12 kB / 0.7894 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.696, allocations: 4.594 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.696, allocations: 95.33 kB / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.696, allocations: 0 / 0.7895 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002325/0.6963, allocations: 17.66 kB / 0.7896 GB, free: 47.54 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.0001064/0.6964, allocations: 106.1 kB / 0.7897 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003856/0.6968, allocations: 104.3 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.6968, allocations: 0.5 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.697, allocations: 68.8 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.6974, allocations: 10.91 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.6977, allocations: 170.8 kB / 0.79 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.6979, allocations: 0.6908 MB / 0.7907 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.651e-05/0.6979, allocations: 11.34 kB / 0.7907 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.698, allocations: 26.06 kB / 0.7907 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.698, allocations: 0 / 0.7907 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.003761/0.7018, allocations: 1.578 MB / 0.7922 GB, free: 46.61 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)