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.001055/0.001055, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007791/0.007791, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.731/1.731, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.609/1.609, allocations: 252 MB / 0.5105 GB, free: 4.648 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.0007806/0.0007806, allocations: 16 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6213/0.6221, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002584/0.6247, allocations: 1.707 MB / 0.7304 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.6263, allocations: 0.9558 MB / 0.7313 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.6264, allocations: 3.938 kB / 0.7313 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.6268, allocations: 147.6 kB / 0.7315 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.6271, allocations: 139.6 kB / 0.7316 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.6275, allocations: 170.7 kB / 0.7318 GB, free: 8.141 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.6279, allocations: 267.3 kB / 0.732 GB, free: 7.879 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.6281, allocations: 48.38 kB / 0.7321 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.6282, allocations: 115.3 kB / 0.7322 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.6284, allocations: 131.5 kB / 0.7323 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.6285, allocations: 4 kB / 0.7323 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-05/0.6286, allocations: 31.98 kB / 0.7323 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.443e-05/0.6287, allocations: 79.69 kB / 0.7324 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.6288, allocations: 136.8 kB / 0.7325 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.6291, allocations: 320.8 kB / 0.7329 GB, free: 7.023 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6291, allocations: 0 / 0.7329 GB, free: 7.023 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6292, allocations: 4 kB / 0.7329 GB, free: 7.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.6292, allocations: 4 kB / 0.7329 GB, free: 7.016 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.0008389/0.63, allocations: 0.5526 MB / 0.7334 GB, free: 6.414 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6301, allocations: 8.031 kB / 0.7334 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.6301, allocations: 36.47 kB / 0.7334 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.6306, allocations: 350.4 kB / 0.7338 GB, free: 5.988 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.6306, allocations: 8.375 kB / 0.7338 GB, free: 5.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.6306, allocations: 20.05 kB / 0.7338 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.6309, allocations: 113.6 kB / 0.7339 GB, free: 5.844 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.6309, allocations: 3.938 kB / 0.7339 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.6309, allocations: 0 / 0.7339 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.631, allocations: 3.984 kB / 0.7339 GB, free: 5.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.6311, allocations: 63.95 kB / 0.734 GB, free: 5.773 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007175/0.6319, allocations: 496.3 kB / 0.7345 GB, free: 5.238 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.6322, allocations: 126.8 kB / 0.7346 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.6323, allocations: 52.83 kB / 0.7346 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.6324, allocations: 4 kB / 0.7346 GB, free: 5.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.6326, allocations: 119.1 kB / 0.7347 GB, free: 4.922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.6327, allocations: 0 / 0.7347 GB, free: 4.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005112/0.6332, allocations: 217.4 kB / 0.735 GB, free: 4.703 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.6332, allocations: 59.34 kB / 0.735 GB, free: 4.633 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.6338, allocations: 0.4898 MB / 0.7355 GB, free: 4.137 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.6338, allocations: 29.7 kB / 0.7355 GB, free: 4.102 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.634, allocations: 172.3 kB / 0.7357 GB, free: 3.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.634, allocations: 35.55 kB / 0.7357 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.6341, allocations: 37.7 kB / 0.7358 GB, free: 3.852 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6342, allocations: 346.8 kB / 0.7361 GB, free: 3.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.6344, allocations: 100.5 kB / 0.7362 GB, free: 3.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.6346, allocations: 123.6 kB / 0.7363 GB, free: 3.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.635, allocations: 184.8 kB / 0.7365 GB, free: 3.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.635, allocations: 3.938 kB / 0.7365 GB, free: 3.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005115/0.6355, allocations: 321.1 kB / 0.7368 GB, free: 2.766 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.6355, allocations: 4 kB / 0.7368 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.6355, allocations: 3.984 kB / 0.7368 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.6355, allocations: 4 kB / 0.7368 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.6358, allocations: 48.05 kB / 0.7368 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.6358, allocations: 11.86 kB / 0.7368 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.6359, allocations: 16 kB / 0.7369 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.636, allocations: 8 kB / 0.7369 GB, free: 2.672 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.0001883/0.6362, allocations: 177.8 kB / 0.737 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.6362, allocations: 35.53 kB / 0.7371 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.6363, allocations: 34.95 kB / 0.7371 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6363, allocations: 4 kB / 0.7371 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6363, allocations: 7.938 kB / 0.7371 GB, free: 2.406 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6363, allocations: 3.938 kB / 0.7371 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.6366, allocations: 293.4 kB / 0.7374 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6366, allocations: 0 / 0.7374 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.999e-05/0.6367, allocations: 15.98 kB / 0.7374 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6367, allocations: 3.938 kB / 0.7374 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.6367, allocations: 11.98 kB / 0.7374 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6367, allocations: 0 / 0.7374 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6367, allocations: 3.938 kB / 0.7374 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.6371, allocations: 200.7 kB / 0.7376 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.101e-05/0.6372, allocations: 116.7 kB / 0.7377 GB, free: 1.684 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.6372, allocations: 7.938 kB / 0.7377 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.6373, allocations: 11.98 kB / 0.7378 GB, free: 1.664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.6374, allocations: 15.92 kB / 0.7378 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.6374, allocations: 11.98 kB / 0.7378 GB, free: 1.637 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003117/0.6378, allocations: 299.1 kB / 0.7381 GB, free: 1.348 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6378, allocations: 4 kB / 0.7381 GB, free: 1.344 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00027/0.638, allocations: 59.91 kB / 0.7381 GB, free: 1.285 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.0009626/0.639, allocations: 427 kB / 0.7385 GB, free: 1.016 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003763/0.6394, allocations: 187.8 kB / 0.7387 GB, free: 0.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6394, allocations: 0 / 0.7387 GB, free: 0.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.6395, allocations: 59.91 kB / 0.7388 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.6401, allocations: 90.69 kB / 0.7389 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008786/0.6409, allocations: 0.5818 MB / 0.7394 GB, free: 80 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.6413, allocations: 0.7869 MB / 0.7402 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.6415, allocations: 54.94 kB / 0.7403 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.6416, allocations: 35.42 kB / 0.7403 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.6416, allocations: 0 / 0.7403 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.007744/0.6493, allocations: 3.63 MB / 0.7438 GB, free: 11.59 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: