Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.MultiSum,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",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.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001188/0.001188, allocations: 188.1 kB / 16.13 MB, free: 6.66 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.361/1.361, allocations: 205.1 MB / 222 MB, free: 4.969 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.599/1.599, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001317/0.001317, allocations: 65.34 kB / 0.6709 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1828, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00193/0.1847, allocations: 0.9031 MB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008839/0.1856, allocations: 0.8983 MB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.1857, allocations: 0 / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.1858, allocations: 7.922 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.337e-05/0.1859, allocations: 7.938 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.186, allocations: 55.88 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1862, allocations: 119.7 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1863, allocations: 37.11 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.1864, allocations: 59.7 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1865, allocations: 71.72 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.1866, allocations: 12 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.195e-05/0.1866, allocations: 8 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.1866, allocations: 35.89 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.763e-05/0.1867, allocations: 43.72 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1869, allocations: 143.7 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1869, allocations: 0 / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.61e-07/0.1869, allocations: 0 / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1869, allocations: 0 / 0.7851 GB, free: 11.52 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007584/0.1876, allocations: 450.9 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1877, allocations: 8.031 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.1877, allocations: 38.75 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.1878, allocations: 8.844 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.188, allocations: 210.1 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.188, allocations: 4.375 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.188, allocations: 12.38 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.1884, allocations: 149.5 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1884, allocations: 0 / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.1884, allocations: 8 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1885, allocations: 4 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005151/0.189, allocations: 159.8 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.1896, allocations: 416.4 kB / 0.7866 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008184/0.1904, allocations: 182.4 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.1907, allocations: 88.89 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1907, allocations: 0 / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.1907, allocations: 30.56 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 9.81e-07/0.1907, allocations: 4 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0008735/0.1916, allocations: 277.3 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.1917, allocations: 67.28 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1918, allocations: 149.2 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1918, allocations: 25.7 kB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.1919, allocations: 108 kB / 0.7874 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.1919, allocations: 31.55 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.192, allocations: 25.7 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.1921, allocations: 322.8 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.1924, allocations: 75.92 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.1926, allocations: 75.94 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004814/0.1931, allocations: 152.7 kB / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1931, allocations: 0 / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005643/0.1937, allocations: 201.9 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1937, allocations: 8 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1937, allocations: 4.031 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1937, allocations: 7.938 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.194, allocations: 43.89 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.194, allocations: 0 / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.1941, allocations: 23.91 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1942, allocations: 7.984 kB / 0.7884 GB, free: 7.969 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.839e-05/0.1943, allocations: 117.8 kB / 0.7885 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.1943, allocations: 19.81 kB / 0.7885 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.005e-05/0.1944, allocations: 24.62 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1944, allocations: 4 kB / 0.7885 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1944, allocations: 0 / 0.7885 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1944, allocations: 3.938 kB / 0.7885 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1946, allocations: 221.6 kB / 0.7888 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1946, allocations: 4 kB / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.1948, allocations: 35.95 kB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1949, allocations: 7.938 kB / 0.7888 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1949, allocations: 11.92 kB / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1949, allocations: 0 / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1949, allocations: 0 / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.1955, allocations: 303.2 kB / 0.7891 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.1955, allocations: 96.92 kB / 0.7892 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1956, allocations: 3.938 kB / 0.7892 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.1958, allocations: 19.97 kB / 0.7892 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-05/0.1959, allocations: 31.95 kB / 0.7892 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.1959, allocations: 4 kB / 0.7892 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.512e-05/0.196, allocations: 115.2 kB / 0.7894 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.196, allocations: 0 / 0.7894 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002309/0.1962, allocations: 19.94 kB / 0.7894 GB, free: 6.848 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0008785/0.1971, allocations: 0.845 MB / 0.7902 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005371/0.1976, allocations: 171.8 kB / 0.7904 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1976, allocations: 0 / 0.7904 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.1979, allocations: 107.8 kB / 0.7905 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.1982, allocations: 15.98 kB / 0.7905 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.2007, allocations: 1.866 MB / 0.7923 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.201, allocations: 0.7043 MB / 0.793 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.2011, allocations: 24.42 kB / 0.793 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.2012, allocations: 39.41 kB / 0.7931 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2012, allocations: 0 / 0.7931 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2591/0.4603, allocations: 3.304 MB / 0.7963 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/0.4606, allocations: 214.2 kB / 0.7965 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.197, allocations: 3.25 kB / 0.7965 GB, free: 15.49 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)