Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.007828/0.007828, allocations: 103.3 kB / 15.73 MB, free: 6.055 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.00151/0.00151, allocations: 194.8 kB / 16.68 MB, free: 5.965 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.625/1.625, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 251.7 MB / 0.5094 GB, free: 404 kB / 430.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.002129/0.002129, allocations: 67.89 kB / 0.7258 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8163/0.8185, allocations: 104.7 MB / 0.828 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002984/0.8215, allocations: 1.486 MB / 0.8295 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0004982/0.8221, allocations: 190.5 kB / 0.8297 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.612e-05/0.8221, allocations: 0 / 0.8297 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.129e-05/0.8222, allocations: 11.92 kB / 0.8297 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.8223, allocations: 7.875 kB / 0.8297 GB, free: 0.8984 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.8226, allocations: 43.94 kB / 0.8297 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.8227, allocations: 87.77 kB / 0.8298 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.8229, allocations: 23.98 kB / 0.8298 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.823, allocations: 39.91 kB / 0.8299 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.8231, allocations: 43.83 kB / 0.8299 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.8232, allocations: 8 kB / 0.8299 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 2.179e-05/0.8232, allocations: 8 kB / 0.8299 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.8233, allocations: 27.89 kB / 0.83 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.8233, allocations: 31.8 kB / 0.83 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.8235, allocations: 91.17 kB / 0.8301 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8235, allocations: 7.938 kB / 0.8301 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8235, allocations: 0 / 0.8301 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.8235, allocations: 0 / 0.8301 GB, free: 0.4961 MB / 0.6231 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.000726/0.8242, allocations: 397.5 kB / 0.8305 GB, free: 60 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.8243, allocations: 8.031 kB / 0.8305 GB, free: 52 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.8243, allocations: 8.844 kB / 0.8305 GB, free: 44 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.8246, allocations: 172.3 kB / 0.8306 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.8246, allocations: 4.375 kB / 0.8307 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.8246, allocations: 8.375 kB / 0.8307 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.825, allocations: 113.5 kB / 0.8308 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.825, allocations: 192 / 0.8308 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.825, allocations: 7.922 kB / 0.8308 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.825, allocations: 0 / 0.8308 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.8254, allocations: 95.91 kB / 0.8309 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.826, allocations: 352.5 kB / 0.8312 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.8266, allocations: 122.6 kB / 0.8313 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.8268, allocations: 48.81 kB / 0.8314 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.8269, allocations: 0 / 0.8314 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.8269, allocations: 42.56 kB / 0.8314 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.8269, allocations: 0 / 0.8314 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0006383/0.8276, allocations: 185.4 kB / 0.8316 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.8276, allocations: 55.41 kB / 0.8316 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.8277, allocations: 125.8 kB / 0.8318 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.8278, allocations: 25.7 kB / 0.8318 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.8279, allocations: 96.03 kB / 0.8319 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.8279, allocations: 15.75 kB / 0.8319 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.828, allocations: 29.64 kB / 0.8319 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8281, allocations: 322.8 kB / 0.8322 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.8283, allocations: 47.95 kB / 0.8323 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.8284, allocations: 43.95 kB / 0.8323 GB, free: 14 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.8288, allocations: 101.2 kB / 0.8324 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8288, allocations: 3.938 kB / 0.8324 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003939/0.8292, allocations: 145.5 kB / 0.8326 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.8292, allocations: 4 kB / 0.8326 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8292, allocations: 0 / 0.8326 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.8292, allocations: 0 / 0.8326 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.8294, allocations: 23.97 kB / 0.8326 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8294, allocations: 0 / 0.8326 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.8295, allocations: 11.98 kB / 0.8326 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.8296, allocations: 11.98 kB / 0.8326 GB, free: 13.7 MB / 0.6387 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 0.0001011/0.8297, allocations: 117.8 kB / 0.8327 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.8297, allocations: 3.906 kB / 0.8327 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004462/0.8301, allocations: 153.9 kB / 0.8329 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8302, allocations: 4 kB / 0.8329 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.8302, allocations: 0 / 0.8329 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.8302, allocations: 7.922 kB / 0.8329 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.8304, allocations: 205.5 kB / 0.8331 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.8305, allocations: 0 / 0.8331 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.8306, allocations: 23.97 kB / 0.8331 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8306, allocations: 0 / 0.8331 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.8307, allocations: 3.984 kB / 0.8331 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.8307, allocations: 4 kB / 0.8331 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8307, allocations: 0 / 0.8331 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.8311, allocations: 243.2 kB / 0.8333 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/0.8312, allocations: 84.95 kB / 0.8334 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.8312, allocations: 0 / 0.8334 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.8313, allocations: 11.98 kB / 0.8334 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.8314, allocations: 27.97 kB / 0.8335 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.8314, allocations: 0 / 0.8335 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.639e-05/0.8315, allocations: 103.2 kB / 0.8336 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8315, allocations: 0 / 0.8336 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002274/0.8317, allocations: 12 kB / 0.8336 GB, free: 12.61 MB / 0.6387 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.0001652/0.8319, allocations: 100.2 kB / 0.8337 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.8323, allocations: 115.8 kB / 0.8338 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8324, allocations: 0 / 0.8338 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.8325, allocations: 63.94 kB / 0.8338 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.8329, allocations: 4 kB / 0.8338 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.8334, allocations: 182.2 kB / 0.834 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.8337, allocations: 0.6961 MB / 0.8347 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.219e-05/0.8338, allocations: 15.98 kB / 0.8347 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.8338, allocations: 19.42 kB / 0.8347 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.8338, allocations: 0 / 0.8347 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of Templates: time 0.004709/0.8385, allocations: 1.59 MB / 0.8363 GB, free: 9.781 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)