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.702/1.702, allocations: 249.3 MB / 261.8 MB, free: 5.844 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.001135/0.001136, allocations: 174.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008219/0.000822, allocations: 78.5 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.698e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1979, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7138/0.9117, allocations: 131.7 MB / 1.021 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.912, allocations: 72.89 kB / 1.021 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004603/0.9166, allocations: 1.487 MB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9166, allocations: 4 kB / 1.022 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.9166, allocations: 0 / 1.022 GB, free: 1.652 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.0005131/0.9171, allocations: 392.3 kB / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.9172, allocations: 8.031 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.9172, allocations: 41.94 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.9173, allocations: 11.84 kB / 1.022 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.9174, allocations: 178.2 kB / 1.023 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.9174, allocations: 4 kB / 1.023 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.9175, allocations: 7.375 kB / 1.023 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.9176, allocations: 75.41 kB / 1.023 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.9177, allocations: 3.938 kB / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.9177, allocations: 3.25 kB / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.9177, allocations: 4 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.9178, allocations: 53.61 kB / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.9183, allocations: 342.8 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.9188, allocations: 99.78 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.9189, allocations: 34.36 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.9189, allocations: 4 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.9189, allocations: 30.56 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.919, allocations: 0 / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002279/0.9192, allocations: 95.73 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.9192, allocations: 51.41 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.9193, allocations: 117.2 kB / 1.024 GB, free: 80 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.9193, allocations: 29.64 kB / 1.024 GB, free: 44 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.9194, allocations: 98.67 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.9195, allocations: 26.91 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.9195, allocations: 0 / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.9196, allocations: 318.1 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.226e-05/0.9197, allocations: 25.61 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.455e-05/0.9197, allocations: 21.31 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.758e-05/0.9198, allocations: 26.7 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9198, allocations: 0 / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001635/0.9199, allocations: 86.72 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.92, allocations: 8 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.92, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.92, allocations: 3.938 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.9202, allocations: 39.86 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.9202, allocations: 3.984 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.9204, allocations: 15.98 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.9204, allocations: 7.375 kB / 1.024 GB, free: 15.41 MB / 0.6511 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 6.711e-05/0.9205, allocations: 105 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.9205, allocations: 7.906 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.9205, allocations: 15.61 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.9205, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9206, allocations: 3.953 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9206, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.9208, allocations: 202.8 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9208, allocations: 0 / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.921, allocations: 35.97 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.921, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.921, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.921, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.921, allocations: 7.922 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.9212, allocations: 189.3 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.9213, allocations: 89.02 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.9213, allocations: 0 / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.9215, allocations: 23.97 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.9215, allocations: 23.16 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.9216, allocations: 0 / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.145e-05/0.9216, allocations: 98.09 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9216, allocations: 0 / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002297/0.9219, allocations: 31.88 kB / 1.025 GB, free: 14.57 MB / 0.6511 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.0004876/0.9224, allocations: 0.73 MB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.9225, allocations: 56.66 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9225, allocations: 0 / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.9226, allocations: 48.05 kB / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.9228, allocations: 13.28 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.9233, allocations: 147.5 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.9236, allocations: 0.6965 MB / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.723e-05/0.9236, allocations: 8.188 kB / 1.027 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.9237, allocations: 30.23 kB / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of SimCode: time 2.91e-07/0.9237, allocations: 0 / 1.027 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.9357, allocations: 2.298 MB / 1.029 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/0.9359, allocations: 163 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.543, allocations: 0 / 1.029 GB, free: 10.41 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)