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.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001325/0.001325, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.369/1.369, allocations: 205.1 MB / 222 MB, free: 4.664 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.602/1.602, allocations: 292.3 MB / 0.5484 GB, free: 13.65 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.001248/0.001248, allocations: 64.88 kB / 0.6709 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1794, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002711/0.1821, allocations: 2.056 MB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1836, allocations: 1.093 MB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.1837, allocations: 7.938 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.184, allocations: 151.6 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.1843, allocations: 135.5 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.1846, allocations: 177.5 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.1849, allocations: 291.2 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.185, allocations: 44.67 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.1852, allocations: 131.3 kB / 0.7868 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1853, allocations: 143.4 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.1854, allocations: 8 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1855, allocations: 51.91 kB / 0.787 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.1856, allocations: 83.67 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1857, allocations: 119.1 kB / 0.7872 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.186, allocations: 354.8 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.186, allocations: 3.938 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.32e-07/0.186, allocations: 0 / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.186, allocations: 4 kB / 0.7875 GB, free: 9.062 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.0007471/0.1868, allocations: 0.6146 MB / 0.7881 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.1868, allocations: 12.03 kB / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.1868, allocations: 38.69 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.1869, allocations: 40.45 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.1873, allocations: 366.5 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1873, allocations: 12.12 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.1874, allocations: 15.97 kB / 0.7886 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.1876, allocations: 105.5 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.1876, allocations: 4 kB / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1876, allocations: 0 / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.1876, allocations: 0 / 0.7887 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.1878, allocations: 67.89 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.1884, allocations: 496.4 kB / 0.7892 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.1887, allocations: 138.7 kB / 0.7893 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1889, allocations: 60.77 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1889, allocations: 4 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.1891, allocations: 107.3 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.1891, allocations: 0 / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0004648/0.1896, allocations: 227.8 kB / 0.7897 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1896, allocations: 59.41 kB / 0.7898 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.1901, allocations: 0.5055 MB / 0.7903 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.1901, allocations: 25.7 kB / 0.7903 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1902, allocations: 176.2 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.1903, allocations: 35.59 kB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.1904, allocations: 69.95 kB / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1905, allocations: 342.8 kB / 0.7909 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.1907, allocations: 104.5 kB / 0.791 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.1909, allocations: 135.6 kB / 0.7911 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.1912, allocations: 179.5 kB / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1912, allocations: 0 / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000484/0.1917, allocations: 325.1 kB / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.1917, allocations: 10.56 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1917, allocations: 0 / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1917, allocations: 15.86 kB / 0.7916 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.1919, allocations: 47.92 kB / 0.7917 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1919, allocations: 3.984 kB / 0.7917 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.1921, allocations: 19.84 kB / 0.7917 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.1921, allocations: 12 kB / 0.7917 GB, free: 4.504 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.000149/0.1923, allocations: 185.7 kB / 0.7919 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.1923, allocations: 35.62 kB / 0.7919 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.1924, allocations: 31.12 kB / 0.792 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1924, allocations: 7.938 kB / 0.792 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1924, allocations: 0 / 0.792 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1924, allocations: 0 / 0.792 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.1926, allocations: 305.4 kB / 0.7923 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1926, allocations: 0 / 0.7923 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.758e-05/0.1927, allocations: 11.98 kB / 0.7923 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1927, allocations: 4 kB / 0.7923 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1927, allocations: 0 / 0.7923 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.1927, allocations: 7.875 kB / 0.7923 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1927, allocations: 7.938 kB / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.1931, allocations: 212.6 kB / 0.7925 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.1932, allocations: 108.7 kB / 0.7926 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.1932, allocations: 11.98 kB / 0.7926 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.958e-05/0.1933, allocations: 7.938 kB / 0.7926 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.1934, allocations: 23.95 kB / 0.7926 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1934, allocations: 8 kB / 0.7926 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002844/0.1937, allocations: 319.1 kB / 0.7929 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1937, allocations: 0 / 0.7929 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002524/0.1939, allocations: 56 kB / 0.793 GB, free: 3.094 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.00131/0.1952, allocations: 1.048 MB / 0.794 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.1956, allocations: 191.8 kB / 0.7942 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1956, allocations: 4 kB / 0.7942 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.1958, allocations: 63.91 kB / 0.7943 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.1962, allocations: 89.92 kB / 0.7944 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.1996, allocations: 3.178 MB / 0.7975 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.1999, allocations: 0.7869 MB / 0.7982 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.2, allocations: 54.94 kB / 0.7983 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.2002, allocations: 103.4 kB / 0.7984 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.2002, allocations: 0 / 0.7984 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1987/0.3989, allocations: 6.749 MB / 0.805 GB, free: 7 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/0.3992, allocations: 246.9 kB / 0.8052 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.149, allocations: 0 / 0.8052 GB, free: 6.742 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)