Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.833/1.833, allocations: 287.5 MB / 302.6 MB, free: 8.238 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.00138/0.00138, allocations: 180.7 kB / 371.2 MB, free: 10.83 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.913/1.913, allocations: 205.4 MB / 0.6298 GB, free: 10.61 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.0008992/0.0008993, allocations: 106 kB / 0.7432 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005725/0.0005727, allocations: 11.42 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2384, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002324/0.2408, allocations: 1.647 MB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2427, allocations: 1.036 MB / 0.9813 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.2429, allocations: 7.938 kB / 0.9813 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004506/0.2434, allocations: 147.6 kB / 0.9815 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.2438, allocations: 123.5 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.2443, allocations: 162.7 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003678/0.2446, allocations: 267.1 kB / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.2448, allocations: 48.36 kB / 0.982 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.245, allocations: 123.4 kB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.2452, allocations: 119.5 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.2453, allocations: 8 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.2454, allocations: 43.95 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.2455, allocations: 75.69 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.2456, allocations: 73.56 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.2459, allocations: 279.6 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2459, allocations: 3.938 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2459, allocations: 0 / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.597e-06/0.2459, allocations: 0 / 0.9827 GB, free: 24.04 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.0008916/0.2468, allocations: 0.572 MB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2469, allocations: 8.031 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.247, allocations: 40.47 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.2474, allocations: 366.5 kB / 0.9837 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.2474, allocations: 12.31 kB / 0.9837 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.2475, allocations: 19.88 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.2477, allocations: 105.5 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2477, allocations: 0 / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.2478, allocations: 4 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2478, allocations: 4 kB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.2479, allocations: 59.97 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.2487, allocations: 0.4925 MB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.249, allocations: 130.8 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.2491, allocations: 52.83 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.2492, allocations: 3.938 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.2494, allocations: 112.3 kB / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.824e-06/0.2494, allocations: 0 / 0.9846 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004951/0.2499, allocations: 222 kB / 0.9849 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.2499, allocations: 63.33 kB / 0.9849 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004811/0.2504, allocations: 0.5015 MB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.2505, allocations: 33.64 kB / 0.9854 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2506, allocations: 160.5 kB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.2506, allocations: 43.53 kB / 0.9856 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.2506, allocations: 4 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.506e-05/0.2507, allocations: 346.8 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.2509, allocations: 100.5 kB / 0.9861 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.2511, allocations: 135.6 kB / 0.9862 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.2514, allocations: 186.9 kB / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2514, allocations: 0 / 0.9864 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004512/0.2518, allocations: 321.2 kB / 0.9867 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2519, allocations: 8 kB / 0.9867 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2519, allocations: 0 / 0.9867 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2519, allocations: 0 / 0.9867 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.2521, allocations: 51.91 kB / 0.9867 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.2521, allocations: 7.938 kB / 0.9867 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.2523, allocations: 23.83 kB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.2523, allocations: 15.94 kB / 0.9868 GB, free: 19.66 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.00015/0.2525, allocations: 181.9 kB / 0.9869 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.2525, allocations: 39.47 kB / 0.987 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.451e-05/0.2526, allocations: 35.11 kB / 0.987 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2526, allocations: 7.938 kB / 0.987 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2526, allocations: 0 / 0.987 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2526, allocations: 0 / 0.987 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.2529, allocations: 301.4 kB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2529, allocations: 7.984 kB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.2529, allocations: 8 kB / 0.9873 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.253, allocations: 0 / 0.9873 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.253, allocations: 11.98 kB / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.253, allocations: 7.922 kB / 0.9873 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.253, allocations: 0 / 0.9873 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.2533, allocations: 201.6 kB / 0.9875 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.2534, allocations: 124.6 kB / 0.9877 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.2534, allocations: 8 kB / 0.9877 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.455e-05/0.2535, allocations: 15.92 kB / 0.9877 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.2536, allocations: 19.97 kB / 0.9877 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.2536, allocations: 4 kB / 0.9877 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003006/0.2539, allocations: 315.1 kB / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2539, allocations: 0 / 0.988 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002754/0.2542, allocations: 55.98 kB / 0.9881 GB, free: 18.24 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.0009543/0.2552, allocations: 417.1 kB / 0.9885 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.2555, allocations: 195.8 kB / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2556, allocations: 0 / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.2557, allocations: 63.91 kB / 0.9887 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.2561, allocations: 78.62 kB / 0.9888 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007833/0.2569, allocations: 0.5788 MB / 0.9893 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.2571, allocations: 0.7908 MB / 0.9901 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.2573, allocations: 54.89 kB / 0.9902 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.2574, allocations: 39.42 kB / 0.9902 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.2574, allocations: 3.938 kB / 0.9902 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.007137/0.2645, allocations: 3.733 MB / 0.9939 GB, free: 12.43 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)