Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.533/2.533, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.00139/0.00139, allocations: 184.9 kB / 360.6 MB, free: 7.309 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.027/2.027, allocations: 205.3 MB / 0.6191 GB, free: 12.23 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.001096/0.001095, allocations: 91.81 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.589e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8174/0.8175, allocations: 115.3 MB / 0.9634 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2389/1.056, allocations: 136.9 MB / 1.097 GB, free: 3.52 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/1.057, allocations: 75.42 kB / 1.097 GB, free: 3.449 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006779/1.064, allocations: 1.421 MB / 1.099 GB, free: 2.062 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/1.064, allocations: 0 / 1.099 GB, free: 2.062 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.287e-05/1.064, allocations: 0 / 1.099 GB, free: 2.062 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.0008429/1.064, allocations: 389 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/1.065, allocations: 12.03 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/1.065, allocations: 9.703 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/1.065, allocations: 171.6 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/1.065, allocations: 4 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/1.065, allocations: 2.219 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001955/1.065, allocations: 51.92 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/1.065, allocations: 72.19 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/1.065, allocations: 0 / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/1.065, allocations: 0.875 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/1.065, allocations: 4 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/1.066, allocations: 322.4 kB / 1.1 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/1.067, allocations: 92.34 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.812e-05/1.067, allocations: 24.86 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/1.067, allocations: 0 / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/1.067, allocations: 38.56 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/1.067, allocations: 0 / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003378/1.067, allocations: 82.8 kB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/1.068, allocations: 55.41 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/1.068, allocations: 113.9 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/1.068, allocations: 29.64 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/1.068, allocations: 96.05 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/1.068, allocations: 19.64 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/1.068, allocations: 0 / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.068, allocations: 322.8 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.463e-05/1.068, allocations: 24.22 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/1.068, allocations: 19.05 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.941e-05/1.068, allocations: 27.89 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/1.068, allocations: 0 / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002642/1.069, allocations: 77.62 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.069, allocations: 6.188 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.069, allocations: 1.781 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.069, allocations: 0 / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/1.069, allocations: 39.97 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.069, allocations: 7.797 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/1.069, allocations: 23.84 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/1.069, allocations: 3.938 kB / 1.101 GB, free: 15.79 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 (min1.u1,min1.u2,min1.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.0001144/1.069, allocations: 115.5 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002482/1.07, allocations: 81.67 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/1.07, allocations: 3.906 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/1.07, allocations: 102.2 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.07, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.07, allocations: 3.953 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/1.07, allocations: 0 / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/1.07, allocations: 174.1 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.07, allocations: 0.5625 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/1.071, allocations: 35.97 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.071, allocations: 0 / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/1.071, allocations: 3.984 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.071, allocations: 0 / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.071, allocations: 1.219 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/1.071, allocations: 191.1 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/1.071, allocations: 85.02 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/1.071, allocations: 1.453 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/1.072, allocations: 15.98 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.072, allocations: 19.97 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/1.072, allocations: 11.88 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.832e-05/1.072, allocations: 98 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.072, allocations: 0 / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003263/1.072, allocations: 16.12 kB / 1.102 GB, free: 14.77 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 (min1.u1,min1.u2,min1.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.000704/1.073, allocations: 0.724 MB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002283/1.073, allocations: 55.94 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.073, allocations: 0 / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/1.073, allocations: 34.8 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/1.074, allocations: 12 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/1.074, allocations: 148.5 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/1.075, allocations: 0.6885 MB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001272/1.075, allocations: 13.44 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/1.075, allocations: 27.41 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of SimCode: time 2.675e-06/1.075, allocations: 4 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03873/1.114, allocations: 1.88 MB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003454/1.114, allocations: 145 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.363, allocations: 4 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1)