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.083/2.083, allocations: 251 MB / 265.9 MB, free: 11.68 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.001467/0.001466, allocations: 184.3 kB / 325.5 MB, free: 2.879 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.398/2.398, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001077/0.001077, allocations: 101.7 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004844, allocations: 16.69 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2042, allocations: 106.3 MB / 0.8988 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/0.4287, allocations: 131.6 MB / 1.027 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.4291, allocations: 71.94 kB / 1.027 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007101/0.4362, allocations: 1.485 MB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4362, allocations: 0 / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.4363, allocations: 0 / 1.029 GB, free: 12.05 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.0008531/0.4371, allocations: 403 kB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.4372, allocations: 16.03 kB / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.4373, allocations: 34.56 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.4373, allocations: 7.906 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.4375, allocations: 184 kB / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.4375, allocations: 8 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.4376, allocations: 8 kB / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.4381, allocations: 113.6 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4381, allocations: 0 / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.4382, allocations: 0 / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4382, allocations: 4 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007329/0.4389, allocations: 126.1 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007406/0.4397, allocations: 340.6 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.4408, allocations: 130.6 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.4408, allocations: 11.94 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.4409, allocations: 34.55 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.4409, allocations: 3.938 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001225/0.4421, allocations: 217.6 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.4422, allocations: 55.41 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.4423, allocations: 117 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.4424, allocations: 29.7 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.4424, allocations: 95.98 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.4425, allocations: 23.7 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.4425, allocations: 0 / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.4426, allocations: 318.8 kB / 1.031 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.443, allocations: 55.95 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.4434, allocations: 59.89 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.4437, allocations: 55.95 kB / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4438, allocations: 0 / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008454/0.4446, allocations: 161.6 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.4447, allocations: 7.938 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4447, allocations: 0.5469 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.4447, allocations: 3.953 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.4451, allocations: 39.97 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4451, allocations: 0 / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.4453, allocations: 19.89 kB / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.4453, allocations: 0 / 1.031 GB, free: 9.207 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 0.0001327/0.4455, allocations: 122.6 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.4455, allocations: 11.91 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.4456, allocations: 16.31 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4456, allocations: 0 / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4456, allocations: 3.953 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4456, allocations: 0 / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.4459, allocations: 201.6 kB / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4459, allocations: 0 / 1.032 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.4463, allocations: 27.97 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4463, allocations: 4 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.4463, allocations: 4 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4463, allocations: 3.984 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4463, allocations: 0 / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008915/0.4472, allocations: 267.2 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.4473, allocations: 81.09 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.4473, allocations: 4 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.4476, allocations: 19.98 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.4477, allocations: 23.95 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.4478, allocations: 4 kB / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.769e-05/0.4479, allocations: 101.6 kB / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4479, allocations: 0 / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003401/0.4482, allocations: 27.97 kB / 1.032 GB, free: 8.215 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.001219/0.4495, allocations: 0.7944 MB / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007849/0.4503, allocations: 127.8 kB / 1.033 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.4503, allocations: 0 / 1.033 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.4507, allocations: 75.88 kB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.451, allocations: 8 kB / 1.033 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.4532, allocations: 0.6696 MB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.4536, allocations: 0.7004 MB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.4537, allocations: 12.19 kB / 1.035 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.4538, allocations: 27.42 kB / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of SimCode: time 8.72e-07/0.4538, allocations: 0 / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/0.4822, allocations: 2.276 MB / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/0.4826, allocations: 185.1 kB / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.506/2.989, allocations: 3.938 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB