Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.Add,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Add",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.607/2.607, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001458/0.001457, allocations: 184.8 kB / 360.6 MB, free: 7.277 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.015/2.015, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.001024/0.001024, allocations: 91.39 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.303e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8029/0.803, allocations: 115.3 MB / 0.9634 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2369/1.04, allocations: 136.9 MB / 1.097 GB, free: 3.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.04, allocations: 73.42 kB / 1.097 GB, free: 3.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007002/1.047, allocations: 1.453 MB / 1.099 GB, free: 2.012 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/1.047, allocations: 0.8438 kB / 1.099 GB, free: 2.012 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.047, allocations: 0 / 1.099 GB, free: 2.012 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.0007708/1.048, allocations: 393 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/1.048, allocations: 11.91 kB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/1.048, allocations: 9.109 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/1.049, allocations: 185.1 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/1.049, allocations: 0 / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/1.049, allocations: 4 kB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001996/1.049, allocations: 52.48 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/1.049, allocations: 70.31 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/1.049, allocations: 0 / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.049, allocations: 1.156 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/1.049, allocations: 4 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/1.05, allocations: 322 kB / 1.1 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007773/1.051, allocations: 90.61 kB / 1.1 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/1.051, allocations: 28.84 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/1.051, allocations: 4 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/1.051, allocations: 32.81 kB / 1.1 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.605e-06/1.051, allocations: 0 / 1.1 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003533/1.051, allocations: 88.47 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/1.051, allocations: 51.41 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/1.051, allocations: 119.8 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/1.051, allocations: 30.33 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/1.051, allocations: 100 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/1.052, allocations: 19.75 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/1.052, allocations: 0 / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.052, allocations: 322.8 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/1.052, allocations: 20 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.626e-05/1.052, allocations: 20 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.191e-05/1.052, allocations: 19.98 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.052, allocations: 0 / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002521/1.052, allocations: 85.58 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.052, allocations: 8 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.052, allocations: 0 / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/1.052, allocations: 0 / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/1.053, allocations: 33.56 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/1.053, allocations: 3.938 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/1.053, allocations: 24.78 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/1.053, allocations: 7.984 kB / 1.101 GB, free: 15.72 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 (add1.u1,add1.u2,add1.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.0001072/1.053, allocations: 111.5 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002514/1.053, allocations: 81.59 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/1.053, allocations: 7.906 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/1.054, allocations: 12.61 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.054, allocations: 0.8125 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.054, allocations: 3.953 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/1.054, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/1.054, allocations: 176.2 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.054, allocations: 4 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/1.054, allocations: 38.84 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/1.054, allocations: 3.984 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/1.054, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.054, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.054, allocations: 4 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/1.055, allocations: 186.4 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/1.055, allocations: 84.95 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/1.055, allocations: 4 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/1.055, allocations: 18.7 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.055, allocations: 19.97 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/1.055, allocations: 7.984 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.092e-05/1.055, allocations: 87.28 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.055, allocations: 4 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00034/1.056, allocations: 20.12 kB / 1.102 GB, free: 14.79 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 (add1.u1,add1.u2,add1.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.000657/1.056, allocations: 0.7318 MB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002334/1.056, allocations: 55.98 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.057, allocations: 4 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/1.057, allocations: 31.94 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/1.057, allocations: 15.28 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/1.058, allocations: 141.7 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/1.058, allocations: 0.6963 MB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001314/1.058, allocations: 13.44 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/1.058, allocations: 27.42 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of SimCode: time 9.91e-07/1.058, allocations: 0 / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04065/1.099, allocations: 1.939 MB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002932/1.099, allocations: 139.3 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/3.404, allocations: 1.969 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)