Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.15/2.15, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 172.3 kB / 325.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.47/2.47, allocations: 205.4 MB / 0.5764 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.00112, allocations: 90.08 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007007/0.0007009, allocations: 16.03 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2087, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/0.4332, allocations: 131.6 MB / 1.027 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.4336, allocations: 71.95 kB / 1.027 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007126/0.4407, allocations: 1.462 MB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4408, allocations: 0 / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.4408, allocations: 0 / 1.029 GB, free: 12.13 MB / 0.6823 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.0008397/0.4416, allocations: 395.1 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4417, allocations: 8.031 kB / 1.029 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.454e-05/0.4418, allocations: 38.56 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.4418, allocations: 7.906 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.442, allocations: 186.7 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.4421, allocations: 8 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.4421, allocations: 0 / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.4427, allocations: 113.6 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4427, allocations: 4 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.4427, allocations: 7.984 kB / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.4427, allocations: 0 / 1.03 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007183/0.4435, allocations: 121 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007866/0.4443, allocations: 344.6 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.4454, allocations: 130.6 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.639e-05/0.4455, allocations: 0 / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.4455, allocations: 38.5 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.4455, allocations: 0 / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001282/0.4468, allocations: 225.5 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.4469, allocations: 51.41 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.447, allocations: 116.9 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.4471, allocations: 25.7 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.318e-05/0.4471, allocations: 99.97 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.4472, allocations: 15.75 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/0.4472, allocations: 4 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4474, allocations: 326.8 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.4477, allocations: 51.95 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.4481, allocations: 59.95 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.4485, allocations: 51.95 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4485, allocations: 3.938 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008414/0.4493, allocations: 158 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.4494, allocations: 4 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.4494, allocations: 4 kB / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.4494, allocations: 3.953 kB / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/0.4498, allocations: 35.97 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.4498, allocations: 0 / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.45, allocations: 19.97 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.4501, allocations: 4 kB / 1.031 GB, free: 9.305 MB / 0.6823 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 (max1.u1,max1.u2,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.4502, allocations: 114.7 kB / 1.032 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.4503, allocations: 7.906 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009251/0.4512, allocations: 181.9 kB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.4513, allocations: 4 kB / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.4513, allocations: 3.953 kB / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4513, allocations: 0 / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.4516, allocations: 193.6 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.4516, allocations: 8 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.4519, allocations: 35.97 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.452, allocations: 0 / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.452, allocations: 0 / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.452, allocations: 0 / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.452, allocations: 3.938 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008809/0.4529, allocations: 263.2 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.453, allocations: 92.95 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.453, allocations: 4 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.4533, allocations: 19.97 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.4534, allocations: 19.97 kB / 1.032 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.4534, allocations: 4 kB / 1.032 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.309e-05/0.4535, allocations: 99.22 kB / 1.032 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4535, allocations: 0 / 1.032 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003213/0.4539, allocations: 20.12 kB / 1.032 GB, free: 8.156 MB / 0.6823 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.u1,max1.u2,max1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/0.4552, allocations: 0.7865 MB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007835/0.456, allocations: 131.9 kB / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.456, allocations: 0 / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.4564, allocations: 75.89 kB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.4567, allocations: 13.64 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.459, allocations: 0.6644 MB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.4594, allocations: 0.7004 MB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.4595, allocations: 4.188 kB / 1.035 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.4597, allocations: 35.42 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/0.4597, allocations: 0 / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.4842, allocations: 2.221 MB / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000366/0.4847, allocations: 190.4 kB / 1.037 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.797, allocations: 0 / 1.037 GB, free: 3.297 MB / 0.6823 GB