Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 2.173/2.173, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001086/0.001086, allocations: 177 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.4 MB / 0.6366 GB, free: 8.547 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.0009323/0.0009323, allocations: 87.47 kB / 0.7509 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.293, allocations: 116.3 MB / 0.9884 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.788/1.081, allocations: 138.8 MB / 1.124 GB, free: 35.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.081, allocations: 71.16 kB / 1.124 GB, free: 35.65 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00424/1.086, allocations: 1.424 MB / 1.125 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.046e-06/1.086, allocations: 0 / 1.125 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.268e-05/1.086, allocations: 10.08 kB / 1.125 GB, free: 34.58 MB / 0.7292 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.0005353/1.086, allocations: 398.1 kB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/1.086, allocations: 12.02 kB / 1.126 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.414e-05/1.086, allocations: 35.12 kB / 1.126 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/1.086, allocations: 9.969 kB / 1.126 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/1.087, allocations: 182.4 kB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/1.087, allocations: 4.812 kB / 1.126 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/1.087, allocations: 7.438 kB / 1.126 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/1.087, allocations: 114.2 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.087, allocations: 0.5625 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/1.087, allocations: 4 kB / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.087, allocations: 4 kB / 1.126 GB, free: 33.78 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/1.087, allocations: 124.5 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/1.088, allocations: 339.7 kB / 1.127 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/1.088, allocations: 127.1 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/1.088, allocations: 4.562 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/1.088, allocations: 31.06 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 3.516e-06/1.089, allocations: 4 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0006598/1.089, allocations: 221.6 kB / 1.127 GB, free: 33 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/1.089, allocations: 59.34 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/1.089, allocations: 111.8 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/1.089, allocations: 34.2 kB / 1.127 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/1.089, allocations: 99.55 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/1.089, allocations: 15.81 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/1.089, allocations: 0 / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.383e-05/1.089, allocations: 322.5 kB / 1.128 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/1.09, allocations: 50.59 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/1.09, allocations: 62.98 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/1.09, allocations: 55.05 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.09, allocations: 0 / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003862/1.09, allocations: 163.2 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.09, allocations: 4 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.09, allocations: 0.6562 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.09, allocations: 0.6562 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/1.091, allocations: 30.92 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.091, allocations: 4 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/1.091, allocations: 27.47 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/1.091, allocations: 3.516 kB / 1.128 GB, free: 32.03 MB / 0.7292 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 7.683e-05/1.091, allocations: 113.8 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/1.091, allocations: 7.906 kB / 1.128 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004901/1.091, allocations: 179.5 kB / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.091, allocations: 4 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.091, allocations: 0 / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.091, allocations: 0 / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/1.092, allocations: 206.9 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.092, allocations: 1.062 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/1.092, allocations: 30.59 kB / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/1.092, allocations: 4.656 kB / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/1.092, allocations: 4.75 kB / 1.129 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.092, allocations: 0 / 1.129 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/1.092, allocations: 4 kB / 1.129 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/1.092, allocations: 262.5 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/1.092, allocations: 84.95 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/1.092, allocations: 4.812 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/1.093, allocations: 23.69 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.94e-05/1.093, allocations: 14.94 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/1.093, allocations: 8 kB / 1.129 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.768e-05/1.093, allocations: 96.48 kB / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.093, allocations: 0 / 1.129 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002321/1.093, allocations: 19.47 kB / 1.129 GB, free: 31 MB / 0.7292 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.0007437/1.094, allocations: 0.7957 MB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004178/1.094, allocations: 133.7 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.094, allocations: 0 / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/1.094, allocations: 77.19 kB / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/1.095, allocations: 7.938 kB / 1.13 GB, free: 30.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/1.096, allocations: 0.6626 MB / 1.131 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/1.096, allocations: 0.6951 MB / 1.131 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.213e-05/1.096, allocations: 10.28 kB / 1.131 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/1.096, allocations: 30.33 kB / 1.131 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/1.096, allocations: 0 / 1.131 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/1.109, allocations: 2.222 MB / 1.134 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/1.11, allocations: 178.7 kB / 1.134 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.84, allocations: 3.375 kB / 1.134 GB, free: 27.23 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)