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.001201/0.001201, allocations: 108.9 kB / 16.35 MB, free: 5.879 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.001326/0.001327, allocations: 194.6 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.1 MB / 223.2 MB, free: 4.516 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.985/1.985, allocations: 292.3 MB / 0.5496 GB, free: 12.77 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.001485/0.001485, allocations: 78.44 kB / 0.6729 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2318, allocations: 114.5 MB / 0.7848 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.00348/0.2353, allocations: 1.998 MB / 0.7867 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.2372, allocations: 1.106 MB / 0.7878 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.2373, allocations: 7.938 kB / 0.7878 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.2377, allocations: 159.5 kB / 0.788 GB, free: 9.484 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.2381, allocations: 155.3 kB / 0.7881 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.2386, allocations: 182.4 kB / 0.7883 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003499/0.239, allocations: 319.2 kB / 0.7886 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.2391, allocations: 44.38 kB / 0.7886 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.2393, allocations: 151.4 kB / 0.7888 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.2395, allocations: 147.4 kB / 0.7889 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.2396, allocations: 12 kB / 0.7889 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.2397, allocations: 55.97 kB / 0.789 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.2398, allocations: 87.67 kB / 0.7891 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.24, allocations: 123.2 kB / 0.7892 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.2404, allocations: 374.6 kB / 0.7895 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2404, allocations: 0 / 0.7895 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2404, allocations: 0 / 0.7895 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2404, allocations: 0 / 0.7895 GB, free: 7.867 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.0009841/0.2414, allocations: 0.6147 MB / 0.7901 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2414, allocations: 11.97 kB / 0.7902 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.695e-05/0.2415, allocations: 36.47 kB / 0.7902 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.242, allocations: 378.4 kB / 0.7906 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2421, allocations: 4.375 kB / 0.7906 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.2421, allocations: 15.94 kB / 0.7906 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.2423, allocations: 101.6 kB / 0.7907 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.2424, allocations: 0 / 0.7907 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.2424, allocations: 8 kB / 0.7907 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2424, allocations: 0 / 0.7907 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.2426, allocations: 67.8 kB / 0.7907 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007916/0.2434, allocations: 0.4926 MB / 0.7912 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.2437, allocations: 138.6 kB / 0.7914 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.2438, allocations: 44.84 kB / 0.7914 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.2439, allocations: 4 kB / 0.7914 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.2441, allocations: 118.7 kB / 0.7915 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.784e-06/0.2441, allocations: 0 / 0.7915 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005252/0.2447, allocations: 221.3 kB / 0.7917 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.2447, allocations: 55.34 kB / 0.7918 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005594/0.2453, allocations: 0.5054 MB / 0.7923 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.2453, allocations: 37.69 kB / 0.7923 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.2454, allocations: 164.3 kB / 0.7925 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.2455, allocations: 39.55 kB / 0.7925 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.941e-05/0.2456, allocations: 65.97 kB / 0.7926 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2457, allocations: 350.8 kB / 0.7929 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.2459, allocations: 92.52 kB / 0.793 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.2462, allocations: 135.6 kB / 0.7931 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.2465, allocations: 190.5 kB / 0.7933 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2465, allocations: 0 / 0.7933 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005265/0.247, allocations: 321.1 kB / 0.7936 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2471, allocations: 6.656 kB / 0.7936 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2471, allocations: 0 / 0.7936 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2471, allocations: 8.062 kB / 0.7936 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.2473, allocations: 59.84 kB / 0.7937 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.2474, allocations: 4 kB / 0.7937 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.2475, allocations: 15.92 kB / 0.7937 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.2475, allocations: 12 kB / 0.7937 GB, free: 3.367 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.2477, allocations: 182.4 kB / 0.7939 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.2478, allocations: 39.52 kB / 0.7939 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.2479, allocations: 35.12 kB / 0.794 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.2479, allocations: 7.938 kB / 0.794 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2479, allocations: 0 / 0.794 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2479, allocations: 4 kB / 0.794 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.2482, allocations: 297.4 kB / 0.7942 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2482, allocations: 0 / 0.7942 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.638e-05/0.2483, allocations: 12 kB / 0.7943 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2483, allocations: 0 / 0.7943 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2483, allocations: 11.98 kB / 0.7943 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.2483, allocations: 3.938 kB / 0.7943 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2483, allocations: 3.938 kB / 0.7943 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.2487, allocations: 212.5 kB / 0.7945 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.2488, allocations: 112.7 kB / 0.7946 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.2489, allocations: 4 kB / 0.7946 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/0.249, allocations: 11.92 kB / 0.7946 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.249, allocations: 23.92 kB / 0.7946 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.2491, allocations: 7.984 kB / 0.7946 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003353/0.2494, allocations: 311.1 kB / 0.7949 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2494, allocations: 4 kB / 0.7949 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002919/0.2497, allocations: 55.98 kB / 0.795 GB, free: 1.957 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009615/0.2507, allocations: 434.8 kB / 0.7954 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004143/0.2511, allocations: 192.1 kB / 0.7956 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2511, allocations: 0 / 0.7956 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.2513, allocations: 67.28 kB / 0.7956 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.2517, allocations: 90.28 kB / 0.7957 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000798/0.2525, allocations: 0.5159 MB / 0.7962 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.2529, allocations: 0.7908 MB / 0.797 GB, free: 0 / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.2531, allocations: 54.94 kB / 0.7971 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.2532, allocations: 35.42 kB / 0.7971 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.2532, allocations: 4 kB / 0.7971 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of Templates: time 0.008739/0.2619, allocations: 4.05 MB / 0.8011 GB, free: 11.89 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)