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.29/2.29, allocations: 248.7 MB / 256.2 MB, free: 7.047 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.001534/0.001533, allocations: 180.7 kB / 315.4 MB, free: 4.012 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.095/2.095, allocations: 205.3 MB / 0.5662 GB, free: 0.5898 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.001862/0.001862, allocations: 90.47 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.277e-05/3.293e-05, allocations: 12 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1944, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8786/1.073, allocations: 135.3 MB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.073, allocations: 78.02 kB / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04652/1.12, allocations: 10.5 MB / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.298e-06/1.12, allocations: 4 kB / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.927e-05/1.12, allocations: 4 kB / 1.027 GB, free: 10.72 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.0009794/1.121, allocations: 0.5273 MB / 1.027 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.121, allocations: 8.031 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/1.121, allocations: 35.53 kB / 1.027 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009713/1.122, allocations: 379.9 kB / 1.028 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/1.122, allocations: 4 kB / 1.028 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/1.122, allocations: 4 kB / 1.028 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002181/1.122, allocations: 61.59 kB / 1.028 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/1.123, allocations: 103.8 kB / 1.028 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/1.123, allocations: 3.938 kB / 1.028 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/1.123, allocations: 3.938 kB / 1.028 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/1.123, allocations: 0 / 1.028 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/1.124, allocations: 475.7 kB / 1.028 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/1.124, allocations: 126.3 kB / 1.028 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/1.124, allocations: 42.42 kB / 1.028 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/1.124, allocations: 3.984 kB / 1.028 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003059/1.125, allocations: 105.1 kB / 1.028 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 6.031e-06/1.125, allocations: 4 kB / 1.028 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005721/1.125, allocations: 165.2 kB / 1.029 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/1.125, allocations: 59.34 kB / 1.029 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008523/1.126, allocations: 444 kB / 1.029 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/1.126, allocations: 25.7 kB / 1.029 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/1.127, allocations: 162.6 kB / 1.029 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/1.127, allocations: 34.52 kB / 1.029 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/1.127, allocations: 224 / 1.029 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.127, allocations: 351 kB / 1.03 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/1.127, allocations: 112.3 kB / 1.03 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002877/1.127, allocations: 145.1 kB / 1.03 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/1.128, allocations: 112.1 kB / 1.03 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.128, allocations: 0 / 1.03 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008188/1.129, allocations: 337.7 kB / 1.03 GB, free: 7.363 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/1.129, allocations: 10.03 kB / 1.03 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.129, allocations: 4.062 kB / 1.03 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.129, allocations: 0 / 1.03 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/1.129, allocations: 51.91 kB / 1.03 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/1.129, allocations: 7.953 kB / 1.03 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/1.129, allocations: 15.83 kB / 1.03 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.878e-05/1.13, allocations: 15.56 kB / 1.03 GB, free: 7.266 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.00014/1.13, allocations: 112.9 kB / 1.03 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004196/1.13, allocations: 167.8 kB / 1.031 GB, free: 7.008 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/1.13, allocations: 39.56 kB / 1.031 GB, free: 6.969 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005461/1.131, allocations: 189.8 kB / 1.031 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/1.131, allocations: 4 kB / 1.031 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.131, allocations: 0 / 1.031 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.131, allocations: 3.984 kB / 1.031 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/1.131, allocations: 275 kB / 1.031 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.131, allocations: 0 / 1.031 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/1.131, allocations: 19.36 kB / 1.031 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/1.131, allocations: 4 kB / 1.031 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/1.131, allocations: 7.984 kB / 1.031 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.131, allocations: 0 / 1.031 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/1.131, allocations: 7.953 kB / 1.031 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/1.132, allocations: 206.4 kB / 1.031 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/1.132, allocations: 116 kB / 1.031 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/1.132, allocations: 4 kB / 1.031 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/1.132, allocations: 7.984 kB / 1.031 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.826e-05/1.133, allocations: 19.8 kB / 1.032 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/1.133, allocations: 15.44 kB / 1.032 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004951/1.133, allocations: 283.1 kB / 1.032 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.133, allocations: 0 / 1.032 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005025/1.134, allocations: 67.03 kB / 1.032 GB, free: 5.871 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.001798/1.135, allocations: 1 MB / 1.033 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005287/1.136, allocations: 177 kB / 1.033 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.136, allocations: 0 / 1.033 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/1.136, allocations: 64.86 kB / 1.033 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006949/1.137, allocations: 81.72 kB / 1.033 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/1.138, allocations: 0.49 MB / 1.034 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/1.139, allocations: 0.7951 MB / 1.034 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002761/1.139, allocations: 59.23 kB / 1.034 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/1.139, allocations: 105.3 kB / 1.035 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/1.139, allocations: 3.938 kB / 1.035 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04998/1.189, allocations: 6.21 MB / 1.041 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003314/1.19, allocations: 181.3 kB / 1.041 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.544/3.734, allocations: 2.391 kB / 1.041 GB, free: 12.98 MB / 0.6667 GB