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 1.645/1.645, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001448/0.001448, allocations: 177.2 kB / 371.6 MB, free: 3.367 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.778/1.778, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001031/0.001032, allocations: 92 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.408e-05/5.41e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3003, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8439/1.144, allocations: 138.8 MB / 1.115 GB, free: 44.85 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/1.145, allocations: 75.81 kB / 1.115 GB, free: 44.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.004236/1.149, allocations: 1.426 MB / 1.117 GB, free: 43.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.868e-06/1.149, allocations: 3.516 kB / 1.117 GB, free: 43.92 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.077e-06/1.149, allocations: 0 / 1.117 GB, free: 43.92 MB / 0.7448 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.0005024/1.149, allocations: 383 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/1.149, allocations: 8.031 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.84e-05/1.149, allocations: 38.44 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/1.15, allocations: 11.09 kB / 1.117 GB, free: 43.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/1.15, allocations: 174.2 kB / 1.117 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/1.15, allocations: 15.98 kB / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/1.15, allocations: 1.312 kB / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/1.15, allocations: 86.12 kB / 1.118 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/1.15, allocations: 0 / 1.118 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/1.15, allocations: 4 kB / 1.118 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/1.15, allocations: 0 / 1.118 GB, free: 43.19 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/1.15, allocations: 48.56 kB / 1.118 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/1.151, allocations: 348.1 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/1.151, allocations: 99.78 kB / 1.118 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/1.151, allocations: 26.73 kB / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/1.151, allocations: 7.609 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/1.151, allocations: 30.56 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/1.151, allocations: 0 / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002526/1.152, allocations: 97.58 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/1.152, allocations: 55.36 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/1.152, allocations: 111.5 kB / 1.118 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/1.152, allocations: 25.7 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/1.152, allocations: 97.69 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/1.152, allocations: 19.44 kB / 1.118 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/1.152, allocations: 0 / 1.118 GB, free: 42.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.081e-05/1.152, allocations: 317.5 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/1.152, allocations: 25.72 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/1.152, allocations: 18.5 kB / 1.119 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/1.152, allocations: 22.28 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.152, allocations: 3.828 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001564/1.152, allocations: 93.42 kB / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.152, allocations: 4 kB / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.152, allocations: 0 / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/1.152, allocations: 0 / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/1.152, allocations: 41.09 kB / 1.119 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.153, allocations: 4.797 kB / 1.119 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/1.153, allocations: 19.28 kB / 1.119 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/1.153, allocations: 3.281 kB / 1.119 GB, free: 41.85 MB / 0.7448 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 6.354e-05/1.153, allocations: 108.8 kB / 1.119 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/1.153, allocations: 4 kB / 1.119 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/1.153, allocations: 111.1 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.153, allocations: 0 / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.153, allocations: 0.8125 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.153, allocations: 3.953 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/1.153, allocations: 202.3 kB / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.153, allocations: 0 / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/1.153, allocations: 31.52 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.153, allocations: 4 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/1.153, allocations: 8.078 kB / 1.119 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.153, allocations: 0 / 1.119 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.153, allocations: 0 / 1.119 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/1.154, allocations: 190.8 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/1.154, allocations: 81.67 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/1.154, allocations: 4.031 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/1.154, allocations: 19.28 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/1.154, allocations: 25.58 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/1.154, allocations: 7.516 kB / 1.12 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.943e-05/1.154, allocations: 91.53 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.8e-07/1.154, allocations: 0 / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002134/1.154, allocations: 17.03 kB / 1.12 GB, free: 41.02 MB / 0.7448 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.0003882/1.155, allocations: 0.7447 MB / 1.121 GB, free: 40.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001565/1.155, allocations: 50.91 kB / 1.121 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.155, allocations: 0 / 1.121 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.058e-05/1.155, allocations: 38.02 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/1.155, allocations: 11.8 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/1.156, allocations: 152.3 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/1.156, allocations: 0.695 MB / 1.122 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.004e-05/1.156, allocations: 16 kB / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/1.156, allocations: 26.58 kB / 1.122 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/1.156, allocations: 0 / 1.122 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/1.172, allocations: 2.241 MB / 1.124 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/1.172, allocations: 159.3 kB / 1.124 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.787, allocations: 1.875 kB / 1.124 GB, free: 37.92 MB / 0.7448 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)