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.252/2.252, allocations: 248.5 MB / 261.1 MB, free: 6.082 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.001565/0.001564, allocations: 174.6 kB / 320.4 MB, free: 15.33 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.987/1.987, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001125/0.001125, allocations: 102.1 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.984e-05/3.988e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9272/1.133, allocations: 131.5 MB / 1.019 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/1.133, allocations: 67.09 kB / 1.019 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007428/1.141, allocations: 1.492 MB / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/1.141, allocations: 0 / 1.021 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.186e-05/1.141, allocations: 4 kB / 1.021 GB, free: 1.984 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.0008671/1.142, allocations: 389 kB / 1.021 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/1.142, allocations: 12.03 kB / 1.021 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.687e-05/1.142, allocations: 33.38 kB / 1.021 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/1.142, allocations: 7.906 kB / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/1.142, allocations: 186.6 kB / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/1.142, allocations: 0.875 kB / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/1.142, allocations: 4 kB / 1.021 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/1.143, allocations: 78.22 kB / 1.021 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/1.143, allocations: 0 / 1.021 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.87e-05/1.143, allocations: 11.12 kB / 1.021 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/1.143, allocations: 4 kB / 1.021 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/1.143, allocations: 49.73 kB / 1.021 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008269/1.144, allocations: 348.9 kB / 1.022 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/1.145, allocations: 96.16 kB / 1.022 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/1.145, allocations: 28.11 kB / 1.022 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/1.145, allocations: 3.938 kB / 1.022 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/1.145, allocations: 35.44 kB / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.845e-06/1.145, allocations: 0 / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003699/1.145, allocations: 94.5 kB / 1.022 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/1.145, allocations: 59.41 kB / 1.022 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/1.145, allocations: 113.2 kB / 1.022 GB, free: 420 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/1.145, allocations: 29.2 kB / 1.022 GB, free: 388 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/1.146, allocations: 95.78 kB / 1.022 GB, free: 292 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/1.146, allocations: 23.47 kB / 1.022 GB, free: 272 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/1.146, allocations: 0 / 1.022 GB, free: 272 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.146, allocations: 318 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/1.146, allocations: 22.69 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-05/1.146, allocations: 19.64 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/1.146, allocations: 31.12 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.146, allocations: 3.938 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002766/1.146, allocations: 86.94 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.146, allocations: 4 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.146, allocations: 0 / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.147, allocations: 7.953 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/1.147, allocations: 35.89 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.147, allocations: 0 / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/1.147, allocations: 23.89 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/1.147, allocations: 0 / 1.023 GB, free: 15.75 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 9.662e-05/1.147, allocations: 108.9 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/1.147, allocations: 9.719 kB / 1.023 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/1.147, allocations: 17.42 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.147, allocations: 7.938 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.147, allocations: 8 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/1.147, allocations: 0 / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/1.148, allocations: 199.8 kB / 1.023 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.148, allocations: 4 kB / 1.023 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/1.148, allocations: 27.97 kB / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/1.148, allocations: 0 / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/1.148, allocations: 0 / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/1.148, allocations: 0 / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.148, allocations: 3.953 kB / 1.023 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/1.149, allocations: 189.6 kB / 1.023 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/1.149, allocations: 85.02 kB / 1.023 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/1.149, allocations: 4 kB / 1.023 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/1.149, allocations: 19.97 kB / 1.023 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.149, allocations: 26.91 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/1.149, allocations: 7.953 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.961e-05/1.149, allocations: 110.3 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.5e-07/1.149, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003376/1.15, allocations: 12 kB / 1.024 GB, free: 14.9 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.0007509/1.15, allocations: 0.7295 MB / 1.024 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002595/1.151, allocations: 61.23 kB / 1.024 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.151, allocations: 0 / 1.024 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/1.151, allocations: 39.36 kB / 1.024 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/1.151, allocations: 6.688 kB / 1.024 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006474/1.152, allocations: 154.1 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/1.152, allocations: 0.7004 MB / 1.025 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001255/1.152, allocations: 4.188 kB / 1.025 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/1.152, allocations: 33.86 kB / 1.025 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/1.152, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/1.178, allocations: 2.291 MB / 1.028 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003161/1.179, allocations: 155.8 kB / 1.028 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/3.659, allocations: 1 kB / 1.028 GB, free: 10.76 MB / 0.6511 GB