Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 3.093/3.093, allocations: 285.6 MB / 293.1 MB, free: 10.26 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00179/0.00179, allocations: 180.8 kB / 361.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.048/3.048, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 89.8 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.954e-05/3.971e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16/1.16, allocations: 115.3 MB / 0.9645 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3325/1.492, allocations: 137.1 MB / 1.098 GB, free: 2.707 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003649/1.493, allocations: 71.75 kB / 1.098 GB, free: 2.641 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007915/1.501, allocations: 1.425 MB / 1.1 GB, free: 1.254 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.465e-06/1.501, allocations: 0 / 1.1 GB, free: 1.254 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.02e-05/1.501, allocations: 0.5938 kB / 1.1 GB, free: 1.254 MB / 0.698 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.0008848/1.502, allocations: 388.4 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.164e-05/1.502, allocations: 8.688 kB / 1.1 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/1.502, allocations: 8.938 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/1.502, allocations: 171.6 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/1.502, allocations: 11.08 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/1.502, allocations: 8.656 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002152/1.503, allocations: 40 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/1.503, allocations: 74.53 kB / 1.101 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/1.503, allocations: 0 / 1.101 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/1.503, allocations: 0.5312 kB / 1.101 GB, free: 492 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/1.503, allocations: 8.578 kB / 1.101 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/1.504, allocations: 319.5 kB / 1.101 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007877/1.505, allocations: 84.05 kB / 1.101 GB, free: 36 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/1.505, allocations: 31.5 kB / 1.101 GB, free: 4 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/1.505, allocations: 4 kB / 1.101 GB, free: 0 / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.551e-05/1.505, allocations: 31.72 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/1.505, allocations: 0 / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003957/1.505, allocations: 91.55 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/1.505, allocations: 51.41 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/1.506, allocations: 109 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/1.506, allocations: 25.7 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/1.506, allocations: 101.1 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/1.506, allocations: 19.66 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/1.506, allocations: 4 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001754/1.506, allocations: 322.8 kB / 1.102 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.944e-05/1.506, allocations: 20 kB / 1.102 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/1.506, allocations: 20 kB / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.785e-05/1.506, allocations: 19.98 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.506, allocations: 3.938 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002702/1.507, allocations: 77.67 kB / 1.102 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/1.507, allocations: 4 kB / 1.102 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.507, allocations: 4 kB / 1.102 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/1.507, allocations: 0.5625 kB / 1.102 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/1.507, allocations: 39.91 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/1.507, allocations: 0 / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/1.507, allocations: 19.89 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/1.507, allocations: 4 kB / 1.102 GB, free: 15 MB / 0.7136 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 () * 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.000132/1.507, allocations: 115.6 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002674/1.508, allocations: 82.17 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/1.508, allocations: 7.906 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/1.508, allocations: 102.2 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.508, allocations: 4 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.508, allocations: 0 / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.508, allocations: 3.953 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/1.509, allocations: 170.1 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.509, allocations: 5.047 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/1.509, allocations: 31.97 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/1.509, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/1.509, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.509, allocations: 4 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.509, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/1.509, allocations: 191.1 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/1.509, allocations: 85.02 kB / 1.103 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/1.509, allocations: 7.25 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/1.51, allocations: 19.97 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/1.51, allocations: 19.91 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/1.51, allocations: 4 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.614e-05/1.51, allocations: 92.7 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.9e-07/1.51, allocations: 0 / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005011/1.511, allocations: 20.12 kB / 1.103 GB, free: 13.97 MB / 0.7136 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 () * 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.0007531/1.511, allocations: 0.7305 MB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002547/1.512, allocations: 55.92 kB / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.512, allocations: 0 / 1.104 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/1.512, allocations: 39.98 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/1.512, allocations: 13.78 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000776/1.513, allocations: 145.2 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/1.513, allocations: 0.6924 MB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001463/1.513, allocations: 16.17 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/1.514, allocations: 26.98 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/1.514, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/1.615, allocations: 1.879 MB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003718/1.615, allocations: 152.6 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/4.52, allocations: 4.875 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)