Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 2.981/2.981, allocations: 285.6 MB / 293.1 MB, free: 10.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002229/0.002229, allocations: 176.9 kB / 361.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.144/3.144, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 94.66 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.422e-05, allocations: 4 kB / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316/1.316, allocations: 115.3 MB / 0.9645 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3286/1.644, allocations: 140.9 MB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000567/1.645, allocations: 71.95 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05783/1.703, allocations: 10.75 MB / 1.113 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.437e-06/1.703, allocations: 0 / 1.113 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.07e-05/1.703, allocations: 8 kB / 1.113 GB, free: 4.129 MB / 0.7136 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.001443/1.705, allocations: 0.5367 MB / 1.113 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.908e-05/1.705, allocations: 8.031 kB / 1.113 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/1.705, allocations: 36.59 kB / 1.113 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/1.706, allocations: 399.6 kB / 1.114 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/1.706, allocations: 4 kB / 1.114 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/1.706, allocations: 4 kB / 1.114 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002425/1.707, allocations: 70.25 kB / 1.114 GB, free: 3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/1.707, allocations: 94.64 kB / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/1.707, allocations: 0 / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/1.707, allocations: 0 / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/1.707, allocations: 0 / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/1.708, allocations: 497 kB / 1.114 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/1.709, allocations: 122.7 kB / 1.114 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/1.709, allocations: 45 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/1.709, allocations: 0 / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003442/1.709, allocations: 109.1 kB / 1.114 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 3.837e-06/1.709, allocations: 3.938 kB / 1.114 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0007066/1.71, allocations: 171.1 kB / 1.115 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/1.71, allocations: 55.36 kB / 1.115 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.711, allocations: 462.2 kB / 1.115 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/1.711, allocations: 25.7 kB / 1.115 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/1.711, allocations: 164.4 kB / 1.115 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/1.712, allocations: 39.55 kB / 1.115 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/1.712, allocations: 4 kB / 1.115 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002237/1.712, allocations: 346.8 kB / 1.116 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/1.712, allocations: 108.5 kB / 1.116 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/1.713, allocations: 139.4 kB / 1.116 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007214/1.713, allocations: 144.9 kB / 1.116 GB, free: 416 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.713, allocations: 2.625 kB / 1.116 GB, free: 416 kB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001209/1.715, allocations: 353.1 kB / 1.116 GB, free: 56 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/1.715, allocations: 4 kB / 1.116 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.715, allocations: 0 / 1.116 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/1.715, allocations: 7.984 kB / 1.116 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/1.715, allocations: 51.95 kB / 1.116 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.715, allocations: 0 / 1.116 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/1.716, allocations: 27.67 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.907e-05/1.716, allocations: 13.5 kB / 1.117 GB, free: 15.95 MB / 0.7292 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.0001928/1.716, allocations: 120.7 kB / 1.117 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004688/1.716, allocations: 173.2 kB / 1.117 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/1.716, allocations: 35.53 kB / 1.117 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006158/1.717, allocations: 188.1 kB / 1.117 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.717, allocations: 4 kB / 1.117 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.717, allocations: 3.953 kB / 1.117 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.717, allocations: 3.984 kB / 1.117 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/1.718, allocations: 278 kB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.718, allocations: 7.25 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/1.718, allocations: 12 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/1.718, allocations: 3.984 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/1.718, allocations: 0 / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/1.718, allocations: 4 kB / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.718, allocations: 3.938 kB / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/1.719, allocations: 211.3 kB / 1.118 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/1.719, allocations: 120.7 kB / 1.118 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/1.719, allocations: 0 / 1.118 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/1.719, allocations: 7.984 kB / 1.118 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/1.719, allocations: 19.97 kB / 1.118 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/1.719, allocations: 9.219 kB / 1.118 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006764/1.72, allocations: 304.5 kB / 1.118 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.7e-07/1.72, allocations: 0 / 1.118 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006789/1.721, allocations: 63.88 kB / 1.118 GB, free: 14.33 MB / 0.7292 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.002692/1.724, allocations: 1.013 MB / 1.119 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005952/1.724, allocations: 175.9 kB / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.724, allocations: 8.125 kB / 1.119 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/1.724, allocations: 59.92 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008952/1.725, allocations: 73.52 kB / 1.119 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/1.728, allocations: 0.5119 MB / 1.12 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/1.728, allocations: 0.7992 MB / 1.121 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003031/1.729, allocations: 54.69 kB / 1.121 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/1.729, allocations: 107.4 kB / 1.121 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/1.729, allocations: 4 kB / 1.121 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/1.85, allocations: 6.488 MB / 1.127 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003533/1.851, allocations: 189.2 kB / 1.127 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.059/5.91, allocations: 0 / 1.127 GB, free: 5.043 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)