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.00147/0.00147, allocations: 102.1 kB / 16.36 MB, free: 6.355 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.001746/0.001746, allocations: 195.3 kB / 17.3 MB, free: 5.891 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.481/1.481, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001388/0.001388, allocations: 71.03 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2415, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.004081/0.2457, allocations: 1.998 MB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.2477, allocations: 1.105 MB / 0.7878 GB, free: 32 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.2479, allocations: 7.938 kB / 0.7878 GB, free: 24 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.4288/0.6768, allocations: 154.7 kB / 0.788 GB, free: 47.04 MB / 0.6544 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.0005377/0.6774, allocations: 154.6 kB / 0.7881 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.678, allocations: 188.3 kB / 0.7883 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000344/0.6783, allocations: 314 kB / 0.7886 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.6785, allocations: 44.33 kB / 0.7886 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.6787, allocations: 146.1 kB / 0.7888 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.6789, allocations: 154.5 kB / 0.7889 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.6789, allocations: 13.12 kB / 0.7889 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.6791, allocations: 55.75 kB / 0.789 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.674e-05/0.6792, allocations: 83.67 kB / 0.7891 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.6793, allocations: 122 kB / 0.7892 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.6797, allocations: 375 kB / 0.7896 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6797, allocations: 2.75 kB / 0.7896 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6797, allocations: 0 / 0.7896 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.6797, allocations: 2.781 kB / 0.7896 GB, free: 46.87 MB / 0.6544 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.0009195/0.6806, allocations: 0.6166 MB / 0.7902 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.6807, allocations: 7.875 kB / 0.7902 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.6808, allocations: 36.91 kB / 0.7902 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.6812, allocations: 370.6 kB / 0.7906 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.6813, allocations: 11.56 kB / 0.7906 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.6813, allocations: 5.25 kB / 0.7906 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.6815, allocations: 114.9 kB / 0.7907 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.6816, allocations: 1 kB / 0.7907 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.6816, allocations: 3.938 kB / 0.7907 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.6816, allocations: 5.828 kB / 0.7907 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.6818, allocations: 65.09 kB / 0.7908 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006713/0.6824, allocations: 492 kB / 0.7912 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.6828, allocations: 139.5 kB / 0.7914 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.6829, allocations: 49.58 kB / 0.7914 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.6829, allocations: 3.188 kB / 0.7914 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.6831, allocations: 112.7 kB / 0.7915 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.6831, allocations: 0 / 0.7915 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0005004/0.6836, allocations: 230.7 kB / 0.7917 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.6837, allocations: 55.88 kB / 0.7918 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.6842, allocations: 0.5131 MB / 0.7923 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.6842, allocations: 28.77 kB / 0.7923 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.246e-05/0.6843, allocations: 171.7 kB / 0.7925 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.6843, allocations: 36.23 kB / 0.7925 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.835e-05/0.6844, allocations: 66.94 kB / 0.7926 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.6845, allocations: 351.7 kB / 0.7929 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.6847, allocations: 97.86 kB / 0.793 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.6849, allocations: 130.8 kB / 0.7931 GB, free: 45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.6852, allocations: 179.9 kB / 0.7933 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6852, allocations: 0 / 0.7933 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004743/0.6856, allocations: 329.1 kB / 0.7936 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.6857, allocations: 4.219 kB / 0.7936 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6857, allocations: 4.938 kB / 0.7936 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.6857, allocations: 0 / 0.7936 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.6859, allocations: 53.72 kB / 0.7937 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.6859, allocations: 5.344 kB / 0.7937 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.6861, allocations: 23.69 kB / 0.7937 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.6861, allocations: 14.34 kB / 0.7937 GB, free: 44.91 MB / 0.6544 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.0001448/0.6863, allocations: 184.5 kB / 0.7939 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.6863, allocations: 30.03 kB / 0.7939 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.6864, allocations: 37.36 kB / 0.794 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6864, allocations: 2.625 kB / 0.794 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.6864, allocations: 4.562 kB / 0.794 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6864, allocations: 0 / 0.794 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.6867, allocations: 294.1 kB / 0.7942 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6867, allocations: 3.469 kB / 0.7942 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.6867, allocations: 19.78 kB / 0.7943 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6868, allocations: 4.531 kB / 0.7943 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.6868, allocations: 6.984 kB / 0.7943 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6868, allocations: 0 / 0.7943 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6868, allocations: 5.75 kB / 0.7943 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.6871, allocations: 210.3 kB / 0.7945 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.6872, allocations: 114.4 kB / 0.7946 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.6872, allocations: 8.625 kB / 0.7946 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.6873, allocations: 7.812 kB / 0.7946 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.6874, allocations: 29.11 kB / 0.7946 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.6874, allocations: 3.469 kB / 0.7946 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002911/0.6877, allocations: 313.5 kB / 0.7949 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.212e-06/0.6878, allocations: 0 / 0.7949 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000285/0.688, allocations: 55.3 kB / 0.795 GB, free: 44.28 MB / 0.6544 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.001014/0.6891, allocations: 421.2 kB / 0.7954 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003956/0.6895, allocations: 192.9 kB / 0.7956 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6895, allocations: 4.188 kB / 0.7956 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.6896, allocations: 65.3 kB / 0.7956 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.6901, allocations: 92.52 kB / 0.7957 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007572/0.6909, allocations: 0.5589 MB / 0.7963 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.6911, allocations: 0.789 MB / 0.797 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.6912, allocations: 31.44 kB / 0.7971 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.6912, allocations: 0 / 0.7971 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.008047/0.6992, allocations: 4.393 MB / 0.8014 GB, free: 42.88 MB / 0.6544 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)