Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.249/2.249, allocations: 248.7 MB / 256.2 MB, free: 7.027 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.001455/0.001454, allocations: 182.4 kB / 315.4 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 86.48 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.374e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2043, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8724/1.077, allocations: 131.8 MB / 1.013 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.077, allocations: 72.14 kB / 1.013 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00702/1.084, allocations: 1.485 MB / 1.014 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/1.084, allocations: 4 kB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.084, allocations: 0 / 1.014 GB, free: 5.906 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.0007754/1.085, allocations: 384.3 kB / 1.015 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.085, allocations: 8.031 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/1.085, allocations: 7.906 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/1.085, allocations: 183 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/1.085, allocations: 4 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/1.085, allocations: 3.938 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001929/1.086, allocations: 44.75 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/1.086, allocations: 69.53 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/1.086, allocations: 3.984 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/1.086, allocations: 7.922 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/1.086, allocations: 4 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/1.087, allocations: 323 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/1.087, allocations: 87.55 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.472e-05/1.087, allocations: 29.72 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/1.088, allocations: 4 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.088, allocations: 34.56 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/1.088, allocations: 0 / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003333/1.088, allocations: 91.36 kB / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/1.088, allocations: 55.39 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/1.088, allocations: 108.4 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/1.088, allocations: 25.7 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/1.088, allocations: 99.34 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/1.088, allocations: 18.91 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/1.088, allocations: 4 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.088, allocations: 322.2 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/1.088, allocations: 19.34 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.355e-05/1.089, allocations: 22.78 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.84e-05/1.089, allocations: 21.38 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.089, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000237/1.089, allocations: 80.8 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.089, allocations: 7.938 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.089, allocations: 0.7812 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.089, allocations: 8.75 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/1.089, allocations: 31.91 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/1.089, allocations: 3.953 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/1.09, allocations: 19.89 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/1.09, allocations: 7.984 kB / 1.016 GB, free: 3.777 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 0.0001037/1.09, allocations: 107.6 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002681/1.09, allocations: 81.72 kB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/1.09, allocations: 7.984 kB / 1.017 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/1.09, allocations: 15.38 kB / 1.017 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/1.09, allocations: 3.953 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.09, allocations: 4 kB / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.09, allocations: 0 / 1.017 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/1.09, allocations: 179.8 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.09, allocations: 0 / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/1.091, allocations: 35.91 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/1.091, allocations: 0 / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/1.091, allocations: 4 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.091, allocations: 0 / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.091, allocations: 0 / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/1.091, allocations: 186.1 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/1.091, allocations: 81.11 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/1.091, allocations: 4 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/1.092, allocations: 19.97 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.092, allocations: 13.17 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/1.092, allocations: 11.23 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.525e-05/1.092, allocations: 106.4 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/1.092, allocations: 0 / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003236/1.092, allocations: 15.91 kB / 1.017 GB, free: 2.906 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.0006547/1.093, allocations: 0.7265 MB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002294/1.093, allocations: 54.05 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.093, allocations: 0 / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/1.093, allocations: 34.81 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/1.093, allocations: 14.39 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006733/1.094, allocations: 152.6 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/1.094, allocations: 0.6963 MB / 1.019 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001289/1.095, allocations: 12.19 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/1.095, allocations: 26.36 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/1.095, allocations: 0 / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03813/1.133, allocations: 1.94 MB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003119/1.133, allocations: 151.2 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/3.485, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.6511 GB