Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 249.5 MB / 257 MB, free: 7.008 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.001068/0.001068, allocations: 184.8 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008273/0.0008271, allocations: 90.47 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.265e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1866, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6245/0.8112, allocations: 135.5 MB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.8114, allocations: 77.2 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02738/0.8388, allocations: 10.49 MB / 1.028 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8388, allocations: 0 / 1.028 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.281e-05/0.8389, allocations: 4 kB / 1.028 GB, free: 9.18 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.0006224/0.8395, allocations: 0.5303 MB / 1.029 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.8395, allocations: 11.97 kB / 1.029 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.8396, allocations: 35.53 kB / 1.029 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.8402, allocations: 369.8 kB / 1.029 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.8402, allocations: 0 / 1.029 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.8402, allocations: 11.12 kB / 1.029 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001197/0.8404, allocations: 58.06 kB / 1.029 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.8405, allocations: 100.3 kB / 1.029 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.8406, allocations: 4 kB / 1.029 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.8406, allocations: 3.938 kB / 1.029 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.8406, allocations: 0 / 1.029 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006514/0.8413, allocations: 470.2 kB / 1.03 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.8414, allocations: 127.1 kB / 1.03 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.423e-05/0.8415, allocations: 47.59 kB / 1.03 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.8415, allocations: 3.984 kB / 1.03 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.8417, allocations: 101.8 kB / 1.03 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.8417, allocations: 4 kB / 1.03 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0002823/0.842, allocations: 172.1 kB / 1.03 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.8421, allocations: 51.41 kB / 1.03 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.8425, allocations: 449.1 kB / 1.03 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.8425, allocations: 29.69 kB / 1.03 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.8426, allocations: 165.6 kB / 1.031 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.8427, allocations: 35.17 kB / 1.031 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.8427, allocations: 4.156 kB / 1.031 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.8428, allocations: 351.7 kB / 1.031 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.843, allocations: 110.7 kB / 1.031 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.8432, allocations: 137.6 kB / 1.031 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.8433, allocations: 117 kB / 1.031 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8433, allocations: 0 / 1.031 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004343/0.8438, allocations: 335.4 kB / 1.032 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.8438, allocations: 8.062 kB / 1.032 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.8438, allocations: 0 / 1.032 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.8438, allocations: 4 kB / 1.032 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.844, allocations: 55.03 kB / 1.032 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.8441, allocations: 0 / 1.032 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.8442, allocations: 19.8 kB / 1.032 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.8443, allocations: 19.36 kB / 1.032 GB, free: 5.723 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 8.31e-05/0.8443, allocations: 112.9 kB / 1.032 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002366/0.8446, allocations: 170.8 kB / 1.032 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.8446, allocations: 31.62 kB / 1.032 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.8449, allocations: 189.6 kB / 1.032 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.8449, allocations: 3.953 kB / 1.032 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.845, allocations: 7.984 kB / 1.032 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.845, allocations: 0 / 1.032 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.8452, allocations: 281.3 kB / 1.033 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8452, allocations: 0 / 1.033 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.073e-05/0.8453, allocations: 15.98 kB / 1.033 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.8453, allocations: 4 kB / 1.033 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.8453, allocations: 4 kB / 1.033 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8453, allocations: 0 / 1.033 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.8453, allocations: 0 / 1.033 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.8456, allocations: 211.7 kB / 1.033 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-05/0.8457, allocations: 120.2 kB / 1.033 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.8457, allocations: 3.984 kB / 1.033 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.8459, allocations: 7.375 kB / 1.033 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.8459, allocations: 23.22 kB / 1.033 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.8459, allocations: 4 kB / 1.033 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002573/0.8462, allocations: 288.2 kB / 1.033 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8462, allocations: 0 / 1.033 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000295/0.8465, allocations: 74.97 kB / 1.033 GB, free: 4.324 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.001118/0.8476, allocations: 0.9895 MB / 1.034 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.8479, allocations: 180 kB / 1.034 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8479, allocations: 0 / 1.034 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.588e-05/0.848, allocations: 65.72 kB / 1.034 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.8484, allocations: 85.3 kB / 1.035 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008037/0.8492, allocations: 0.4911 MB / 1.035 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.8496, allocations: 0.7968 MB / 1.036 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001355/0.8497, allocations: 51.27 kB / 1.036 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.8499, allocations: 106.6 kB / 1.036 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.8499, allocations: 7.875 kB / 1.036 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.8747, allocations: 6.212 MB / 1.042 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.875, allocations: 193.2 kB / 1.042 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.91, allocations: 0 / 1.042 GB, free: 11.43 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)