Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.419/2.419, allocations: 251.3 MB / 266.2 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001906/0.001906, allocations: 183.2 kB / 325.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.585/2.585, allocations: 205.4 MB / 0.5767 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009611/0.0009605, allocations: 80.31 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0009874/0.0009879, allocations: 12.88 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2294, allocations: 106.3 MB / 0.8991 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002728/0.2322, allocations: 1.672 MB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002241/0.2345, allocations: 0.9137 MB / 0.9016 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.2347, allocations: 4 kB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.2352, allocations: 143.6 kB / 0.9017 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.2357, allocations: 123.5 kB / 0.9018 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000627/0.2363, allocations: 156.3 kB / 0.902 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00038/0.2367, allocations: 251.2 kB / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.2369, allocations: 48.28 kB / 0.9023 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.2372, allocations: 111.5 kB / 0.9024 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.2374, allocations: 115.5 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.2374, allocations: 4 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.2376, allocations: 31.98 kB / 0.9025 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.2377, allocations: 71.73 kB / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.2378, allocations: 73.5 kB / 0.9027 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.2382, allocations: 263.6 kB / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2382, allocations: 0 / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2382, allocations: 0 / 0.9029 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.2382, allocations: 0 / 0.9029 GB, free: 61.44 MB / 0.6042 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.001011/0.2392, allocations: 0.5566 MB / 0.9035 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2393, allocations: 15.97 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.428e-05/0.2394, allocations: 36.47 kB / 0.9035 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.2399, allocations: 338.6 kB / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.24, allocations: 12.36 kB / 0.9038 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.24, allocations: 12.12 kB / 0.9039 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.2404, allocations: 105.5 kB / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2404, allocations: 0 / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.2404, allocations: 0 / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2404, allocations: 4 kB / 0.904 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.2407, allocations: 67.89 kB / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009309/0.2417, allocations: 480.4 kB / 0.9045 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.2422, allocations: 142.7 kB / 0.9046 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.2424, allocations: 48.83 kB / 0.9047 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.2425, allocations: 4 kB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/0.2428, allocations: 107.3 kB / 0.9048 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.815e-06/0.2428, allocations: 0 / 0.9048 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0007887/0.2436, allocations: 229.2 kB / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.2437, allocations: 55.34 kB / 0.905 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007162/0.2444, allocations: 497.6 kB / 0.9055 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.2445, allocations: 33.7 kB / 0.9055 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.2446, allocations: 168.3 kB / 0.9057 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.2447, allocations: 31.61 kB / 0.9057 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.2447, allocations: 11.94 kB / 0.9057 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.2448, allocations: 346.8 kB / 0.9061 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.2451, allocations: 100.5 kB / 0.9062 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.2454, allocations: 123.6 kB / 0.9063 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.2458, allocations: 115.9 kB / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2458, allocations: 0 / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008083/0.2466, allocations: 317.7 kB / 0.9067 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.2466, allocations: 4 kB / 0.9067 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2467, allocations: 0 / 0.9067 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.2467, allocations: 4 kB / 0.9067 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.2471, allocations: 51.97 kB / 0.9068 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.2472, allocations: 7.875 kB / 0.9068 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.2475, allocations: 23.83 kB / 0.9068 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.2475, allocations: 8 kB / 0.9068 GB, free: 57.22 MB / 0.6042 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.0002519/0.2478, allocations: 181.8 kB / 0.907 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.2478, allocations: 35.61 kB / 0.907 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.799e-05/0.2479, allocations: 35 kB / 0.907 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.248, allocations: 7.938 kB / 0.907 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.248, allocations: 3.938 kB / 0.9071 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.248, allocations: 0 / 0.9071 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.2483, allocations: 293.4 kB / 0.9073 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2483, allocations: 0 / 0.9073 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.2485, allocations: 19.98 kB / 0.9074 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.2485, allocations: 0 / 0.9074 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.2485, allocations: 8 kB / 0.9074 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2485, allocations: 0 / 0.9074 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.2485, allocations: 3.938 kB / 0.9074 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005823/0.2491, allocations: 215 kB / 0.9076 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.2493, allocations: 112.7 kB / 0.9077 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/0.2493, allocations: 4 kB / 0.9077 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.2495, allocations: 7.984 kB / 0.9077 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.2496, allocations: 23.92 kB / 0.9077 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.2497, allocations: 11.98 kB / 0.9077 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004396/0.2501, allocations: 295.1 kB / 0.908 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2501, allocations: 0 / 0.908 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004003/0.2505, allocations: 55.98 kB / 0.9081 GB, free: 55.85 MB / 0.6042 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.001248/0.2518, allocations: 426.8 kB / 0.9085 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006337/0.2524, allocations: 183.9 kB / 0.9086 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2525, allocations: 0 / 0.9086 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.2527, allocations: 63.91 kB / 0.9087 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007934/0.2535, allocations: 80.33 kB / 0.9088 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.2547, allocations: 0.5501 MB / 0.9093 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.255, allocations: 0.787 MB / 0.9101 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002705/0.2553, allocations: 66.86 kB / 0.9101 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2555, allocations: 27.42 kB / 0.9102 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of SimCode: time 2.826e-06/0.2555, allocations: 8 kB / 0.9102 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.01117/0.2666, allocations: 3.543 MB / 0.9136 GB, free: 50.26 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)