Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.479/1.479, allocations: 287.4 MB / 302.6 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00087/0.00087, allocations: 187.4 kB / 371.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.233/1.233, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007375/0.0007376, allocations: 102.4 kB / 0.7431 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 12.72 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1749, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002126/0.1771, allocations: 1.639 MB / 0.9804 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.1787, allocations: 1.036 MB / 0.9814 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1789, allocations: 7.938 kB / 0.9814 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1793, allocations: 147.6 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1795, allocations: 123.5 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1798, allocations: 162 kB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.1801, allocations: 271.1 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1802, allocations: 44.66 kB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1803, allocations: 119.4 kB / 0.9822 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.1805, allocations: 127.5 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.1805, allocations: 8 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.1806, allocations: 47.91 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.1807, allocations: 75.73 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.1807, allocations: 65.58 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.181, allocations: 283.2 kB / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.181, allocations: 0 / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/0.181, allocations: 0 / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.181, allocations: 0 / 0.9828 GB, free: 23.92 MB / 0.6198 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.000672/0.1817, allocations: 0.5779 MB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1817, allocations: 12.03 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.1817, allocations: 34.75 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.1818, allocations: 36.47 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.1822, allocations: 378.4 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1822, allocations: 12.03 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1822, allocations: 12 kB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1824, allocations: 103.6 kB / 0.9839 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1824, allocations: 4 kB / 0.9839 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1824, allocations: 8 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1824, allocations: 0 / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1826, allocations: 59.95 kB / 0.984 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.1832, allocations: 0.4886 MB / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.1834, allocations: 138.7 kB / 0.9846 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.874e-05/0.1835, allocations: 44.84 kB / 0.9846 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1836, allocations: 0 / 0.9846 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.1838, allocations: 127.4 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.1838, allocations: 0 / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.000401/0.1842, allocations: 222.1 kB / 0.985 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.1842, allocations: 55.41 kB / 0.985 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.1846, allocations: 0.5015 MB / 0.9855 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1846, allocations: 33.7 kB / 0.9855 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.1847, allocations: 164.4 kB / 0.9857 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.1848, allocations: 39.61 kB / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.1848, allocations: 4 kB / 0.9857 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.1849, allocations: 350.8 kB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.185, allocations: 92.52 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.1852, allocations: 143.5 kB / 0.9863 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.1854, allocations: 187 kB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1854, allocations: 0 / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003893/0.1858, allocations: 313.2 kB / 0.9868 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1859, allocations: 8 kB / 0.9868 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1859, allocations: 0 / 0.9868 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1859, allocations: 3.938 kB / 0.9868 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.1861, allocations: 51.91 kB / 0.9868 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1861, allocations: 4 kB / 0.9868 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.1862, allocations: 23.89 kB / 0.9869 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.1862, allocations: 12 kB / 0.9869 GB, free: 19.5 MB / 0.6198 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.0001187/0.1864, allocations: 195 kB / 0.9871 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1864, allocations: 31.53 kB / 0.9871 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.1865, allocations: 35.12 kB / 0.9871 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1865, allocations: 3.938 kB / 0.9871 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1865, allocations: 4 kB / 0.9871 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1865, allocations: 7.938 kB / 0.9871 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.1867, allocations: 297.4 kB / 0.9874 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1867, allocations: 0 / 0.9874 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.545e-05/0.1867, allocations: 15.98 kB / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1867, allocations: 0 / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1868, allocations: 4 kB / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1868, allocations: 3.938 kB / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1868, allocations: 0 / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.187, allocations: 214.8 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.1871, allocations: 120.6 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.1872, allocations: 4 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.1872, allocations: 7.938 kB / 0.9878 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.1873, allocations: 19.97 kB / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1873, allocations: 8 kB / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002306/0.1876, allocations: 319.1 kB / 0.9881 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.92e-07/0.1876, allocations: 0 / 0.9881 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002289/0.1878, allocations: 55.94 kB / 0.9882 GB, free: 18.08 MB / 0.6198 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.001121/0.1889, allocations: 1.057 MB / 0.9892 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003082/0.1892, allocations: 191.8 kB / 0.9894 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1893, allocations: 4.125 kB / 0.9894 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.1894, allocations: 63.91 kB / 0.9894 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1898, allocations: 77.38 kB / 0.9895 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.192, allocations: 2.076 MB / 0.9915 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.1922, allocations: 0.7869 MB / 0.9923 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.1923, allocations: 58.94 kB / 0.9924 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.1925, allocations: 107.4 kB / 0.9925 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of SimCode: time 8.12e-07/0.1925, allocations: 0 / 0.9925 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/0.2079, allocations: 6.965 MB / 0.9993 GB, free: 6.922 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/0.2081, allocations: 225.2 kB / 0.9995 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.073, allocations: 3.938 kB / 0.9995 GB, free: 6.68 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)