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.001473/0.001473, allocations: 108 kB / 15.61 MB, free: 152 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.001812/0.001812, allocations: 196 kB / 16.53 MB, free: 6.699 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.625 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.881/1.881, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.002056/0.002057, allocations: 69.27 kB / 0.6715 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3494, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.004325/0.3538, allocations: 1.99 MB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.356, allocations: 1.094 MB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.3561, allocations: 7.938 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.3567, allocations: 163.4 kB / 0.7866 GB, free: 10.21 MB / 0.6075 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.0003464/0.357, allocations: 155.3 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.3575, allocations: 194.9 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.3579, allocations: 307.2 kB / 0.7872 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.3581, allocations: 48.39 kB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.3583, allocations: 139.5 kB / 0.7874 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.3585, allocations: 151.4 kB / 0.7875 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.3586, allocations: 12 kB / 0.7875 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.3587, allocations: 63.97 kB / 0.7876 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.3588, allocations: 87.73 kB / 0.7877 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.359, allocations: 123.1 kB / 0.7878 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.3594, allocations: 359 kB / 0.7881 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3594, allocations: 0 / 0.7881 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3594, allocations: 0 / 0.7881 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3594, allocations: 0 / 0.7881 GB, free: 8.609 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.001119/0.3606, allocations: 0.6224 MB / 0.7887 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.3606, allocations: 12.03 kB / 0.7887 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.282e-05/0.3607, allocations: 44.41 kB / 0.7888 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.3613, allocations: 370.5 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.3613, allocations: 16.25 kB / 0.7892 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.3614, allocations: 11.92 kB / 0.7892 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.3616, allocations: 105.6 kB / 0.7893 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3616, allocations: 3.984 kB / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.3617, allocations: 0 / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3617, allocations: 0 / 0.7893 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.3619, allocations: 66.47 kB / 0.7893 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000927/0.3628, allocations: 0.4887 MB / 0.7898 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.3632, allocations: 146.6 kB / 0.79 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3633, allocations: 48.83 kB / 0.79 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.3634, allocations: 4 kB / 0.79 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.3636, allocations: 103.3 kB / 0.7901 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.3637, allocations: 3.938 kB / 0.7901 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005882/0.3642, allocations: 221.4 kB / 0.7903 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.3643, allocations: 63.33 kB / 0.7904 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006115/0.3649, allocations: 0.5015 MB / 0.7909 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.365, allocations: 33.7 kB / 0.7909 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.3651, allocations: 172.3 kB / 0.7911 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.3652, allocations: 31.55 kB / 0.7911 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3653, allocations: 69.97 kB / 0.7912 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3655, allocations: 346.8 kB / 0.7915 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.3657, allocations: 104.5 kB / 0.7916 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.3659, allocations: 127.6 kB / 0.7917 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.3663, allocations: 190.4 kB / 0.7919 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3663, allocations: 0 / 0.7919 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000583/0.3669, allocations: 329.1 kB / 0.7922 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3669, allocations: 4 kB / 0.7922 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3669, allocations: 4 kB / 0.7922 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3669, allocations: 0 / 0.7922 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.3672, allocations: 55.84 kB / 0.7923 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.3672, allocations: 0 / 0.7923 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.3673, allocations: 15.94 kB / 0.7923 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.3674, allocations: 15.98 kB / 0.7923 GB, free: 4.094 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 ($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.0002104/0.3676, allocations: 185.8 kB / 0.7925 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.3676, allocations: 35.53 kB / 0.7925 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.281e-05/0.3677, allocations: 31.12 kB / 0.7925 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-06/0.3677, allocations: 7.938 kB / 0.7925 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3677, allocations: 0 / 0.7925 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3677, allocations: 3.984 kB / 0.7926 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.3681, allocations: 301.4 kB / 0.7928 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.3681, allocations: 4 kB / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.3682, allocations: 19.92 kB / 0.7929 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3682, allocations: 4 kB / 0.7929 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3682, allocations: 4 kB / 0.7929 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3682, allocations: 3.938 kB / 0.7929 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3682, allocations: 3.984 kB / 0.7929 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.3686, allocations: 207.9 kB / 0.7931 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.3687, allocations: 112.7 kB / 0.7932 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.3687, allocations: 4 kB / 0.7932 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.09e-05/0.3688, allocations: 11.94 kB / 0.7932 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.621e-05/0.3689, allocations: 23.95 kB / 0.7932 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.369, allocations: 4 kB / 0.7932 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003439/0.3693, allocations: 319.1 kB / 0.7935 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3693, allocations: 0 / 0.7935 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002899/0.3696, allocations: 56 kB / 0.7936 GB, free: 2.684 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 (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.001062/0.3707, allocations: 431.2 kB / 0.794 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004428/0.3711, allocations: 204.1 kB / 0.7942 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3711, allocations: 0 / 0.7942 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3713, allocations: 63.91 kB / 0.7942 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.3718, allocations: 81.44 kB / 0.7943 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.3729, allocations: 0.5317 MB / 0.7948 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.3733, allocations: 0.7831 MB / 0.7956 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.3735, allocations: 46.95 kB / 0.7957 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.3735, allocations: 39.42 kB / 0.7957 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of SimCode: time 1.113e-06/0.3736, allocations: 4 kB / 0.7957 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of Templates: time 0.008502/0.3821, allocations: 4.057 MB / 0.7997 GB, free: 12.61 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (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)