Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.697/1.697, allocations: 288.4 MB / 303.3 MB, free: 8.152 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.001136/0.001136, allocations: 174.2 kB / 372 MB, free: 10.29 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.604/1.604, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0006876/0.0006878, allocations: 93.23 kB / 0.7441 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003633, allocations: 16.53 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1948, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.0009098/0.1958, allocations: 0.5329 MB / 0.9802 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009316/0.1967, allocations: 0.8915 MB / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.087e-05/0.1968, allocations: 0 / 0.981 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.1969, allocations: 7.875 kB / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.1971, allocations: 19.91 kB / 0.9811 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.1973, allocations: 35.95 kB / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1974, allocations: 111.7 kB / 0.9812 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1975, allocations: 37.03 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.1976, allocations: 47.83 kB / 0.9813 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1978, allocations: 63.73 kB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.1978, allocations: 8 kB / 0.9814 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.286e-05/0.1978, allocations: 4 kB / 0.9814 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/0.1979, allocations: 39.83 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.1979, allocations: 37.64 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.198, allocations: 96.06 kB / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.198, allocations: 0 / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.493e-06/0.198, allocations: 0 / 0.9815 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1981, allocations: 0 / 0.9815 GB, free: 25.65 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007832/0.1988, allocations: 446.8 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1989, allocations: 12.02 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.1989, allocations: 42.55 kB / 0.982 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.199, allocations: 15.91 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.1992, allocations: 208.8 kB / 0.9822 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.1992, allocations: 4 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1992, allocations: 8 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.1997, allocations: 161.5 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1997, allocations: 3.953 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.1997, allocations: 11.98 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1997, allocations: 4 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.2004, allocations: 188.5 kB / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.2011, allocations: 420.4 kB / 0.983 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000992/0.2021, allocations: 190.5 kB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.2025, allocations: 104.9 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.2025, allocations: 3.984 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.2026, allocations: 30.56 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/0.2026, allocations: 0 / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.001145/0.2037, allocations: 325.5 kB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.2038, allocations: 67.34 kB / 0.9837 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.2039, allocations: 145.8 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.2039, allocations: 25.7 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.204, allocations: 108 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.204, allocations: 35.48 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.204, allocations: 0 / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.237e-05/0.2041, allocations: 322.8 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.2044, allocations: 91.92 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.2046, allocations: 95.92 kB / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.2049, allocations: 83.94 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2049, allocations: 0.5625 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005783/0.2055, allocations: 241.3 kB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.2055, allocations: 5.875 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2055, allocations: 4 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.2056, allocations: 0 / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.2058, allocations: 47.95 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.2058, allocations: 3.953 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.206, allocations: 39.81 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.2061, allocations: 0 / 0.9849 GB, free: 22 MB / 0.6198 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.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 initialization (10): * Single equations (assignments): 10 * 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 9.456e-05/0.2062, allocations: 131.5 kB / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.2062, allocations: 7.906 kB / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.2062, allocations: 16.72 kB / 0.985 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2062, allocations: 0 / 0.985 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2063, allocations: 4 kB / 0.985 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2063, allocations: 11.94 kB / 0.985 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.2065, allocations: 225.6 kB / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2065, allocations: 0 / 0.9852 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.2067, allocations: 47.95 kB / 0.9853 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2067, allocations: 0 / 0.9853 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2068, allocations: 7.984 kB / 0.9853 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2068, allocations: 0 / 0.9853 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2068, allocations: 0 / 0.9853 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/0.2074, allocations: 343.2 kB / 0.9856 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.2074, allocations: 88.92 kB / 0.9857 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.2074, allocations: 0 / 0.9857 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.2077, allocations: 27.97 kB / 0.9857 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.2078, allocations: 39.89 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.2078, allocations: 4 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.787e-05/0.2078, allocations: 107.8 kB / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2078, allocations: 0 / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002332/0.2081, allocations: 27.94 kB / 0.9859 GB, free: 20.84 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: 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 (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.0008051/0.2089, allocations: 0.8763 MB / 0.9868 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005696/0.2095, allocations: 207.8 kB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2095, allocations: 0 / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.2098, allocations: 111.9 kB / 0.9871 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.2101, allocations: 15.98 kB / 0.9871 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.2117, allocations: 0.912 MB / 0.988 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.2119, allocations: 0.7082 MB / 0.9887 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.212, allocations: 20.42 kB / 0.9887 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.652e-05/0.2121, allocations: 39.42 kB / 0.9887 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of SimCode: time 7.92e-07/0.2121, allocations: 0 / 0.9887 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.225, allocations: 3.239 MB / 0.9919 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.2252, allocations: 199.6 kB / 0.9921 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/1.972, allocations: 64 / 0.9921 GB, free: 14.55 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)