Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 289.9 MB / 297.4 MB, free: 6.41 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.001107/0.001107, allocations: 165 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008768/0.0008767, allocations: 99.12 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.318e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8152, allocations: 116.3 MB / 0.9734 GB, free: 76.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2252/1.04, allocations: 141.9 MB / 1.112 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/1.041, allocations: 80.89 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02847/1.069, allocations: 10.75 MB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.463e-06/1.069, allocations: 0 / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.621e-05/1.069, allocations: 8 kB / 1.122 GB, free: 13.45 MB / 0.7292 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.0007285/1.07, allocations: 0.5211 MB / 1.123 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.07, allocations: 12.03 kB / 1.123 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/1.07, allocations: 39.55 kB / 1.123 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006919/1.071, allocations: 399.6 kB / 1.123 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/1.071, allocations: 8 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/1.071, allocations: 4 kB / 1.123 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001384/1.071, allocations: 55.97 kB / 1.123 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/1.071, allocations: 98.64 kB / 1.124 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.071, allocations: 0 / 1.124 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/1.071, allocations: 0 / 1.124 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.071, allocations: 7.938 kB / 1.124 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007926/1.072, allocations: 489 kB / 1.124 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/1.072, allocations: 124.7 kB / 1.124 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.572e-05/1.073, allocations: 57 kB / 1.124 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/1.073, allocations: 0 / 1.124 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/1.073, allocations: 105.1 kB / 1.124 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/1.073, allocations: 0 / 1.124 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0003302/1.073, allocations: 169.3 kB / 1.124 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/1.073, allocations: 64.52 kB / 1.125 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/1.074, allocations: 458.2 kB / 1.125 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/1.074, allocations: 29.7 kB / 1.125 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/1.074, allocations: 168.4 kB / 1.125 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/1.074, allocations: 31.55 kB / 1.125 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/1.074, allocations: 0 / 1.125 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.074, allocations: 350.8 kB / 1.126 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/1.074, allocations: 112.5 kB / 1.126 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/1.074, allocations: 135.4 kB / 1.126 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/1.075, allocations: 143.9 kB / 1.126 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.075, allocations: 0 / 1.126 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005743/1.075, allocations: 346.1 kB / 1.126 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.075, allocations: 4 kB / 1.126 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.075, allocations: 5.875 kB / 1.126 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.075, allocations: 0 / 1.126 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/1.076, allocations: 55.91 kB / 1.126 GB, free: 9.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/1.076, allocations: 11.27 kB / 1.126 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/1.076, allocations: 23.72 kB / 1.126 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/1.076, allocations: 16 kB / 1.126 GB, free: 9.273 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.0001377/1.076, allocations: 116.9 kB / 1.126 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002432/1.076, allocations: 161.3 kB / 1.127 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/1.076, allocations: 35.53 kB / 1.127 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/1.077, allocations: 200.2 kB / 1.127 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.077, allocations: 0 / 1.127 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.077, allocations: 3.953 kB / 1.127 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.077, allocations: 3.984 kB / 1.127 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/1.077, allocations: 278 kB / 1.127 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.077, allocations: 3.984 kB / 1.127 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/1.077, allocations: 15.98 kB / 1.127 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.077, allocations: 0 / 1.127 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/1.077, allocations: 4 kB / 1.127 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/1.077, allocations: 0 / 1.127 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.077, allocations: 0 / 1.127 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/1.077, allocations: 223.3 kB / 1.127 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/1.078, allocations: 112.7 kB / 1.127 GB, free: 8.055 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/1.078, allocations: 4 kB / 1.127 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/1.078, allocations: 7.984 kB / 1.127 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/1.078, allocations: 19.97 kB / 1.127 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/1.078, allocations: 4 kB / 1.128 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003093/1.078, allocations: 300.5 kB / 1.128 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/1.078, allocations: 4 kB / 1.128 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003147/1.078, allocations: 71.88 kB / 1.128 GB, free: 7.656 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.001418/1.08, allocations: 1.009 MB / 1.129 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003176/1.08, allocations: 180.1 kB / 1.129 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.08, allocations: 0 / 1.129 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-05/1.08, allocations: 59.92 kB / 1.129 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/1.081, allocations: 74.38 kB / 1.129 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009326/1.082, allocations: 0.5168 MB / 1.13 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/1.082, allocations: 0.7993 MB / 1.13 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001541/1.082, allocations: 59.83 kB / 1.13 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/1.082, allocations: 107.4 kB / 1.131 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/1.082, allocations: 0 / 1.131 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/1.111, allocations: 6.486 MB / 1.137 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/1.111, allocations: 165.1 kB / 1.137 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/3.184, allocations: 0 / 1.137 GB, free: 14.38 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)