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.0008979/0.0008979, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009688/0.0009691, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.607/1.607, allocations: 252 MB / 0.5102 GB, free: 4.828 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.0006317/0.000632, allocations: 16 kB / 0.6243 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7351/0.7358, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002577/0.7384, allocations: 1.668 MB / 0.7298 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.7399, allocations: 0.9135 MB / 0.7307 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.74, allocations: 4 kB / 0.7307 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.7404, allocations: 143.6 kB / 0.7308 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.7407, allocations: 123.5 kB / 0.7309 GB, free: 8.539 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.7411, allocations: 150.6 kB / 0.7311 GB, free: 8.395 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.7415, allocations: 255.1 kB / 0.7313 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.7417, allocations: 48.36 kB / 0.7314 GB, free: 8.098 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.7418, allocations: 111.5 kB / 0.7315 GB, free: 7.988 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.742, allocations: 115.5 kB / 0.7316 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.742, allocations: 8 kB / 0.7316 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.615e-05/0.7421, allocations: 23.98 kB / 0.7316 GB, free: 7.844 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.733e-05/0.7422, allocations: 79.73 kB / 0.7317 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.7423, allocations: 73.52 kB / 0.7317 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.7426, allocations: 265.3 kB / 0.732 GB, free: 7.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7426, allocations: 0 / 0.732 GB, free: 7.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7426, allocations: 0 / 0.732 GB, free: 7.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.7426, allocations: 0 / 0.732 GB, free: 7.43 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.0008209/0.7435, allocations: 0.5602 MB / 0.7325 GB, free: 6.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.7435, allocations: 8.031 kB / 0.7326 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.056e-05/0.7436, allocations: 35.53 kB / 0.7326 GB, free: 6.777 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.744, allocations: 345.4 kB / 0.7329 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.7441, allocations: 0 / 0.7329 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.7441, allocations: 12 kB / 0.7329 GB, free: 6.387 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.7443, allocations: 107.4 kB / 0.733 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.7443, allocations: 0 / 0.733 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.7444, allocations: 8 kB / 0.733 GB, free: 6.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.7444, allocations: 3.953 kB / 0.733 GB, free: 6.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.7445, allocations: 63.89 kB / 0.7331 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.7452, allocations: 480.5 kB / 0.7336 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.7456, allocations: 138.6 kB / 0.7337 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.7457, allocations: 52.83 kB / 0.7337 GB, free: 5.484 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.7457, allocations: 0 / 0.7337 GB, free: 5.484 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.746, allocations: 107.3 kB / 0.7338 GB, free: 5.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.746, allocations: 3.938 kB / 0.7339 GB, free: 5.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004692/0.7465, allocations: 231.6 kB / 0.7341 GB, free: 5.133 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.7465, allocations: 55.41 kB / 0.7341 GB, free: 5.066 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/0.747, allocations: 497.6 kB / 0.7346 GB, free: 4.574 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.7471, allocations: 29.7 kB / 0.7346 GB, free: 4.539 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.7472, allocations: 172.3 kB / 0.7348 GB, free: 4.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.7472, allocations: 31.56 kB / 0.7348 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.7472, allocations: 7.984 kB / 0.7348 GB, free: 4.328 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.7474, allocations: 346.8 kB / 0.7352 GB, free: 3.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.7476, allocations: 92.52 kB / 0.7353 GB, free: 3.891 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.7478, allocations: 139.6 kB / 0.7354 GB, free: 3.746 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.748, allocations: 109.5 kB / 0.7355 GB, free: 3.641 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.748, allocations: 0 / 0.7355 GB, free: 3.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004864/0.7485, allocations: 321.9 kB / 0.7358 GB, free: 3.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.7485, allocations: 11.94 kB / 0.7358 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.7485, allocations: 4.062 kB / 0.7358 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.7486, allocations: 0 / 0.7358 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.7488, allocations: 47.97 kB / 0.7359 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.7488, allocations: 8 kB / 0.7359 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.7489, allocations: 15.84 kB / 0.7359 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.749, allocations: 15.98 kB / 0.7359 GB, free: 3.219 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.y,reaToInt1.y,reaToInt2.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.7492, allocations: 173.8 kB / 0.7361 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.7492, allocations: 35.58 kB / 0.7361 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.343e-05/0.7493, allocations: 35.02 kB / 0.7361 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.7493, allocations: 7.938 kB / 0.7361 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7493, allocations: 3.938 kB / 0.7361 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7493, allocations: 0 / 0.7361 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.7496, allocations: 301.3 kB / 0.7364 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7496, allocations: 4 kB / 0.7364 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.7496, allocations: 8 kB / 0.7364 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.7497, allocations: 3.953 kB / 0.7364 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.7497, allocations: 11.98 kB / 0.7365 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7497, allocations: 0 / 0.7365 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7497, allocations: 4 kB / 0.7365 GB, free: 2.582 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.7501, allocations: 200.7 kB / 0.7366 GB, free: 2.367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.7502, allocations: 112.7 kB / 0.7368 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.7502, allocations: 11.94 kB / 0.7368 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.153e-05/0.7503, allocations: 8 kB / 0.7368 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.7504, allocations: 23.91 kB / 0.7368 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.7504, allocations: 4 kB / 0.7368 GB, free: 2.191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003241/0.7507, allocations: 307.1 kB / 0.7371 GB, free: 1.895 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7507, allocations: 0 / 0.7371 GB, free: 1.895 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002689/0.751, allocations: 51.94 kB / 0.7371 GB, free: 1.844 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 (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.001009/0.752, allocations: 417.2 kB / 0.7375 GB, free: 1.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003972/0.7524, allocations: 183.8 kB / 0.7377 GB, free: 1.406 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.7524, allocations: 128 / 0.7377 GB, free: 1.406 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.7526, allocations: 75.89 kB / 0.7378 GB, free: 1.332 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.753, allocations: 82.5 kB / 0.7379 GB, free: 1.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008152/0.7538, allocations: 0.5631 MB / 0.7384 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.7542, allocations: 0.783 MB / 0.7392 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001551/0.7544, allocations: 58.94 kB / 0.7392 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.698e-05/0.7545, allocations: 35.42 kB / 0.7393 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.7545, allocations: 0 / 0.7393 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.007275/0.7618, allocations: 3.531 MB / 0.7427 GB, free: 12.27 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: