Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9552/0.9552, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.865/1.865, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.972e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001351/0.001371, allocations: 0.78 MB / 0.7759 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008892/0.00226, allocations: 0.9121 MB / 0.7768 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.002304, allocations: 0 / 0.7768 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.002338, allocations: 8.781 kB / 0.7768 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.999e-05/0.002428, allocations: 11.22 kB / 0.7768 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.002582, allocations: 44.81 kB / 0.7769 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.417e-05/0.002676, allocations: 81.47 kB / 0.777 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.375e-05/0.00276, allocations: 31 kB / 0.777 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.71e-05/0.002857, allocations: 49.86 kB / 0.777 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.204e-05/0.002919, allocations: 39.89 kB / 0.7771 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.002942, allocations: 8 kB / 0.7771 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.002953, allocations: 8 kB / 0.7771 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.002976, allocations: 23.95 kB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.002999, allocations: 30.52 kB / 0.7771 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.449e-05/0.003093, allocations: 63.78 kB / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003095, allocations: 0 / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003096, allocations: 0 / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.003099, allocations: 0 / 0.7772 GB, free: 3.355 MB / 0.7292 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.0003272/0.003426, allocations: 276.7 kB / 0.7775 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.003457, allocations: 9.344 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.003488, allocations: 13.59 kB / 0.7775 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.003567, allocations: 122.5 kB / 0.7776 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.003584, allocations: 4.375 kB / 0.7776 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.003599, allocations: 8.375 kB / 0.7776 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.003738, allocations: 97.91 kB / 0.7777 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.003745, allocations: 3.938 kB / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.003753, allocations: 0 / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.003758, allocations: 0 / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.048e-05/0.003799, allocations: 23.98 kB / 0.7777 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.004066, allocations: 203.8 kB / 0.7779 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.004278, allocations: 70.45 kB / 0.778 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.0043, allocations: 12.86 kB / 0.778 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.004316, allocations: 4 kB / 0.778 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.004343, allocations: 34.5 kB / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.004344, allocations: 0 / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001439/0.004488, allocations: 70.47 kB / 0.7781 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.004516, allocations: 51.41 kB / 0.7782 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.013e-05/0.004576, allocations: 122.7 kB / 0.7783 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.004587, allocations: 26.39 kB / 0.7783 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.004619, allocations: 96.84 kB / 0.7784 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.004642, allocations: 19.84 kB / 0.7784 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.004673, allocations: 26.94 kB / 0.7785 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.004745, allocations: 318.8 kB / 0.7788 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.004763, allocations: 7.984 kB / 0.7788 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.004781, allocations: 8.812 kB / 0.7788 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.604e-05/0.004827, allocations: 37.22 kB / 0.7788 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.00483, allocations: 5.344 kB / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.997e-05/0.0049, allocations: 61.66 kB / 0.7789 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.00491, allocations: 7.938 kB / 0.7789 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.004914, allocations: 0.5312 kB / 0.7789 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.004925, allocations: 1.031 kB / 0.7789 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.004993, allocations: 19.98 kB / 0.7789 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.004996, allocations: 1.719 kB / 0.7789 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.00503, allocations: 11.94 kB / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.005037, allocations: 4 kB / 0.7789 GB, free: 1.469 MB / 0.7292 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 5.862e-05/0.005095, allocations: 117.7 kB / 0.779 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.005112, allocations: 5.594 kB / 0.779 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.479e-05/0.005207, allocations: 74.08 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005208, allocations: 0.75 kB / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.00521, allocations: 0 / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.005213, allocations: 0 / 0.7791 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.005326, allocations: 86.78 kB / 0.7792 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.005327, allocations: 0 / 0.7792 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.005379, allocations: 25.03 kB / 0.7792 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.005383, allocations: 11.88 kB / 0.7792 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.005389, allocations: 4 kB / 0.7792 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.00539, allocations: 0.9375 kB / 0.7792 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.005391, allocations: 0 / 0.7792 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.317e-05/0.005484, allocations: 152.9 kB / 0.7794 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.005494, allocations: 11.89 kB / 0.7794 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.005503, allocations: 0 / 0.7794 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/0.005549, allocations: 13.11 kB / 0.7794 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.005598, allocations: 19.97 kB / 0.7794 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-06/0.005604, allocations: 4 kB / 0.7794 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.683e-05/0.005621, allocations: 22.33 kB / 0.7794 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005621, allocations: 0 / 0.7794 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001224/0.005743, allocations: 16 kB / 0.7795 GB, free: 0.875 MB / 0.7292 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 7.443e-05/0.005818, allocations: 81.39 kB / 0.7795 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.005896, allocations: 33.39 kB / 0.7796 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.005898, allocations: 1.25 kB / 0.7796 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.005937, allocations: 36.78 kB / 0.7796 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.00607, allocations: 17 kB / 0.7796 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.006331, allocations: 176.9 kB / 0.7798 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.965e-05/0.00636, allocations: 60.25 kB / 0.7798 GB, free: 428 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.972e-05/0.0064, allocations: 11.53 kB / 0.7799 GB, free: 420 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.006473, allocations: 67.36 kB / 0.7799 GB, free: 352 kB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.006473, allocations: 1.406 kB / 0.7799 GB, free: 352 kB / 0.7292 GB Notification: Performance of Templates: time 0.003192/0.009666, allocations: 1.708 MB / 0.7816 GB, free: 14.71 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.963696904014796]