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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.668/1.668, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001421/0.001422, allocations: 66.33 kB / 0.6716 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1878, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002982/0.1908, allocations: 2.001 MB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1925, allocations: 1.086 MB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1926, allocations: 15.88 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.193, allocations: 163.5 kB / 0.7867 GB, free: 10.09 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.0003074/0.1933, allocations: 159.3 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.1937, allocations: 182.6 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.194, allocations: 315.2 kB / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1942, allocations: 44.66 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1944, allocations: 139.5 kB / 0.7875 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.1945, allocations: 147.4 kB / 0.7876 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.1946, allocations: 16 kB / 0.7876 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.1947, allocations: 67.89 kB / 0.7877 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.16e-05/0.1948, allocations: 79.75 kB / 0.7878 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1949, allocations: 127.1 kB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.1953, allocations: 358.7 kB / 0.7882 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1953, allocations: 4 kB / 0.7882 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1953, allocations: 0 / 0.7882 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1953, allocations: 0 / 0.7882 GB, free: 8.484 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.0008447/0.1962, allocations: 0.6263 MB / 0.7888 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1962, allocations: 8.031 kB / 0.7889 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.1963, allocations: 46.69 kB / 0.7889 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.1963, allocations: 36.45 kB / 0.7889 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.1968, allocations: 370.5 kB / 0.7893 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1968, allocations: 8.125 kB / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.1968, allocations: 11.98 kB / 0.7893 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.1971, allocations: 108.2 kB / 0.7894 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.1971, allocations: 0 / 0.7894 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.1971, allocations: 7.984 kB / 0.7894 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1971, allocations: 0 / 0.7894 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.1973, allocations: 67.89 kB / 0.7895 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006978/0.198, allocations: 496.4 kB / 0.79 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.1983, allocations: 142.7 kB / 0.7901 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.1984, allocations: 44.83 kB / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1985, allocations: 4 kB / 0.7901 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.1987, allocations: 107.3 kB / 0.7902 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.1987, allocations: 0 / 0.7902 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0005082/0.1992, allocations: 235.8 kB / 0.7905 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.1993, allocations: 55.41 kB / 0.7905 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.1998, allocations: 0.5016 MB / 0.791 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1998, allocations: 29.7 kB / 0.791 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1999, allocations: 172.3 kB / 0.7912 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.2, allocations: 31.61 kB / 0.7912 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.2001, allocations: 69.95 kB / 0.7913 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2002, allocations: 350.8 kB / 0.7916 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.2004, allocations: 104.4 kB / 0.7917 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.2006, allocations: 131.6 kB / 0.7919 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.2009, allocations: 186.5 kB / 0.792 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2009, allocations: 4 kB / 0.792 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000499/0.2014, allocations: 321.1 kB / 0.7923 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2014, allocations: 4 kB / 0.7924 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2014, allocations: 4 kB / 0.7924 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2015, allocations: 7.922 kB / 0.7924 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.2017, allocations: 51.92 kB / 0.7924 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2017, allocations: 3.984 kB / 0.7924 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2018, allocations: 19.84 kB / 0.7924 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.2019, allocations: 11.98 kB / 0.7924 GB, free: 3.926 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.0001503/0.202, allocations: 185.8 kB / 0.7926 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.2021, allocations: 31.62 kB / 0.7927 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.2021, allocations: 35.12 kB / 0.7927 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.2022, allocations: 11.88 kB / 0.7927 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2022, allocations: 0 / 0.7927 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2022, allocations: 0 / 0.7927 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.2024, allocations: 301.4 kB / 0.793 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2024, allocations: 0 / 0.793 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.457e-05/0.2025, allocations: 11.98 kB / 0.793 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2025, allocations: 8 kB / 0.793 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2025, allocations: 7.938 kB / 0.793 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2025, allocations: 3.938 kB / 0.793 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2025, allocations: 0 / 0.793 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.2029, allocations: 208.6 kB / 0.7932 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.203, allocations: 108.7 kB / 0.7933 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.203, allocations: 11.98 kB / 0.7933 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.2031, allocations: 7.938 kB / 0.7933 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.2032, allocations: 19.97 kB / 0.7934 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.2032, allocations: 12 kB / 0.7934 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003043/0.2035, allocations: 315.1 kB / 0.7937 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2035, allocations: 3.938 kB / 0.7937 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002783/0.2038, allocations: 52 kB / 0.7937 GB, free: 2.52 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.001423/0.2053, allocations: 1.064 MB / 0.7948 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000423/0.2057, allocations: 208 kB / 0.795 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2057, allocations: 0 / 0.795 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.2059, allocations: 63.95 kB / 0.795 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.2063, allocations: 88.75 kB / 0.7951 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.2099, allocations: 3.131 MB / 0.7982 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.2102, allocations: 0.7986 MB / 0.7989 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.2103, allocations: 54.94 kB / 0.799 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.2105, allocations: 107.4 kB / 0.7991 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.2105, allocations: 4 kB / 0.7991 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.2329, allocations: 7.048 MB / 0.806 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.014, allocations: 7.312 kB / 0.806 GB, free: 6.113 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)