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.715/2.715, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.002294/0.002294, allocations: 191.1 kB / 370.8 MB, free: 10.85 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.171/2.171, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001095/0.001095, allocations: 89.23 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004812, allocations: 13.03 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2172, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9415/1.159, allocations: 137.7 MB / 1.113 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.159, allocations: 72.27 kB / 1.113 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007122/1.166, allocations: 1.421 MB / 1.114 GB, free: 31.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.477e-06/1.166, allocations: 1.641 kB / 1.114 GB, free: 31.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.227e-06/1.166, allocations: 0 / 1.114 GB, free: 31.32 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.0008577/1.167, allocations: 400.2 kB / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.167, allocations: 11.73 kB / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.595e-05/1.167, allocations: 40.97 kB / 1.115 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/1.167, allocations: 7.812 kB / 1.115 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/1.168, allocations: 183.3 kB / 1.115 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/1.168, allocations: 3.125 kB / 1.115 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/1.168, allocations: 7.812 kB / 1.115 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/1.168, allocations: 112.7 kB / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.168, allocations: 0 / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.87e-05/1.168, allocations: 1.5 kB / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/1.168, allocations: 0 / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/1.169, allocations: 129.8 kB / 1.115 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007368/1.17, allocations: 344.7 kB / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/1.171, allocations: 138 kB / 1.116 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.012e-05/1.171, allocations: 1.125 kB / 1.116 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/1.171, allocations: 30.56 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.605e-06/1.171, allocations: 0 / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.001164/1.172, allocations: 225.3 kB / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/1.172, allocations: 51.41 kB / 1.116 GB, free: 30.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/1.172, allocations: 111.6 kB / 1.116 GB, free: 30.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/1.172, allocations: 32.95 kB / 1.116 GB, free: 30.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/1.172, allocations: 97.97 kB / 1.116 GB, free: 29.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/1.172, allocations: 15.22 kB / 1.116 GB, free: 29.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/1.172, allocations: 7.938 kB / 1.116 GB, free: 29.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.173, allocations: 316.8 kB / 1.116 GB, free: 29.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/1.173, allocations: 57.44 kB / 1.116 GB, free: 29.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/1.173, allocations: 57 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/1.174, allocations: 52.12 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/1.174, allocations: 4 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007702/1.174, allocations: 166 kB / 1.117 GB, free: 29.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.174, allocations: 7.75 kB / 1.117 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.174, allocations: 0 / 1.117 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/1.174, allocations: 0 / 1.117 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/1.175, allocations: 35.8 kB / 1.117 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.175, allocations: 3.953 kB / 1.117 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/1.175, allocations: 25.06 kB / 1.117 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/1.175, allocations: 0 / 1.117 GB, free: 29.59 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 (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 0.0001374/1.175, allocations: 116.8 kB / 1.117 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/1.175, allocations: 13.56 kB / 1.117 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008288/1.176, allocations: 167.2 kB / 1.117 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.176, allocations: 0 / 1.117 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.176, allocations: 0 / 1.117 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/1.176, allocations: 7.766 kB / 1.117 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/1.177, allocations: 211.6 kB / 1.117 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/1.177, allocations: 0 / 1.117 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/1.177, allocations: 35.7 kB / 1.117 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/1.177, allocations: 0 / 1.117 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/1.177, allocations: 4 kB / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/1.177, allocations: 0 / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.177, allocations: 0 / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007999/1.178, allocations: 262.5 kB / 1.118 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/1.178, allocations: 91.56 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/1.178, allocations: 0 / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/1.178, allocations: 17.23 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.178, allocations: 20.45 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/1.178, allocations: 2.625 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.015e-05/1.178, allocations: 98.3 kB / 1.118 GB, free: 28.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.178, allocations: 4 kB / 1.118 GB, free: 28.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003154/1.179, allocations: 11.53 kB / 1.118 GB, free: 28.89 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 (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.001198/1.18, allocations: 0.8 MB / 1.119 GB, free: 28.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007375/1.181, allocations: 125.4 kB / 1.119 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/1.181, allocations: 3.938 kB / 1.119 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003696/1.181, allocations: 72.72 kB / 1.119 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/1.181, allocations: 14.3 kB / 1.119 GB, free: 28.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/1.183, allocations: 0.6563 MB / 1.119 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/1.184, allocations: 0.693 MB / 1.12 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001323/1.184, allocations: 14.45 kB / 1.12 GB, free: 27.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/1.184, allocations: 28.03 kB / 1.12 GB, free: 27.12 MB / 0.698 GB Notification: Performance of SimCode: time 1.392e-06/1.184, allocations: 0 / 1.12 GB, free: 27.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/1.209, allocations: 2.235 MB / 1.122 GB, free: 26.91 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/1.209, allocations: 184.5 kB / 1.123 GB, free: 26.67 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.696, allocations: 1.312 kB / 1.123 GB, free: 26.67 MB / 0.698 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)