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.46/1.46, allocations: 249.3 MB / 261.8 MB, free: 5.797 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.001197/0.001197, allocations: 194.2 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.000844/0.000844, allocations: 93.38 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.694e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2186, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7109/0.9295, allocations: 135.2 MB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.9298, allocations: 80.12 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02899/0.9588, allocations: 10.6 MB / 1.034 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9588, allocations: 0 / 1.034 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.428e-05/0.9589, allocations: 4 kB / 1.034 GB, free: 6.465 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.0006693/0.9596, allocations: 0.519 MB / 1.035 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.9596, allocations: 12.03 kB / 1.035 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.137e-05/0.9597, allocations: 38 kB / 1.035 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.9597, allocations: 35.53 kB / 1.035 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/0.9604, allocations: 381.9 kB / 1.035 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.9604, allocations: 4 kB / 1.035 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.9604, allocations: 6.75 kB / 1.035 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.9606, allocations: 106.7 kB / 1.035 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.9606, allocations: 0 / 1.035 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.9607, allocations: 3.984 kB / 1.035 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.9607, allocations: 8 kB / 1.035 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.9608, allocations: 65.55 kB / 1.036 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007137/0.9615, allocations: 0.4919 MB / 1.036 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.9618, allocations: 147.4 kB / 1.036 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.608e-05/0.9618, allocations: 43.73 kB / 1.036 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.9619, allocations: 3.984 kB / 1.036 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.9621, allocations: 113.6 kB / 1.036 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.9621, allocations: 0 / 1.036 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0003536/0.9624, allocations: 178.2 kB / 1.036 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.9625, allocations: 63.41 kB / 1.037 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005243/0.963, allocations: 462.5 kB / 1.037 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.963, allocations: 29.64 kB / 1.037 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.9631, allocations: 160.1 kB / 1.037 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.9632, allocations: 38.67 kB / 1.037 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.9632, allocations: 3.188 kB / 1.037 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.9633, allocations: 347.6 kB / 1.038 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.9635, allocations: 112.8 kB / 1.038 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.9637, allocations: 148 kB / 1.038 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.9639, allocations: 120.8 kB / 1.038 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.9639, allocations: 0 / 1.038 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004767/0.9644, allocations: 352.2 kB / 1.038 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.9644, allocations: 4 kB / 1.038 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.9644, allocations: 7.938 kB / 1.038 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.9644, allocations: 8.016 kB / 1.038 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.9647, allocations: 51.53 kB / 1.038 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.9647, allocations: 7.984 kB / 1.038 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.9649, allocations: 15.09 kB / 1.038 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.9649, allocations: 19.5 kB / 1.038 GB, free: 2.848 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 9.722e-05/0.965, allocations: 119.4 kB / 1.038 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.9651, allocations: 27.62 kB / 1.038 GB, free: 2.703 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/0.9654, allocations: 199.9 kB / 1.039 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.9654, allocations: 0 / 1.039 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9654, allocations: 3.953 kB / 1.039 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9654, allocations: 0 / 1.039 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.9657, allocations: 312.9 kB / 1.039 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.9657, allocations: 4 kB / 1.039 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/0.9658, allocations: 12 kB / 1.039 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.9658, allocations: 0 / 1.039 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.9658, allocations: 10.61 kB / 1.039 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.9658, allocations: 3.984 kB / 1.039 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9659, allocations: 4 kB / 1.039 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.9661, allocations: 216.1 kB / 1.039 GB, free: 2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.9663, allocations: 116.1 kB / 1.039 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.9663, allocations: 3.5 kB / 1.039 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.9664, allocations: 15.92 kB / 1.039 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.9665, allocations: 26.78 kB / 1.039 GB, free: 1.836 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.9665, allocations: 4 kB / 1.039 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003107/0.9668, allocations: 312.8 kB / 1.04 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9668, allocations: 0 / 1.04 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003174/0.9672, allocations: 77.77 kB / 1.04 GB, free: 1.52 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.00124/0.9684, allocations: 1.023 MB / 1.041 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.9687, allocations: 196.5 kB / 1.041 GB, free: 480 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9687, allocations: 0 / 1.041 GB, free: 480 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.9689, allocations: 58.36 kB / 1.041 GB, free: 436 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.9693, allocations: 89.27 kB / 1.041 GB, free: 364 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009224/0.9702, allocations: 0.5181 MB / 1.042 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.9706, allocations: 0.7939 MB / 1.042 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.9708, allocations: 46.95 kB / 1.042 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.9709, allocations: 111.1 kB / 1.043 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of SimCode: time 4.41e-07/0.9709, allocations: 0 / 1.043 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.9955, allocations: 6.801 MB / 1.049 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002815/0.9958, allocations: 199.2 kB / 1.049 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/3.141, allocations: 0 / 1.049 GB, free: 8.066 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)