Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.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.Product,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Product",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.193/2.193, allocations: 248.5 MB / 261.1 MB, free: 6.078 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.001465/0.001465, allocations: 182.8 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.2 MB / 0.571 GB, free: 11.84 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.001046/0.001046, allocations: 85.75 kB / 0.6754 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.478e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1911, allocations: 106.3 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8411/1.032, allocations: 135.1 MB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.033, allocations: 88.69 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04599/1.079, allocations: 10.6 MB / 1.033 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.523e-06/1.079, allocations: 0 / 1.033 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.978e-05/1.079, allocations: 4 kB / 1.033 GB, free: 7.199 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001001/1.08, allocations: 0.5301 MB / 1.034 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.08, allocations: 8.031 kB / 1.034 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/1.08, allocations: 46.44 kB / 1.034 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/1.08, allocations: 35.48 kB / 1.034 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009432/1.081, allocations: 373.5 kB / 1.034 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/1.081, allocations: 7.875 kB / 1.034 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/1.081, allocations: 4 kB / 1.034 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/1.081, allocations: 112.5 kB / 1.034 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/1.081, allocations: 0 / 1.034 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/1.081, allocations: 15.91 kB / 1.034 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/1.082, allocations: 0 / 1.034 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/1.082, allocations: 65.36 kB / 1.034 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/1.083, allocations: 0.4956 MB / 1.035 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/1.084, allocations: 128.4 kB / 1.035 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/1.084, allocations: 45.8 kB / 1.035 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/1.084, allocations: 7.984 kB / 1.035 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004658/1.085, allocations: 115.4 kB / 1.035 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 4.147e-06/1.085, allocations: 0 / 1.035 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0008951/1.086, allocations: 173.6 kB / 1.035 GB, free: 5.172 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/1.086, allocations: 58.97 kB / 1.035 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/1.087, allocations: 456.4 kB / 1.036 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/1.087, allocations: 29.08 kB / 1.036 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/1.088, allocations: 165.1 kB / 1.036 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/1.088, allocations: 38.64 kB / 1.036 GB, free: 4.562 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/1.088, allocations: 7.438 kB / 1.036 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002373/1.088, allocations: 344.6 kB / 1.036 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/1.089, allocations: 114.1 kB / 1.036 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005642/1.089, allocations: 153.4 kB / 1.036 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/1.09, allocations: 117.9 kB / 1.037 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/1.09, allocations: 0 / 1.037 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001373/1.091, allocations: 351.1 kB / 1.037 GB, free: 3.684 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/1.091, allocations: 8 kB / 1.037 GB, free: 3.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.091, allocations: 3.953 kB / 1.037 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/1.091, allocations: 0 / 1.037 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/1.092, allocations: 55.97 kB / 1.037 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.437e-05/1.092, allocations: 7.984 kB / 1.037 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/1.092, allocations: 22.53 kB / 1.037 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.35e-05/1.093, allocations: 11.98 kB / 1.037 GB, free: 3.582 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002033/1.093, allocations: 120.1 kB / 1.037 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/1.093, allocations: 31.62 kB / 1.037 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009306/1.094, allocations: 200.4 kB / 1.037 GB, free: 3.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/1.094, allocations: 7.891 kB / 1.037 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.094, allocations: 0 / 1.037 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.094, allocations: 4 kB / 1.037 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006902/1.095, allocations: 311.3 kB / 1.038 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.095, allocations: 0 / 1.038 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/1.095, allocations: 19.94 kB / 1.038 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/1.095, allocations: 0 / 1.038 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/1.095, allocations: 11.11 kB / 1.038 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/1.095, allocations: 0 / 1.038 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.172e-05/1.095, allocations: 3.953 kB / 1.038 GB, free: 2.918 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/1.096, allocations: 213.5 kB / 1.038 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/1.096, allocations: 119.3 kB / 1.038 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/1.097, allocations: 4 kB / 1.038 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002979/1.097, allocations: 11.92 kB / 1.038 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/1.097, allocations: 23.55 kB / 1.038 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/1.097, allocations: 4 kB / 1.038 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008204/1.098, allocations: 307.4 kB / 1.038 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.51e-07/1.098, allocations: 4 kB / 1.038 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00082/1.099, allocations: 78.33 kB / 1.038 GB, free: 2.254 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: 9 ($whenCondition2,$whenCondition1,product.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002889/1.102, allocations: 1.023 MB / 1.039 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008777/1.103, allocations: 189.8 kB / 1.04 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.103, allocations: 0 / 1.04 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002817/1.103, allocations: 65.42 kB / 1.04 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/1.104, allocations: 78.73 kB / 1.04 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/1.105, allocations: 0.5161 MB / 1.04 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/1.106, allocations: 0.7943 MB / 1.041 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002946/1.106, allocations: 46.95 kB / 1.041 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/1.106, allocations: 109.6 kB / 1.041 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of SimCode: time 1.533e-06/1.106, allocations: 0 / 1.041 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/1.145, allocations: 6.806 MB / 1.048 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003451/1.145, allocations: 194.4 kB / 1.048 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.741, allocations: 0 / 1.048 GB, free: 8.852 MB / 0.6667 GB