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 1.703/1.703, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001448/0.001448, allocations: 186.6 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 0.6305 GB, free: 10.05 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009447/0.0009444, allocations: 101.1 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.0004587, allocations: 15.84 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2407, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7152/0.956, allocations: 141.6 MB / 1.118 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.9563, allocations: 78 kB / 1.118 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02792/0.9842, allocations: 10.86 MB / 1.128 GB, free: 30.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9843, allocations: 0 / 1.128 GB, free: 30.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.684e-05/0.9844, allocations: 15.81 kB / 1.129 GB, free: 30.77 MB / 0.698 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.001134/0.9855, allocations: 0.61 MB / 1.129 GB, free: 30.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.9856, allocations: 11.67 kB / 1.129 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.874e-05/0.9856, allocations: 42.14 kB / 1.129 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.9857, allocations: 34.97 kB / 1.129 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000744/0.9865, allocations: 406.2 kB / 1.13 GB, free: 29.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.9865, allocations: 3.875 kB / 1.13 GB, free: 29.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.9866, allocations: 11 kB / 1.13 GB, free: 29.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.9868, allocations: 107.4 kB / 1.13 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.9868, allocations: 0 / 1.13 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.9868, allocations: 7.609 kB / 1.13 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.9869, allocations: 3.844 kB / 1.13 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.987, allocations: 65.95 kB / 1.13 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/0.9879, allocations: 0.5245 MB / 1.13 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.9882, allocations: 143.6 kB / 1.13 GB, free: 29.38 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.9882, allocations: 0 / 1.13 GB, free: 29.38 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.9884, allocations: 114 kB / 1.131 GB, free: 29.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.9884, allocations: 0 / 1.131 GB, free: 29.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0005152/0.9889, allocations: 235.4 kB / 1.131 GB, free: 29.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.989, allocations: 51.41 kB / 1.131 GB, free: 29.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.9895, allocations: 487.1 kB / 1.131 GB, free: 28.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.9895, allocations: 25.7 kB / 1.131 GB, free: 28.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.9896, allocations: 169.8 kB / 1.131 GB, free: 28.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.9897, allocations: 30.67 kB / 1.131 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.9897, allocations: 7.312 kB / 1.131 GB, free: 28.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.9899, allocations: 345.9 kB / 1.132 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.9901, allocations: 123.7 kB / 1.132 GB, free: 28.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.9903, allocations: 160.5 kB / 1.132 GB, free: 28.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.9905, allocations: 136.1 kB / 1.132 GB, free: 28.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.9905, allocations: 0 / 1.132 GB, free: 28.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005306/0.9911, allocations: 367.9 kB / 1.133 GB, free: 28.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.9911, allocations: 7.688 kB / 1.133 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.9911, allocations: 0 / 1.133 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.9911, allocations: 3.969 kB / 1.133 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.9914, allocations: 54.38 kB / 1.133 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.9914, allocations: 7.891 kB / 1.133 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.9915, allocations: 23.27 kB / 1.133 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.9916, allocations: 19.06 kB / 1.133 GB, free: 28.29 MB / 0.698 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 () * Number of clocked 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.0001821/0.9918, allocations: 173 kB / 1.133 GB, free: 28.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.9918, allocations: 43.02 kB / 1.133 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.9922, allocations: 211.2 kB / 1.133 GB, free: 28.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9922, allocations: 3.844 kB / 1.133 GB, free: 28.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.9922, allocations: 0 / 1.133 GB, free: 28.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.9923, allocations: 3.953 kB / 1.133 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.9925, allocations: 304.6 kB / 1.133 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.9925, allocations: 0 / 1.133 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.9926, allocations: 14.91 kB / 1.133 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.9926, allocations: 3.875 kB / 1.133 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.9926, allocations: 3.984 kB / 1.133 GB, free: 27.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.9926, allocations: 3.938 kB / 1.133 GB, free: 27.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.9926, allocations: 7.844 kB / 1.133 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.993, allocations: 222 kB / 1.134 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.9931, allocations: 119.2 kB / 1.134 GB, free: 27.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.9932, allocations: 3.875 kB / 1.134 GB, free: 27.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.9933, allocations: 11.17 kB / 1.134 GB, free: 27.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.9933, allocations: 15.23 kB / 1.134 GB, free: 27.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.9934, allocations: 11.77 kB / 1.134 GB, free: 27.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003063/0.9937, allocations: 322 kB / 1.134 GB, free: 27.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9937, allocations: 0 / 1.134 GB, free: 27.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003294/0.994, allocations: 82.17 kB / 1.134 GB, free: 27.43 MB / 0.698 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) * Number of clocked states: 0 () * 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.001518/0.9955, allocations: 1.089 MB / 1.135 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003705/0.9959, allocations: 199 kB / 1.135 GB, free: 26.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9959, allocations: 3.375 kB / 1.135 GB, free: 26.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.9961, allocations: 70.98 kB / 1.135 GB, free: 26.63 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.9965, allocations: 77.73 kB / 1.136 GB, free: 26.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.9978, allocations: 1.213 MB / 1.137 GB, free: 25.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.9982, allocations: 0.8046 MB / 1.138 GB, free: 24.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.9984, allocations: 49.84 kB / 1.138 GB, free: 24.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.9986, allocations: 112.6 kB / 1.138 GB, free: 24.89 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/0.9986, allocations: 0 / 1.138 GB, free: 24.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/1.018, allocations: 7.018 MB / 1.145 GB, free: 21.55 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/1.019, allocations: 239.8 kB / 1.145 GB, free: 21.31 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/3.128, allocations: 0 / 1.145 GB, free: 21.31 MB / 0.698 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)