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.487/1.487, allocations: 249.3 MB / 261.8 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001154, allocations: 176.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008687/0.0008687, allocations: 86.5 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.879e-05, allocations: 8 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2302, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7906/1.021, allocations: 131.7 MB / 1.021 GB, free: 3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/1.021, allocations: 75.77 kB / 1.021 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004787/1.026, allocations: 1.449 MB / 1.022 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.336e-06/1.026, allocations: 3.984 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.026, allocations: 4 kB / 1.022 GB, free: 1.676 MB / 0.6355 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.0005733/1.027, allocations: 388.7 kB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/1.027, allocations: 8.031 kB / 1.022 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.924e-05/1.027, allocations: 38.25 kB / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/1.027, allocations: 7.906 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/1.027, allocations: 178.9 kB / 1.023 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/1.027, allocations: 7.438 kB / 1.023 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/1.027, allocations: 4 kB / 1.023 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/1.027, allocations: 83.16 kB / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/1.027, allocations: 0 / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/1.027, allocations: 0 / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/1.027, allocations: 0 / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/1.027, allocations: 53.92 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/1.028, allocations: 341.6 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/1.028, allocations: 98.59 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/1.028, allocations: 26.7 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/1.029, allocations: 7.984 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/1.029, allocations: 33.62 kB / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/1.029, allocations: 0 / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002573/1.029, allocations: 94.11 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/1.029, allocations: 55.41 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/1.029, allocations: 109.2 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/1.029, allocations: 29.64 kB / 1.024 GB, free: 84 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/1.029, allocations: 98.09 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/1.029, allocations: 22.44 kB / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/1.029, allocations: 0 / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.029, allocations: 317.5 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-05/1.029, allocations: 26.44 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-05/1.029, allocations: 22.12 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.281e-05/1.029, allocations: 22.7 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.029, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001602/1.03, allocations: 90.7 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.03, allocations: 4 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.03, allocations: 3.984 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.03, allocations: 3.984 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/1.03, allocations: 44.67 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/1.03, allocations: 3.938 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/1.03, allocations: 19.92 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/1.03, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.6511 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 8.104e-05/1.03, allocations: 108 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/1.03, allocations: 7.906 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/1.03, allocations: 103.6 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/1.03, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.391e-06/1.03, allocations: 3.953 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.03, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/1.031, allocations: 203.3 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.031, allocations: 4 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/1.031, allocations: 31.91 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.031, allocations: 8 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/1.031, allocations: 0 / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.031, allocations: 0 / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.031, allocations: 0 / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/1.031, allocations: 187.3 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/1.031, allocations: 85 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/1.031, allocations: 4 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/1.031, allocations: 23.8 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/1.031, allocations: 15.41 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/1.032, allocations: 4 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.938e-05/1.032, allocations: 98.75 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.032, allocations: 0 / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002269/1.032, allocations: 22.83 kB / 1.025 GB, free: 14.54 MB / 0.6511 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.000583/1.032, allocations: 0.7357 MB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001708/1.033, allocations: 58.98 kB / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.033, allocations: 0 / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.141e-05/1.033, allocations: 41.73 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/1.033, allocations: 7.375 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/1.033, allocations: 148.1 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/1.034, allocations: 0.6965 MB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.627e-05/1.034, allocations: 12.19 kB / 1.027 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.35e-05/1.034, allocations: 24.61 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.783e-06/1.034, allocations: 0 / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/1.048, allocations: 2.266 MB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/1.048, allocations: 158.2 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.644, allocations: 4 kB / 1.029 GB, free: 10.42 MB / 0.6511 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)