Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.474/1.474, allocations: 251.9 MB / 266.8 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 182.6 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 90.3 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003513, allocations: 13.59 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1927, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001335/0.1941, allocations: 1.249 MB / 0.9014 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003817/0.1945, allocations: 205.2 kB / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.1945, allocations: 0 / 0.9016 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.644e-05/0.1946, allocations: 11.86 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.853e-05/0.1947, allocations: 15.97 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.1949, allocations: 47.88 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.195, allocations: 79.78 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.1951, allocations: 32.91 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.486e-05/0.1952, allocations: 51.81 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1953, allocations: 63.75 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.1953, allocations: 8 kB / 0.9019 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.846e-05/0.1954, allocations: 4 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.1954, allocations: 27.89 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.1954, allocations: 41.64 kB / 0.9019 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1956, allocations: 95.7 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1956, allocations: 0 / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.275e-06/0.1956, allocations: 0 / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1956, allocations: 0 / 0.902 GB, free: 61.88 MB / 0.6042 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.000679/0.1963, allocations: 439.2 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1963, allocations: 8.031 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.1964, allocations: 42.56 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.1964, allocations: 15.77 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.1966, allocations: 215.3 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1966, allocations: 8 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.1966, allocations: 8 kB / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.197, allocations: 167.4 kB / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.197, allocations: 0 / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.197, allocations: 0 / 0.9029 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1971, allocations: 7.984 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.1976, allocations: 191.8 kB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.1981, allocations: 416.5 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007682/0.1989, allocations: 186.4 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.1989, allocations: 4.031 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.1989, allocations: 34.56 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.1989, allocations: 0 / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0008916/0.1998, allocations: 337.7 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.1999, allocations: 51.41 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.2, allocations: 153.7 kB / 0.9042 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.2, allocations: 25.7 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.2, allocations: 112 kB / 0.9043 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.2001, allocations: 27.66 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/0.2001, allocations: 0 / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.2001, allocations: 326.8 kB / 0.9047 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.2004, allocations: 91.86 kB / 0.9048 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.2006, allocations: 87.92 kB / 0.9049 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.2009, allocations: 91.92 kB / 0.9049 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2009, allocations: 0 / 0.9049 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005509/0.2015, allocations: 237.3 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2015, allocations: 4 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2015, allocations: 4 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2015, allocations: 0 / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.2018, allocations: 51.95 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2018, allocations: 3.953 kB / 0.9052 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.202, allocations: 23.97 kB / 0.9053 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.202, allocations: 8.641 kB / 0.9053 GB, free: 58.34 MB / 0.6042 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 8.279e-05/0.2021, allocations: 125.8 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.2021, allocations: 11.91 kB / 0.9054 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.2021, allocations: 20.7 kB / 0.9054 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2022, allocations: 0 / 0.9054 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2022, allocations: 0 / 0.9054 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2022, allocations: 3.953 kB / 0.9054 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.2024, allocations: 241.3 kB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2024, allocations: 3.984 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.2026, allocations: 51.95 kB / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2026, allocations: 0 / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2026, allocations: 0 / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2026, allocations: 0 / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2026, allocations: 0 / 0.9057 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.2032, allocations: 343.2 kB / 0.906 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.2032, allocations: 85.02 kB / 0.9061 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.2033, allocations: 0 / 0.9061 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.2035, allocations: 27.97 kB / 0.9061 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.2036, allocations: 31.95 kB / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2036, allocations: 8 kB / 0.9062 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.325e-05/0.2037, allocations: 119.4 kB / 0.9063 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2037, allocations: 3.938 kB / 0.9063 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002307/0.2039, allocations: 19.91 kB / 0.9063 GB, free: 57.18 MB / 0.6042 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.0007507/0.2047, allocations: 0.8762 MB / 0.9072 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.2052, allocations: 195.8 kB / 0.9074 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2052, allocations: 4.375 kB / 0.9074 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.2055, allocations: 123.8 kB / 0.9075 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.2057, allocations: 12 kB / 0.9075 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.2073, allocations: 0.9124 MB / 0.9084 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.2075, allocations: 0.7121 MB / 0.9091 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.2076, allocations: 28.42 kB / 0.9091 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/0.2077, allocations: 31.42 kB / 0.9091 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2077, allocations: 0 / 0.9091 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.2197, allocations: 3.2 MB / 0.9123 GB, free: 51.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/0.2199, allocations: 204.9 kB / 0.9125 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/1.781, allocations: 0 / 0.9125 GB, free: 50.91 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1)