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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001681/0.001681, allocations: 170.8 kB / 326.5 MB, free: 2.277 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.072/2.072, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009714/0.0009715, allocations: 94.06 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005253/0.000525, allocations: 10.03 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2339, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/0.4526, allocations: 131.8 MB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.453, allocations: 71.97 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007071/0.4601, allocations: 1.454 MB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4601, allocations: 0 / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.4601, allocations: 0 / 1.03 GB, free: 10.35 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.0008456/0.461, allocations: 403.1 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.461, allocations: 15.97 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.587e-05/0.4611, allocations: 34.56 kB / 1.031 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.4612, allocations: 7.906 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.4614, allocations: 182.8 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.4614, allocations: 4 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.4615, allocations: 8 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.4621, allocations: 115.5 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4621, allocations: 3.984 kB / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.4621, allocations: 0 / 1.031 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4621, allocations: 3.938 kB / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006881/0.4628, allocations: 127.8 kB / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007832/0.4636, allocations: 340.7 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.4647, allocations: 138.5 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.4647, allocations: 0 / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.4648, allocations: 34.56 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.4648, allocations: 0 / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001212/0.466, allocations: 221.4 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.4661, allocations: 55.34 kB / 1.032 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.4663, allocations: 109 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.4663, allocations: 25.7 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.4664, allocations: 107.9 kB / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.4665, allocations: 15.81 kB / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.4665, allocations: 0 / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4667, allocations: 318.8 kB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.467, allocations: 59.95 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.4674, allocations: 56.11 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.4677, allocations: 59.94 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4677, allocations: 0 / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007929/0.4685, allocations: 153.5 kB / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4686, allocations: 4 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.4686, allocations: 7.984 kB / 1.033 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4686, allocations: 4 kB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.4689, allocations: 31.91 kB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.469, allocations: 7.953 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.4692, allocations: 15.98 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.4692, allocations: 8 kB / 1.033 GB, free: 7.504 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.0001475/0.4694, allocations: 118.5 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.4695, allocations: 3.906 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008439/0.4703, allocations: 173.9 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.4703, allocations: 0 / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.4704, allocations: 0 / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.4704, allocations: 7.891 kB / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.4707, allocations: 201.6 kB / 1.033 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4708, allocations: 0 / 1.033 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.4711, allocations: 35.91 kB / 1.033 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4711, allocations: 0 / 1.033 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.4711, allocations: 0 / 1.033 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4711, allocations: 4 kB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4711, allocations: 0.625 kB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008317/0.472, allocations: 263.3 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.411e-05/0.4721, allocations: 84.95 kB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.4721, allocations: 11.92 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.4724, allocations: 19.98 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.4725, allocations: 19.97 kB / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.4726, allocations: 7.938 kB / 1.034 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.853e-05/0.4727, allocations: 99.64 kB / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4727, allocations: 0 / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004498/0.4731, allocations: 12 kB / 1.034 GB, free: 6.367 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.001203/0.4744, allocations: 0.8021 MB / 1.035 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007409/0.4751, allocations: 127.8 kB / 1.035 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4751, allocations: 0 / 1.035 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.4756, allocations: 75.94 kB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.4759, allocations: 4 kB / 1.035 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.4781, allocations: 0.6661 MB / 1.036 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.4785, allocations: 0.6926 MB / 1.036 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.4787, allocations: 12.19 kB / 1.036 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.4788, allocations: 27.41 kB / 1.036 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/0.4788, allocations: 4 kB / 1.036 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.4958, allocations: 2.23 MB / 1.038 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/0.4962, allocations: 190.7 kB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.033, allocations: 0 / 1.039 GB, free: 1.516 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)