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 2.858/2.858, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.002215/0.002215, allocations: 172.5 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.567/2.567, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.00115/0.00115, allocations: 99.95 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006495/0.0006497, allocations: 12.66 kB / 0.8656 GB, free: 139.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.235, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.003748/0.2388, allocations: 1.644 MB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003445/0.2423, allocations: 1.024 MB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.2426, allocations: 3.938 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006393/0.2433, allocations: 139.6 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005904/0.2439, allocations: 131.6 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.245, allocations: 153.9 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006105/0.2456, allocations: 195.5 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.2459, allocations: 40.39 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003857/0.2463, allocations: 127.5 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.2466, allocations: 115.6 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.2467, allocations: 8 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.247, allocations: 31.92 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.2471, allocations: 75.78 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2473, allocations: 73.52 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.2479, allocations: 283.6 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2479, allocations: 3.938 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.266e-06/0.2479, allocations: 0 / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.2479, allocations: 0 / 0.9821 GB, free: 24.34 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.001545/0.2495, allocations: 0.5757 MB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.2496, allocations: 12.02 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.2497, allocations: 43.47 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009745/0.2508, allocations: 361.2 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.2508, allocations: 8 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.259e-05/0.2509, allocations: 8 kB / 0.9831 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.2514, allocations: 107.4 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.2514, allocations: 3.984 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.2515, allocations: 7.953 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.2515, allocations: 0 / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.252, allocations: 59.97 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.2535, allocations: 0.4886 MB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008377/0.2544, allocations: 130.8 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.2545, allocations: 11.98 kB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000484/0.255, allocations: 117.4 kB / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 4.578e-06/0.255, allocations: 0 / 0.984 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001242/0.2563, allocations: 213.4 kB / 0.9842 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.2564, allocations: 55.41 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.2575, allocations: 0.5093 MB / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.2576, allocations: 29.7 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.2579, allocations: 160.6 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.258, allocations: 39.55 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.258, allocations: 7.938 kB / 0.985 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2582, allocations: 350.8 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.2587, allocations: 100.5 kB / 0.9854 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.2592, allocations: 139.6 kB / 0.9855 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.2597, allocations: 112.5 kB / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2597, allocations: 0 / 0.9857 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001312/0.261, allocations: 325 kB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.2611, allocations: 4 kB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.2611, allocations: 4 kB / 0.986 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.2612, allocations: 0 / 0.986 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/0.2618, allocations: 59.97 kB / 0.986 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.2619, allocations: 4 kB / 0.986 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.2623, allocations: 15.84 kB / 0.986 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/0.2624, allocations: 11.98 kB / 0.9861 GB, free: 20.1 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.0003533/0.2628, allocations: 187.6 kB / 0.9862 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.2629, allocations: 31.58 kB / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.263, allocations: 39.12 kB / 0.9863 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.263, allocations: 0 / 0.9863 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2631, allocations: 4 kB / 0.9863 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2631, allocations: 3.984 kB / 0.9863 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.2636, allocations: 297.4 kB / 0.9866 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.2636, allocations: 0 / 0.9866 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.2638, allocations: 15.98 kB / 0.9866 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.2639, allocations: 3.953 kB / 0.9866 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.2639, allocations: 4 kB / 0.9866 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.2639, allocations: 0 / 0.9866 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.264, allocations: 3.984 kB / 0.9866 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008714/0.2648, allocations: 210.3 kB / 0.9868 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.265, allocations: 112.7 kB / 0.9869 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.462e-05/0.2652, allocations: 11.95 kB / 0.9869 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.2654, allocations: 7.984 kB / 0.9869 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.2656, allocations: 23.97 kB / 0.987 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.2656, allocations: 7.984 kB / 0.987 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007422/0.2664, allocations: 311.1 kB / 0.9873 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.122e-06/0.2664, allocations: 4 kB / 0.9873 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006911/0.2671, allocations: 60 kB / 0.9873 GB, free: 18.69 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.001814/0.269, allocations: 419.7 kB / 0.9877 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.2701, allocations: 187.8 kB / 0.9879 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.2702, allocations: 0 / 0.9879 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003582/0.2705, allocations: 55.97 kB / 0.988 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009961/0.2715, allocations: 89.48 kB / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.2733, allocations: 0.5747 MB / 0.9886 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.2738, allocations: 0.7985 MB / 0.9894 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003969/0.2742, allocations: 50.95 kB / 0.9894 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.2744, allocations: 35.42 kB / 0.9895 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.413e-06/0.2744, allocations: 0 / 0.9895 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.01682/0.2913, allocations: 3.743 MB / 0.9931 GB, free: 12.88 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)