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.645/2.645, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001504/0.001504, allocations: 173.5 kB / 370.8 MB, free: 10.86 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.23/2.23, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 96.41 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007147/0.0007148, allocations: 12.25 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2169, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9568/1.174, allocations: 137.7 MB / 1.113 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.174, allocations: 69.45 kB / 1.113 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006958/1.181, allocations: 1.419 MB / 1.114 GB, free: 31.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.675e-06/1.181, allocations: 0 / 1.114 GB, free: 31.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.606e-06/1.181, allocations: 2.406 kB / 1.114 GB, free: 31.07 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.0008222/1.182, allocations: 398 kB / 1.115 GB, free: 30.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.724e-05/1.182, allocations: 15.8 kB / 1.115 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.302e-05/1.182, allocations: 46.28 kB / 1.115 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/1.182, allocations: 7.625 kB / 1.115 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/1.182, allocations: 176 kB / 1.115 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/1.182, allocations: 3.875 kB / 1.115 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/1.182, allocations: 7.922 kB / 1.115 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/1.183, allocations: 117.9 kB / 1.115 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.183, allocations: 1.359 kB / 1.115 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/1.183, allocations: 0 / 1.115 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/1.183, allocations: 3.875 kB / 1.115 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006741/1.184, allocations: 124.4 kB / 1.115 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/1.184, allocations: 339.8 kB / 1.115 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/1.185, allocations: 133 kB / 1.116 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/1.186, allocations: 3.828 kB / 1.116 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/1.186, allocations: 41.28 kB / 1.116 GB, free: 30.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/1.186, allocations: 0 / 1.116 GB, free: 30.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.001169/1.187, allocations: 215.6 kB / 1.116 GB, free: 30 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/1.187, allocations: 51.41 kB / 1.116 GB, free: 29.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/1.187, allocations: 126.6 kB / 1.116 GB, free: 29.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/1.187, allocations: 25.7 kB / 1.116 GB, free: 29.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/1.187, allocations: 94.61 kB / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/1.187, allocations: 14.23 kB / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/1.187, allocations: 3.625 kB / 1.116 GB, free: 29.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.187, allocations: 321.3 kB / 1.116 GB, free: 29.39 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/1.188, allocations: 54.23 kB / 1.116 GB, free: 29.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/1.188, allocations: 58.44 kB / 1.116 GB, free: 29.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/1.188, allocations: 60.92 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.188, allocations: 0 / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007379/1.189, allocations: 161.2 kB / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.189, allocations: 5.781 kB / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.189, allocations: 0 / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.189, allocations: 0 / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/1.189, allocations: 46.89 kB / 1.117 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.189, allocations: 3.953 kB / 1.117 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/1.19, allocations: 17.36 kB / 1.117 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/1.19, allocations: 5.109 kB / 1.117 GB, free: 29.33 MB / 0.698 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 () * 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 0.0001238/1.19, allocations: 109.5 kB / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/1.19, allocations: 11.75 kB / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008333/1.191, allocations: 171.4 kB / 1.117 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.191, allocations: 3.781 kB / 1.117 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.191, allocations: 3.938 kB / 1.117 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/1.191, allocations: 3.953 kB / 1.117 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/1.191, allocations: 203.4 kB / 1.117 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.191, allocations: 3.906 kB / 1.117 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/1.191, allocations: 30.91 kB / 1.117 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.191, allocations: 4 kB / 1.117 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/1.191, allocations: 3.344 kB / 1.117 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.191, allocations: 0 / 1.117 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.191, allocations: 0 / 1.117 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000791/1.192, allocations: 255.7 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/1.192, allocations: 88.8 kB / 1.118 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/1.192, allocations: 0 / 1.118 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/1.193, allocations: 28.2 kB / 1.118 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/1.193, allocations: 17.52 kB / 1.118 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/1.193, allocations: 7.125 kB / 1.118 GB, free: 28.72 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.451e-05/1.193, allocations: 95.78 kB / 1.118 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.193, allocations: 3.938 kB / 1.118 GB, free: 28.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003124/1.193, allocations: 15.22 kB / 1.118 GB, free: 28.64 MB / 0.698 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 () * 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.001152/1.194, allocations: 0.7996 MB / 1.119 GB, free: 27.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007359/1.195, allocations: 128.5 kB / 1.119 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.195, allocations: 3.938 kB / 1.119 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003666/1.196, allocations: 68.72 kB / 1.119 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/1.196, allocations: 11.53 kB / 1.119 GB, free: 27.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/1.198, allocations: 0.6564 MB / 1.119 GB, free: 27.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/1.198, allocations: 0.6933 MB / 1.12 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001238/1.198, allocations: 15.22 kB / 1.12 GB, free: 26.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/1.198, allocations: 24.75 kB / 1.12 GB, free: 26.88 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/1.198, allocations: 3.938 kB / 1.12 GB, free: 26.87 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/1.218, allocations: 2.238 MB / 1.122 GB, free: 26.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/1.219, allocations: 178.7 kB / 1.122 GB, free: 26.42 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/3.68, allocations: 3.938 kB / 1.123 GB, free: 26.41 MB / 0.698 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)