Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.539/2.539, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.001384/0.001384, allocations: 180.8 kB / 360.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.3 MB / 0.6191 GB, free: 12.16 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.001105/0.001105, allocations: 87.83 kB / 0.7321 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.914e-05/2.921e-05, allocations: 8 kB / 0.8509 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8174/0.8175, allocations: 115.2 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2384/1.056, allocations: 137 MB / 1.097 GB, free: 3.457 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/1.056, allocations: 68.48 kB / 1.097 GB, free: 3.391 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006619/1.063, allocations: 1.427 MB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/1.063, allocations: 0 / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.041e-05/1.063, allocations: 0.5625 kB / 1.099 GB, free: 2 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.0007342/1.064, allocations: 384.6 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.064, allocations: 12.62 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/1.064, allocations: 12.95 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/1.064, allocations: 171 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/1.064, allocations: 4 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/1.064, allocations: 0.9688 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001941/1.064, allocations: 47.98 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/1.065, allocations: 74.84 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.065, allocations: 0.8438 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/1.065, allocations: 3.375 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/1.065, allocations: 4.5 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006738/1.065, allocations: 319.5 kB / 1.1 GB, free: 0.875 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/1.066, allocations: 93.09 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.969e-05/1.066, allocations: 29.89 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/1.066, allocations: 0 / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/1.066, allocations: 36.03 kB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/1.066, allocations: 0 / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003118/1.067, allocations: 83.3 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/1.067, allocations: 51.41 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/1.067, allocations: 118.4 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/1.067, allocations: 25.7 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/1.067, allocations: 92.8 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/1.067, allocations: 23.64 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/1.067, allocations: 3.094 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.067, allocations: 318.8 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.622e-05/1.067, allocations: 19.98 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/1.067, allocations: 20 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.586e-05/1.067, allocations: 22.11 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/1.067, allocations: 0 / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002357/1.068, allocations: 89.75 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.068, allocations: 7 kB / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.068, allocations: 0 / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.068, allocations: 0 / 1.101 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/1.068, allocations: 31.97 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/1.068, allocations: 0 / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/1.068, allocations: 31.83 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/1.068, allocations: 0 / 1.101 GB, free: 15.75 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.0001011/1.068, allocations: 115.4 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002407/1.069, allocations: 81.67 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/1.069, allocations: 5.688 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/1.069, allocations: 99.92 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.069, allocations: 3.984 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.069, allocations: 3.953 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/1.069, allocations: 1.688 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/1.069, allocations: 178 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.069, allocations: 0.6562 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/1.07, allocations: 35.97 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.07, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/1.07, allocations: 4 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.07, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.07, allocations: 3.984 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/1.07, allocations: 179.5 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/1.07, allocations: 82.42 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/1.07, allocations: 0 / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/1.07, allocations: 19.98 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.07, allocations: 26.91 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/1.071, allocations: 7.938 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.786e-05/1.071, allocations: 94.11 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.875e-06/1.071, allocations: 0 / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003363/1.071, allocations: 20.06 kB / 1.102 GB, free: 14.72 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.0006331/1.072, allocations: 0.7279 MB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002147/1.072, allocations: 57.88 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.072, allocations: 0 / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/1.072, allocations: 35.98 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/1.072, allocations: 9.656 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000592/1.073, allocations: 144.5 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/1.073, allocations: 0.6963 MB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001291/1.073, allocations: 14.84 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/1.073, allocations: 31.41 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/1.073, allocations: 4 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04113/1.115, allocations: 1.884 MB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003211/1.115, allocations: 140.9 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/3.416, allocations: 0 / 1.105 GB, free: 10.91 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)