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.473/1.473, allocations: 249.5 MB / 257 MB, free: 7.051 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.001002/0.001001, allocations: 172.9 kB / 316.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0008752/0.0008751, allocations: 84.67 kB / 0.6714 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.229e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2157, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7756/0.9913, allocations: 132 MB / 1.014 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.9916, allocations: 69.64 kB / 1.014 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004472/0.9961, allocations: 1.452 MB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9961, allocations: 0 / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.9961, allocations: 4 kB / 1.016 GB, free: 4.102 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.0005823/0.9967, allocations: 386.2 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.9968, allocations: 8.781 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.9969, allocations: 7.906 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.9971, allocations: 175 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.9971, allocations: 0 / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.9971, allocations: 4 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000146/0.9973, allocations: 55.23 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.9974, allocations: 69.28 kB / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.9974, allocations: 0 / 1.016 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.9975, allocations: 7.938 kB / 1.016 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9975, allocations: 0 / 1.016 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.998, allocations: 320 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.9984, allocations: 86.11 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.9985, allocations: 32.47 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.9986, allocations: 3.875 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.9986, allocations: 38.48 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.9986, allocations: 0 / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002225/0.9988, allocations: 84.34 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.9989, allocations: 51.41 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/0.999, allocations: 116.6 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.999, allocations: 25.7 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.361e-05/0.999, allocations: 95.97 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.9991, allocations: 19.69 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-06/0.9991, allocations: 0 / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.9992, allocations: 318.5 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.916e-05/0.9992, allocations: 19.25 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.9993, allocations: 23.7 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.631e-05/0.9993, allocations: 24.02 kB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9993, allocations: 4 kB / 1.018 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001341/0.9995, allocations: 80.39 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.9995, allocations: 8 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.9995, allocations: 320 / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9995, allocations: 0 / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.9997, allocations: 31.91 kB / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.9998, allocations: 0 / 1.018 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.9999, allocations: 35.81 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.9999, allocations: 3.984 kB / 1.018 GB, free: 1.98 MB / 0.6355 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 9.438e-05/1, allocations: 111.4 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001473/1, allocations: 80.66 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/1, allocations: 7.906 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/1, allocations: 105.3 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/1, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1, allocations: 7.953 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/1, allocations: 0 / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/1.001, allocations: 165.4 kB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.001, allocations: 0 / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/1.001, allocations: 35.89 kB / 1.018 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.001, allocations: 4 kB / 1.018 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/1.001, allocations: 0 / 1.018 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/1.001, allocations: 0 / 1.018 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.001, allocations: 0 / 1.018 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/1.001, allocations: 190.4 kB / 1.018 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/1.001, allocations: 88.95 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/1.001, allocations: 0 / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/1.001, allocations: 19.97 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/1.001, allocations: 19.61 kB / 1.019 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/1.001, allocations: 7.984 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.424e-05/1.002, allocations: 91.03 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.002, allocations: 4 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002292/1.002, allocations: 15.94 kB / 1.019 GB, free: 1.035 MB / 0.6355 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.0004982/1.002, allocations: 0.727 MB / 1.019 GB, free: 308 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001386/1.002, allocations: 59.55 kB / 1.019 GB, free: 264 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/1.002, allocations: 0 / 1.019 GB, free: 264 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.307e-05/1.003, allocations: 31.44 kB / 1.019 GB, free: 244 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/1.003, allocations: 7.984 kB / 1.019 GB, free: 236 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/1.003, allocations: 142 kB / 1.02 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/1.004, allocations: 0.6962 MB / 1.02 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.826e-05/1.004, allocations: 12.17 kB / 1.02 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/1.004, allocations: 23.17 kB / 1.02 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/1.004, allocations: 8 kB / 1.02 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/1.025, allocations: 1.885 MB / 1.022 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/1.026, allocations: 149.7 kB / 1.022 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.6, allocations: 0 / 1.022 GB, free: 13.26 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)