Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001008/0.001013, allocations: 100.1 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.001049/0.001049, 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.571/1.571, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.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.0005472/0.0005474, allocations: 13.47 kB / 0.6736 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2541, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002308/0.2564, allocations: 1.64 MB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.258, allocations: 1.024 MB / 0.7897 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.2582, allocations: 7.938 kB / 0.7897 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.2586, allocations: 135.6 kB / 0.7899 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.2588, allocations: 135.6 kB / 0.79 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.2593, allocations: 157.1 kB / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.2596, allocations: 191.6 kB / 0.7903 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.2597, allocations: 40.38 kB / 0.7904 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.2599, allocations: 139.4 kB / 0.7905 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.2601, allocations: 111.6 kB / 0.7906 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.2601, allocations: 4 kB / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.2602, allocations: 39.97 kB / 0.7907 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.713e-05/0.2604, allocations: 79.72 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.289e-05/0.2604, allocations: 69.5 kB / 0.7908 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.2607, allocations: 283.6 kB / 0.7911 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2607, allocations: 0 / 0.7911 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2607, allocations: 4 kB / 0.7911 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2608, allocations: 0 / 0.7911 GB, free: 7.891 MB / 0.6075 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.0009119/0.2617, allocations: 0.5757 MB / 0.7916 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2617, allocations: 8.031 kB / 0.7916 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.2618, allocations: 39.48 kB / 0.7917 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.2623, allocations: 357.3 kB / 0.792 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.2623, allocations: 4 kB / 0.792 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.2624, allocations: 12 kB / 0.792 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.2626, allocations: 105.6 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2626, allocations: 0 / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.2626, allocations: 7.938 kB / 0.7921 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.2626, allocations: 7.953 kB / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.2628, allocations: 51.97 kB / 0.7922 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007949/0.2636, allocations: 0.4926 MB / 0.7927 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.2639, allocations: 142.7 kB / 0.7928 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.264, allocations: 0 / 0.7928 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.2642, allocations: 115.3 kB / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.2642, allocations: 0 / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004861/0.2647, allocations: 219 kB / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.2647, allocations: 55.41 kB / 0.7932 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/0.2653, allocations: 0.5015 MB / 0.7937 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.2653, allocations: 33.7 kB / 0.7937 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.2654, allocations: 172.6 kB / 0.7939 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.421e-05/0.2655, allocations: 31.56 kB / 0.7939 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/0.2656, allocations: 8 kB / 0.7939 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2657, allocations: 346.8 kB / 0.7942 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.2659, allocations: 100.5 kB / 0.7943 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.2661, allocations: 131.6 kB / 0.7945 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.2663, allocations: 111.9 kB / 0.7946 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2663, allocations: 4 kB / 0.7946 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004907/0.2668, allocations: 330 kB / 0.7949 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2668, allocations: 10.59 kB / 0.7949 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2668, allocations: 0 / 0.7949 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2669, allocations: 4 kB / 0.7949 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.2671, allocations: 51.91 kB / 0.7949 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2671, allocations: 0 / 0.7949 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.2672, allocations: 23.91 kB / 0.795 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.2673, allocations: 15.98 kB / 0.795 GB, free: 3.648 MB / 0.6075 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.0001815/0.2675, allocations: 181.7 kB / 0.7952 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.2675, allocations: 35.58 kB / 0.7952 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.617e-05/0.2676, allocations: 31.12 kB / 0.7952 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2676, allocations: 4 kB / 0.7952 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2676, allocations: 0 / 0.7952 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.2676, allocations: 3.984 kB / 0.7952 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.2679, allocations: 297.4 kB / 0.7955 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2679, allocations: 4 kB / 0.7955 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-05/0.2679, allocations: 15.98 kB / 0.7955 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.268, allocations: 4 kB / 0.7955 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.268, allocations: 7.938 kB / 0.7955 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.268, allocations: 0 / 0.7955 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.268, allocations: 0 / 0.7955 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.2683, allocations: 214 kB / 0.7958 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.2684, allocations: 120.7 kB / 0.7959 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.2685, allocations: 4 kB / 0.7959 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.466e-05/0.2686, allocations: 15.94 kB / 0.7959 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.2687, allocations: 11.98 kB / 0.7959 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.2687, allocations: 15.92 kB / 0.7959 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003179/0.269, allocations: 311.1 kB / 0.7962 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.269, allocations: 0 / 0.7962 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002783/0.2693, allocations: 52 kB / 0.7963 GB, free: 2.254 MB / 0.6075 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.001035/0.2703, allocations: 426 kB / 0.7967 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004006/0.2708, allocations: 187.8 kB / 0.7968 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2708, allocations: 4 kB / 0.7968 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.2709, allocations: 51.97 kB / 0.7969 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.2713, allocations: 81.42 kB / 0.797 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009294/0.2723, allocations: 0.5787 MB / 0.7975 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.2727, allocations: 0.7987 MB / 0.7983 GB, free: 252 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.2728, allocations: 62.92 kB / 0.7984 GB, free: 184 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.2729, allocations: 31.42 kB / 0.7984 GB, free: 152 kB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.2729, allocations: 0 / 0.7984 GB, free: 152 kB / 0.6075 GB Notification: Performance of Templates: time 0.007609/0.2805, allocations: 3.735 MB / 0.8021 GB, free: 12.45 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1) Environment - environmentSimulation: