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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001324, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 194.3 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.668/1.668, allocations: 251.6 MB / 0.5088 GB, free: 3.34 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 63.91 kB / 0.6216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6411/0.6431, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.003824/0.647, allocations: 2.057 MB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.6488, allocations: 0.9713 MB / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.6489, allocations: 4 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004173/0.6493, allocations: 143.6 kB / 0.7269 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.6496, allocations: 139.5 kB / 0.7271 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.65, allocations: 159.5 kB / 0.7272 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.6503, allocations: 279.2 kB / 0.7275 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.6505, allocations: 52.38 kB / 0.7275 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.6507, allocations: 119.4 kB / 0.7276 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.6509, allocations: 139.4 kB / 0.7278 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.6509, allocations: 4 kB / 0.7278 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.351e-05/0.651, allocations: 35.98 kB / 0.7278 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.6511, allocations: 75.73 kB / 0.7279 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.6512, allocations: 115.2 kB / 0.728 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.6515, allocations: 332.7 kB / 0.7283 GB, free: 8.555 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6516, allocations: 0 / 0.7283 GB, free: 8.555 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.11e-07/0.6516, allocations: 4 kB / 0.7283 GB, free: 8.551 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.6516, allocations: 0 / 0.7283 GB, free: 8.551 MB / 0.545 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.0009304/0.6525, allocations: 0.5991 MB / 0.7289 GB, free: 7.902 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.6526, allocations: 12.03 kB / 0.7289 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.6526, allocations: 32.5 kB / 0.7289 GB, free: 7.859 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.6531, allocations: 358.3 kB / 0.7293 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.6531, allocations: 8.375 kB / 0.7293 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.6532, allocations: 12.12 kB / 0.7293 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.6534, allocations: 117.5 kB / 0.7294 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.6535, allocations: 0 / 0.7294 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.6535, allocations: 0 / 0.7294 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.6535, allocations: 4 kB / 0.7294 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.6537, allocations: 55.95 kB / 0.7295 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006969/0.6544, allocations: 492.4 kB / 0.7299 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.6547, allocations: 138.7 kB / 0.7301 GB, free: 6.594 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.6548, allocations: 48.83 kB / 0.7301 GB, free: 6.543 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.6549, allocations: 7.938 kB / 0.7301 GB, free: 6.535 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003213/0.6552, allocations: 111.3 kB / 0.7302 GB, free: 6.414 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.714e-06/0.6552, allocations: 0 / 0.7302 GB, free: 6.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005285/0.6558, allocations: 221.2 kB / 0.7304 GB, free: 6.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.6558, allocations: 67.34 kB / 0.7305 GB, free: 6.113 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005247/0.6563, allocations: 489.6 kB / 0.731 GB, free: 5.629 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.6564, allocations: 33.7 kB / 0.731 GB, free: 5.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.6565, allocations: 168.3 kB / 0.7312 GB, free: 5.422 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.6566, allocations: 43.53 kB / 0.7312 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.6567, allocations: 65.95 kB / 0.7313 GB, free: 5.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6568, allocations: 346.8 kB / 0.7316 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.657, allocations: 100.5 kB / 0.7317 GB, free: 4.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.6572, allocations: 127.6 kB / 0.7318 GB, free: 4.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.6576, allocations: 188.5 kB / 0.732 GB, free: 4.539 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6576, allocations: 0 / 0.732 GB, free: 4.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005204/0.6581, allocations: 317.1 kB / 0.7323 GB, free: 4.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6581, allocations: 4 kB / 0.7323 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6582, allocations: 4 kB / 0.7323 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.6582, allocations: 0 / 0.7323 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.6584, allocations: 59.97 kB / 0.7324 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.6584, allocations: 3.938 kB / 0.7324 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.6586, allocations: 15.98 kB / 0.7324 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.6586, allocations: 8 kB / 0.7324 GB, free: 4.129 MB / 0.545 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.6588, allocations: 177.8 kB / 0.7326 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.6589, allocations: 39.52 kB / 0.7326 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.382e-05/0.659, allocations: 39 kB / 0.7326 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.659, allocations: 4 kB / 0.7326 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.659, allocations: 15.81 kB / 0.7327 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.659, allocations: 0 / 0.7327 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.6593, allocations: 293.4 kB / 0.7329 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6593, allocations: 0 / 0.7329 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.6594, allocations: 15.98 kB / 0.7329 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.6594, allocations: 4 kB / 0.733 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.6594, allocations: 4 kB / 0.733 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6594, allocations: 0 / 0.733 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6594, allocations: 7.922 kB / 0.733 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.6598, allocations: 206.5 kB / 0.7332 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.904e-05/0.6599, allocations: 112.7 kB / 0.7333 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.66, allocations: 4 kB / 0.7333 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/0.6601, allocations: 4 kB / 0.7333 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.6602, allocations: 23.91 kB / 0.7333 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.6602, allocations: 4 kB / 0.7333 GB, free: 3.098 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003129/0.6605, allocations: 307.1 kB / 0.7336 GB, free: 2.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6605, allocations: 0 / 0.7336 GB, free: 2.801 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000273/0.6608, allocations: 59.91 kB / 0.7337 GB, free: 2.742 MB / 0.545 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.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009486/0.6618, allocations: 427.2 kB / 0.7341 GB, free: 2.473 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.6622, allocations: 192.7 kB / 0.7342 GB, free: 2.285 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6622, allocations: 0 / 0.7342 GB, free: 2.285 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.6623, allocations: 55.97 kB / 0.7343 GB, free: 2.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004875/0.6628, allocations: 82.5 kB / 0.7344 GB, free: 2.148 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008367/0.6637, allocations: 0.584 MB / 0.7349 GB, free: 1.539 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.664, allocations: 0.783 MB / 0.7357 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001575/0.6642, allocations: 58.94 kB / 0.7358 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.6643, allocations: 31.42 kB / 0.7358 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.6643, allocations: 0 / 0.7358 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of Templates: time 0.007127/0.6714, allocations: 3.671 MB / 0.7394 GB, free: 13.01 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)