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.001126/0.001126, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000948/0.000948, allocations: 177.3 kB / 15.95 MB, free: 216 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.667/1.667, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.629/1.629, allocations: 251.9 MB / 0.51 GB, free: 4.883 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.0009053/0.0009055, allocations: 16 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7/0.7009, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002575/0.7036, allocations: 1.652 MB / 0.7296 GB, free: 9.766 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.7053, allocations: 0.8979 MB / 0.7305 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.7054, allocations: 7.938 kB / 0.7305 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004974/0.7059, allocations: 135.6 kB / 0.7306 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.7062, allocations: 127.7 kB / 0.7307 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.7067, allocations: 143.6 kB / 0.7309 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.707, allocations: 187.5 kB / 0.731 GB, free: 8.273 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.7072, allocations: 44.36 kB / 0.7311 GB, free: 8.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.7074, allocations: 127.5 kB / 0.7312 GB, free: 8.105 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.7076, allocations: 103.6 kB / 0.7313 GB, free: 8.004 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.7076, allocations: 4 kB / 0.7313 GB, free: 8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.916e-05/0.7077, allocations: 16 kB / 0.7313 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.7078, allocations: 87.66 kB / 0.7314 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.7079, allocations: 61.58 kB / 0.7315 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.7082, allocations: 265.3 kB / 0.7317 GB, free: 7.574 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.7082, allocations: 7.938 kB / 0.7317 GB, free: 7.566 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.797e-06/0.7082, allocations: 0 / 0.7317 GB, free: 7.566 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.7082, allocations: 3.938 kB / 0.7317 GB, free: 7.562 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.0009546/0.7092, allocations: 0.5564 MB / 0.7323 GB, free: 6.957 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.7093, allocations: 8.031 kB / 0.7323 GB, free: 6.949 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.34e-05/0.7093, allocations: 35.53 kB / 0.7323 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.7098, allocations: 341.3 kB / 0.7326 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.7099, allocations: 12 kB / 0.7327 GB, free: 6.527 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.7099, allocations: 12 kB / 0.7327 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.7101, allocations: 107.9 kB / 0.7328 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.7102, allocations: 0 / 0.7328 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.7102, allocations: 8 kB / 0.7328 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.7102, allocations: 3.953 kB / 0.7328 GB, free: 6.395 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.7104, allocations: 59.95 kB / 0.7328 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007459/0.7111, allocations: 488.4 kB / 0.7333 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.7114, allocations: 138.6 kB / 0.7334 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.7115, allocations: 4 kB / 0.7334 GB, free: 5.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.7118, allocations: 107.3 kB / 0.7335 GB, free: 5.543 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.7118, allocations: 0 / 0.7335 GB, free: 5.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004983/0.7123, allocations: 218.9 kB / 0.7338 GB, free: 5.324 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.7123, allocations: 63.34 kB / 0.7338 GB, free: 5.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006774/0.713, allocations: 493.6 kB / 0.7343 GB, free: 4.762 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.7131, allocations: 29.7 kB / 0.7343 GB, free: 4.727 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.7132, allocations: 168.3 kB / 0.7345 GB, free: 4.559 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.7132, allocations: 43.53 kB / 0.7345 GB, free: 4.516 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.7133, allocations: 4 kB / 0.7345 GB, free: 4.512 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.7134, allocations: 346.8 kB / 0.7349 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.7136, allocations: 96.52 kB / 0.7349 GB, free: 4.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.7138, allocations: 127.6 kB / 0.7351 GB, free: 3.938 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.714, allocations: 113.5 kB / 0.7352 GB, free: 3.828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7141, allocations: 4 kB / 0.7352 GB, free: 3.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004929/0.7146, allocations: 313.9 kB / 0.7355 GB, free: 3.512 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.7146, allocations: 8.219 kB / 0.7355 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7146, allocations: 0 / 0.7355 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7146, allocations: 3.938 kB / 0.7355 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.7148, allocations: 55.91 kB / 0.7355 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.7149, allocations: 7.938 kB / 0.7355 GB, free: 3.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.715, allocations: 19.95 kB / 0.7356 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.715, allocations: 8 kB / 0.7356 GB, free: 3.41 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.0001794/0.7152, allocations: 181.7 kB / 0.7357 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.7153, allocations: 39.56 kB / 0.7358 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.7153, allocations: 31.02 kB / 0.7358 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.7153, allocations: 4 kB / 0.7358 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.7154, allocations: 0 / 0.7358 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7154, allocations: 0 / 0.7358 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.7156, allocations: 293.5 kB / 0.7361 GB, free: 2.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.7156, allocations: 4 kB / 0.7361 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.901e-05/0.7157, allocations: 15.98 kB / 0.7361 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.7157, allocations: 7.891 kB / 0.7361 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.7157, allocations: 4 kB / 0.7361 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7158, allocations: 0 / 0.7361 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7158, allocations: 0 / 0.7361 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.7161, allocations: 212.6 kB / 0.7363 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.7162, allocations: 116.7 kB / 0.7364 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.7163, allocations: 11.95 kB / 0.7365 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.15e-05/0.7164, allocations: 7.984 kB / 0.7365 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.7164, allocations: 15.98 kB / 0.7365 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.7165, allocations: 7.984 kB / 0.7365 GB, free: 2.379 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003103/0.7168, allocations: 299.1 kB / 0.7368 GB, free: 2.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7168, allocations: 0 / 0.7368 GB, free: 2.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002625/0.717, allocations: 51.98 kB / 0.7368 GB, free: 2.039 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.0009225/0.718, allocations: 431.5 kB / 0.7372 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.7184, allocations: 187 kB / 0.7374 GB, free: 1.586 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.7184, allocations: 0 / 0.7374 GB, free: 1.586 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.7185, allocations: 63.91 kB / 0.7375 GB, free: 1.523 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.719, allocations: 82.56 kB / 0.7376 GB, free: 1.441 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.72, allocations: 0.5501 MB / 0.7381 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.7206, allocations: 0.7948 MB / 0.7389 GB, free: 48 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002404/0.7209, allocations: 58.98 kB / 0.7389 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.721, allocations: 35.36 kB / 0.739 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.721, allocations: 0 / 0.739 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.009066/0.7301, allocations: 3.532 MB / 0.7424 GB, free: 12.46 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: