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.0009156/0.0009153, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0009445/0.0009446, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.617/1.617, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005657/0.0005661, allocations: 16.31 kB / 0.6737 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2321, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002348/0.2345, allocations: 1.652 MB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.2362, allocations: 1.039 MB / 0.7899 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.2364, allocations: 3.938 kB / 0.7899 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004464/0.2369, allocations: 147.6 kB / 0.7901 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.2373, allocations: 123.6 kB / 0.7902 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.2378, allocations: 162.8 kB / 0.7903 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.2381, allocations: 263.2 kB / 0.7906 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.2383, allocations: 44.31 kB / 0.7906 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.2385, allocations: 123.4 kB / 0.7908 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.2387, allocations: 123.5 kB / 0.7909 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.2388, allocations: 4 kB / 0.7909 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.2389, allocations: 55.89 kB / 0.7909 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.239, allocations: 75.73 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.998e-05/0.2391, allocations: 65.52 kB / 0.7911 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.2394, allocations: 279.6 kB / 0.7913 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.2395, allocations: 8 kB / 0.7913 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2395, allocations: 0 / 0.7913 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.2395, allocations: 0 / 0.7913 GB, free: 7.762 MB / 0.6075 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.000933/0.2404, allocations: 0.5679 MB / 0.7919 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2405, allocations: 12.03 kB / 0.7919 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.995e-05/0.2406, allocations: 39.48 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.2411, allocations: 357.3 kB / 0.7923 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.2411, allocations: 4 kB / 0.7923 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.2411, allocations: 8 kB / 0.7923 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.2414, allocations: 105.6 kB / 0.7924 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.2414, allocations: 11.92 kB / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.2414, allocations: 4 kB / 0.7924 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2414, allocations: 3.953 kB / 0.7924 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.2416, allocations: 59.95 kB / 0.7925 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008334/0.2425, allocations: 0.4886 MB / 0.7929 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.2428, allocations: 146.6 kB / 0.7931 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.2429, allocations: 44.84 kB / 0.7931 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.2429, allocations: 4 kB / 0.7931 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.2432, allocations: 123.3 kB / 0.7933 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.2432, allocations: 0 / 0.7933 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005083/0.2437, allocations: 213.4 kB / 0.7935 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.2438, allocations: 51.41 kB / 0.7935 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005789/0.2444, allocations: 0.5054 MB / 0.794 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.2444, allocations: 29.7 kB / 0.794 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.2445, allocations: 160.4 kB / 0.7942 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.2446, allocations: 43.55 kB / 0.7942 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/0.2446, allocations: 7.984 kB / 0.7942 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2447, allocations: 346.8 kB / 0.7946 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.2449, allocations: 100.5 kB / 0.7947 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.2451, allocations: 131.6 kB / 0.7948 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.2453, allocations: 108 kB / 0.7949 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2453, allocations: 3.938 kB / 0.7949 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005133/0.2459, allocations: 334 kB / 0.7952 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2459, allocations: 4 kB / 0.7952 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2459, allocations: 0 / 0.7952 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2459, allocations: 4 kB / 0.7952 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.2462, allocations: 51.91 kB / 0.7953 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.2462, allocations: 7.984 kB / 0.7953 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.2463, allocations: 31.83 kB / 0.7953 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.2464, allocations: 8 kB / 0.7953 GB, free: 3.461 MB / 0.6075 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.0001737/0.2465, allocations: 182.4 kB / 0.7955 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.2466, allocations: 35.58 kB / 0.7955 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.2467, allocations: 35.12 kB / 0.7956 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2467, allocations: 4 kB / 0.7956 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2467, allocations: 0 / 0.7956 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.2467, allocations: 3.984 kB / 0.7956 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.2469, allocations: 293.5 kB / 0.7958 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2469, allocations: 4 kB / 0.7958 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.916e-05/0.247, allocations: 11.98 kB / 0.7959 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/0.247, allocations: 7.953 kB / 0.7959 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.247, allocations: 3.984 kB / 0.7959 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2471, allocations: 0 / 0.7959 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2471, allocations: 0 / 0.7959 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.2474, allocations: 211.7 kB / 0.7961 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.2475, allocations: 120.7 kB / 0.7962 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.2475, allocations: 7.953 kB / 0.7962 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.2476, allocations: 7.984 kB / 0.7962 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.2477, allocations: 23.97 kB / 0.7962 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.2477, allocations: 12 kB / 0.7962 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000322/0.248, allocations: 311.1 kB / 0.7965 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2481, allocations: 0 / 0.7965 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003007/0.2484, allocations: 56 kB / 0.7966 GB, free: 2.066 MB / 0.6075 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.0009582/0.2493, allocations: 432 kB / 0.797 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.2497, allocations: 184.3 kB / 0.7972 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2498, allocations: 0 / 0.7972 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.2499, allocations: 60.59 kB / 0.7972 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.2503, allocations: 81.42 kB / 0.7973 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008587/0.2512, allocations: 0.5826 MB / 0.7979 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.2515, allocations: 0.7909 MB / 0.7986 GB, free: 60 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001494/0.2517, allocations: 54.95 kB / 0.7987 GB, free: 0 / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-05/0.2518, allocations: 31.42 kB / 0.7987 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.2518, allocations: 0 / 0.7987 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of Templates: time 0.007464/0.2593, allocations: 3.738 MB / 0.8024 GB, free: 12.27 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: