Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 288.4 MB / 303.4 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 183 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008515/0.0008512, allocations: 100.2 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004001, allocations: 11.69 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002169/0.2215, allocations: 1.652 MB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.2231, allocations: 1.035 MB / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.2233, allocations: 0 / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.2238, allocations: 143.6 kB / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.2241, allocations: 127.5 kB / 0.9825 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.2246, allocations: 169.5 kB / 0.9826 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.2249, allocations: 263.2 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.2251, allocations: 44.38 kB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.2253, allocations: 123.4 kB / 0.9831 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.2254, allocations: 131.4 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.2255, allocations: 4 kB / 0.9832 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.2256, allocations: 39.98 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.787e-05/0.2257, allocations: 79.72 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.2258, allocations: 69.52 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.2261, allocations: 283.6 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2261, allocations: 4 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2261, allocations: 0 / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.2261, allocations: 0 / 0.9836 GB, free: 23.48 MB / 0.6198 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.0009221/0.227, allocations: 0.5641 MB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2271, allocations: 12.03 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.808e-05/0.2272, allocations: 43.48 kB / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.2276, allocations: 361.1 kB / 0.9846 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.2277, allocations: 8 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.2277, allocations: 4 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.2279, allocations: 115.3 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.228, allocations: 0 / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.228, allocations: 0 / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.228, allocations: 7.953 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.2282, allocations: 67.89 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007158/0.2289, allocations: 488.4 kB / 0.9852 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.2292, allocations: 146.6 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.905e-05/0.2293, allocations: 44.84 kB / 0.9854 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.2294, allocations: 7.984 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.2296, allocations: 108.6 kB / 0.9855 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.923e-06/0.2296, allocations: 0 / 0.9855 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004722/0.2301, allocations: 230.9 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.2301, allocations: 55.41 kB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.2306, allocations: 0.5015 MB / 0.9863 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.2306, allocations: 29.7 kB / 0.9863 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.2307, allocations: 164.4 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.2307, allocations: 35.55 kB / 0.9865 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.2308, allocations: 4 kB / 0.9865 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.2308, allocations: 350.8 kB / 0.9869 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.231, allocations: 108.4 kB / 0.987 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.2312, allocations: 131.6 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.2314, allocations: 112.4 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2314, allocations: 4 kB / 0.9872 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004582/0.2318, allocations: 333 kB / 0.9875 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2319, allocations: 4 kB / 0.9875 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2319, allocations: 0 / 0.9875 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.2319, allocations: 4 kB / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.2321, allocations: 51.91 kB / 0.9876 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.2322, allocations: 0 / 0.9876 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.2323, allocations: 23.83 kB / 0.9876 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.2323, allocations: 12 kB / 0.9876 GB, free: 19.19 MB / 0.6198 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.0001847/0.2325, allocations: 183.3 kB / 0.9878 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.2326, allocations: 35.58 kB / 0.9878 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.65e-05/0.2327, allocations: 31.12 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2327, allocations: 7.984 kB / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2327, allocations: 0 / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.2327, allocations: 0 / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.233, allocations: 297.4 kB / 0.9881 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.233, allocations: 3.984 kB / 0.9881 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.2331, allocations: 12 kB / 0.9882 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.2331, allocations: 7.953 kB / 0.9882 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.2331, allocations: 7.984 kB / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2331, allocations: 0 / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2331, allocations: 0 / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.2335, allocations: 208.5 kB / 0.9884 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.858e-05/0.2335, allocations: 120.7 kB / 0.9885 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.2336, allocations: 7.953 kB / 0.9885 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.706e-05/0.2337, allocations: 11.98 kB / 0.9885 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.2338, allocations: 19.97 kB / 0.9885 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.2338, allocations: 8 kB / 0.9885 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002913/0.2341, allocations: 311.1 kB / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2341, allocations: 0 / 0.9888 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002953/0.2344, allocations: 55.98 kB / 0.9889 GB, free: 17.79 MB / 0.6198 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.001044/0.2355, allocations: 418.4 kB / 0.9893 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.2359, allocations: 191.9 kB / 0.9895 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2359, allocations: 4 kB / 0.9895 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.236, allocations: 59.89 kB / 0.9895 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.2365, allocations: 90.08 kB / 0.9896 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.2373, allocations: 0.5819 MB / 0.9902 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.2375, allocations: 0.7831 MB / 0.9909 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.2377, allocations: 50.89 kB / 0.991 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.2378, allocations: 43.36 kB / 0.991 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2378, allocations: 0 / 0.991 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of Templates: time 0.007301/0.2451, allocations: 3.738 MB / 0.9947 GB, free: 11.98 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)