Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001345, allocations: 180.9 kB / 316.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009103/0.0009102, allocations: 82.5 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.199e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1935, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6483/0.8418, allocations: 132 MB / 1.014 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.842, allocations: 75.23 kB / 1.014 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004544/0.8466, allocations: 1.47 MB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.031e-06/0.8466, allocations: 4.75 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.8466, allocations: 0 / 1.016 GB, free: 4.043 MB / 0.6355 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.0005206/0.8472, allocations: 388.1 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.8472, allocations: 8.031 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/0.8472, allocations: 7.906 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.8474, allocations: 190.7 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.8474, allocations: 0 / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.8474, allocations: 4 kB / 1.016 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.812e-05/0.8475, allocations: 52.86 kB / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.8477, allocations: 68.16 kB / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-06/0.8477, allocations: 0 / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.8477, allocations: 3.984 kB / 1.016 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.8477, allocations: 4 kB / 1.016 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.8481, allocations: 321.8 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.8485, allocations: 88.03 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.8486, allocations: 26.05 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.8486, allocations: 8.141 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.8486, allocations: 34.56 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.8486, allocations: 0 / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001894/0.8488, allocations: 94.44 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.8489, allocations: 51.41 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.849, allocations: 120 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.849, allocations: 25.7 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.8491, allocations: 94.78 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.8491, allocations: 23.22 kB / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-06/0.8491, allocations: 4 kB / 1.017 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.8493, allocations: 322.3 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/0.8493, allocations: 18.38 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.583e-05/0.8494, allocations: 17.5 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/0.8494, allocations: 22.42 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.8494, allocations: 0 / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00015/0.8496, allocations: 85.27 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.8496, allocations: 7.938 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.8496, allocations: 0 / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.8497, allocations: 15.92 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.8499, allocations: 27.97 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.8499, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.85, allocations: 19.94 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.85, allocations: 3.312 kB / 1.018 GB, free: 1.91 MB / 0.6355 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 8.082e-05/0.8501, allocations: 111.6 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001546/0.8503, allocations: 85.95 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.8503, allocations: 4 kB / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.8503, allocations: 8.062 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.8504, allocations: 3.938 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8504, allocations: 7.953 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.8504, allocations: 3.984 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.8506, allocations: 174.2 kB / 1.018 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.8506, allocations: 3.625 kB / 1.018 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.8508, allocations: 31.97 kB / 1.018 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8508, allocations: 0 / 1.018 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.8508, allocations: 3.938 kB / 1.018 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8508, allocations: 7.984 kB / 1.018 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8508, allocations: 0 / 1.018 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.851, allocations: 186 kB / 1.018 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.8511, allocations: 81.11 kB / 1.018 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.8511, allocations: 4 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.8513, allocations: 15.98 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.8513, allocations: 18.59 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.8514, allocations: 4 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.06e-05/0.8514, allocations: 102.7 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.214e-06/0.8514, allocations: 0 / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002348/0.8517, allocations: 19.84 kB / 1.019 GB, free: 1.039 MB / 0.6355 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.0005184/0.8522, allocations: 0.7244 MB / 1.019 GB, free: 312 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.8523, allocations: 57.98 kB / 1.019 GB, free: 272 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8523, allocations: 0 / 1.019 GB, free: 272 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.8524, allocations: 43.8 kB / 1.019 GB, free: 240 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.8526, allocations: 6.406 kB / 1.019 GB, free: 236 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.8531, allocations: 144.5 kB / 1.02 GB, free: 68 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.8534, allocations: 0.6963 MB / 1.02 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.047e-05/0.8535, allocations: 16.17 kB / 1.02 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.8535, allocations: 26.17 kB / 1.02 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of SimCode: time 1.633e-06/0.8535, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.8716, allocations: 1.94 MB / 1.022 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.8718, allocations: 151.1 kB / 1.022 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/2.303, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Add.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1)