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.445/1.445, allocations: 251.9 MB / 266.8 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 175.2 kB / 326.5 MB, free: 2.234 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.964/1.964, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008951/0.0008951, allocations: 93.44 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003607, allocations: 11.94 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2109, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.3727, allocations: 131.8 MB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.373, allocations: 71.95 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004478/0.3775, allocations: 1.485 MB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.839e-06/0.3775, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3775, allocations: 3.938 kB / 1.03 GB, free: 10.32 MB / 0.6823 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.0005578/0.3781, allocations: 403 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3782, allocations: 8.031 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.3782, allocations: 34.56 kB / 1.031 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.3782, allocations: 7.906 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.3784, allocations: 183 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3784, allocations: 8 kB / 1.031 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3784, allocations: 4 kB / 1.031 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.3787, allocations: 109.6 kB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3787, allocations: 4 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3788, allocations: 7.938 kB / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3788, allocations: 0 / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.3792, allocations: 119.9 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.3797, allocations: 344.7 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.3803, allocations: 134.5 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3803, allocations: 0 / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.3804, allocations: 42.55 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.3804, allocations: 0 / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006711/0.381, allocations: 229.5 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.3811, allocations: 55.34 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.3812, allocations: 118.7 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3812, allocations: 25.7 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.3813, allocations: 99.98 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.3813, allocations: 15.7 kB / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-06/0.3813, allocations: 8 kB / 1.032 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.3814, allocations: 314.8 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.3816, allocations: 55.95 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.3818, allocations: 60.27 kB / 1.033 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.382, allocations: 60.09 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.382, allocations: 4 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000414/0.3824, allocations: 153.6 kB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3824, allocations: 10.12 kB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3824, allocations: 4 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3825, allocations: 0 / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.3826, allocations: 31.91 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3827, allocations: 3.953 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.3828, allocations: 27.89 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3828, allocations: 4 kB / 1.033 GB, free: 7.465 MB / 0.6823 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 () * 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 8.602e-05/0.3829, allocations: 119.7 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.3829, allocations: 3.906 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.383, allocations: 12.38 kB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.383, allocations: 0 / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.383, allocations: 3.938 kB / 1.033 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.383, allocations: 3.953 kB / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.3832, allocations: 205.6 kB / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3832, allocations: 0 / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.3834, allocations: 31.97 kB / 1.033 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3834, allocations: 4 kB / 1.033 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3834, allocations: 0 / 1.033 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.3834, allocations: 3.984 kB / 1.033 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3835, allocations: 7.922 kB / 1.033 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.3839, allocations: 255.3 kB / 1.034 GB, free: 6.758 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.384, allocations: 96.94 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.384, allocations: 0 / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.3842, allocations: 15.98 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.3842, allocations: 23.97 kB / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.3843, allocations: 0 / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.3843, allocations: 95.27 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3843, allocations: 4 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002275/0.3846, allocations: 20.12 kB / 1.034 GB, free: 6.488 MB / 0.6823 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 () * 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.0007728/0.3853, allocations: 0.802 MB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.3858, allocations: 119.9 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3858, allocations: 8 kB / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.386, allocations: 75.88 kB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.3862, allocations: 8 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.3875, allocations: 0.6763 MB / 1.035 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.3878, allocations: 0.7004 MB / 1.036 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.109e-05/0.3879, allocations: 12.19 kB / 1.036 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.388, allocations: 27.36 kB / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/0.388, allocations: 0 / 1.036 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.4037, allocations: 2.282 MB / 1.038 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/0.404, allocations: 187.9 kB / 1.039 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/1.947, allocations: 0 / 1.039 GB, free: 1.574 MB / 0.6823 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)