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.001309/0.001309, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.73/1.73, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.781/1.781, allocations: 251.7 MB / 0.5092 GB, free: 3.156 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.001848/0.001849, allocations: 67.91 kB / 0.6223 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.644/0.6459, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.004015/0.6499, allocations: 2.008 MB / 0.7265 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.6517, allocations: 0.9868 MB / 0.7274 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.6519, allocations: 7.938 kB / 0.7275 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.6524, allocations: 147.5 kB / 0.7276 GB, free: 9.75 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.6528, allocations: 155.4 kB / 0.7277 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.6532, allocations: 184.8 kB / 0.7279 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.6536, allocations: 291.2 kB / 0.7282 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.6538, allocations: 48.34 kB / 0.7282 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.654, allocations: 131.5 kB / 0.7284 GB, free: 8.961 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.6541, allocations: 135.5 kB / 0.7285 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.6542, allocations: 12 kB / 0.7285 GB, free: 8.816 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.6543, allocations: 43.98 kB / 0.7286 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.6544, allocations: 87.67 kB / 0.7286 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.6545, allocations: 111.2 kB / 0.7287 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.6549, allocations: 340.8 kB / 0.7291 GB, free: 8.246 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.655, allocations: 0 / 0.7291 GB, free: 8.246 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.655, allocations: 0 / 0.7291 GB, free: 8.246 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.655, allocations: 0 / 0.7291 GB, free: 8.246 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.0008512/0.6558, allocations: 0.6107 MB / 0.7297 GB, free: 7.586 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.6559, allocations: 12.03 kB / 0.7297 GB, free: 7.574 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.656, allocations: 28.56 kB / 0.7297 GB, free: 7.547 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.6564, allocations: 354.4 kB / 0.73 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.6564, allocations: 8.375 kB / 0.73 GB, free: 7.152 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.6564, allocations: 12.12 kB / 0.7301 GB, free: 7.141 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.6567, allocations: 115.6 kB / 0.7302 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.6567, allocations: 0 / 0.7302 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.6568, allocations: 8 kB / 0.7302 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.6568, allocations: 4 kB / 0.7302 GB, free: 7.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.6569, allocations: 55.97 kB / 0.7302 GB, free: 6.957 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.6578, allocations: 484.4 kB / 0.7307 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.6581, allocations: 138.8 kB / 0.7308 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.6583, allocations: 44.83 kB / 0.7309 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.6583, allocations: 4 kB / 0.7309 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004021/0.6587, allocations: 119.3 kB / 0.731 GB, free: 6.109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.6587, allocations: 3.938 kB / 0.731 GB, free: 6.105 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0006532/0.6594, allocations: 217.3 kB / 0.7312 GB, free: 5.887 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.6595, allocations: 63.33 kB / 0.7313 GB, free: 5.812 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006226/0.6601, allocations: 497.6 kB / 0.7317 GB, free: 5.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.6601, allocations: 25.7 kB / 0.7318 GB, free: 5.289 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.6603, allocations: 168.3 kB / 0.7319 GB, free: 5.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.6604, allocations: 39.53 kB / 0.732 GB, free: 5.082 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.6605, allocations: 73.91 kB / 0.732 GB, free: 5.004 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.6606, allocations: 346.8 kB / 0.7324 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.6608, allocations: 96.52 kB / 0.7324 GB, free: 4.562 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.6611, allocations: 135.6 kB / 0.7326 GB, free: 4.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.6614, allocations: 179.5 kB / 0.7328 GB, free: 4.238 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6614, allocations: 0 / 0.7328 GB, free: 4.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005477/0.662, allocations: 326.1 kB / 0.7331 GB, free: 3.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.662, allocations: 11.94 kB / 0.7331 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.662, allocations: 0 / 0.7331 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.6621, allocations: 0 / 0.7331 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.6623, allocations: 47.97 kB / 0.7331 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.6623, allocations: 7.938 kB / 0.7331 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.6625, allocations: 19.98 kB / 0.7331 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.6625, allocations: 12 kB / 0.7332 GB, free: 3.816 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.000195/0.6627, allocations: 177.8 kB / 0.7333 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.6628, allocations: 35.53 kB / 0.7334 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/0.6628, allocations: 31.02 kB / 0.7334 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.6629, allocations: 0 / 0.7334 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.6629, allocations: 11.88 kB / 0.7334 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/0.6629, allocations: 3.984 kB / 0.7334 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.6632, allocations: 289.5 kB / 0.7337 GB, free: 3.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.6632, allocations: 7.938 kB / 0.7337 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.618e-05/0.6633, allocations: 19.98 kB / 0.7337 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6633, allocations: 0 / 0.7337 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.6634, allocations: 4 kB / 0.7337 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6634, allocations: 4 kB / 0.7337 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6634, allocations: 3.938 kB / 0.7337 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.6637, allocations: 206.7 kB / 0.7339 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.435e-05/0.6639, allocations: 108.7 kB / 0.734 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.6639, allocations: 11.98 kB / 0.734 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.012e-05/0.664, allocations: 0 / 0.734 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.6641, allocations: 27.86 kB / 0.7341 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.6641, allocations: 7.984 kB / 0.7341 GB, free: 2.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003132/0.6644, allocations: 303.1 kB / 0.7344 GB, free: 2.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6644, allocations: 0 / 0.7344 GB, free: 2.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000296/0.6647, allocations: 51.91 kB / 0.7344 GB, free: 2.449 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.001097/0.6658, allocations: 422.6 kB / 0.7348 GB, free: 2.184 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.6663, allocations: 202.5 kB / 0.735 GB, free: 1.988 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6663, allocations: 0 / 0.735 GB, free: 1.988 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.6665, allocations: 59.91 kB / 0.7351 GB, free: 1.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.667, allocations: 97.55 kB / 0.7352 GB, free: 1.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.6681, allocations: 0.5199 MB / 0.7357 GB, free: 1.293 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.6685, allocations: 0.7869 MB / 0.7364 GB, free: 492 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.6687, allocations: 54.94 kB / 0.7365 GB, free: 436 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.6688, allocations: 35.42 kB / 0.7365 GB, free: 400 kB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.6688, allocations: 3.938 kB / 0.7365 GB, free: 396 kB / 0.545 GB Notification: Performance of Templates: time 0.008154/0.677, allocations: 3.847 MB / 0.7403 GB, free: 12.58 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)