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.696/1.696, allocations: 252 MB / 267.3 MB, free: 10.87 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.001596/0.001596, allocations: 174.6 kB / 327 MB, free: 2.129 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.994/1.994, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0008823/0.0008823, allocations: 97.06 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 12.8 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2132, allocations: 106.3 MB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001524/0.2148, allocations: 1.284 MB / 0.9022 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004422/0.2152, allocations: 208.2 kB / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.233e-05/0.2153, allocations: 0 / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.2155, allocations: 7.938 kB / 0.9024 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.2156, allocations: 19.84 kB / 0.9024 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.2158, allocations: 43.95 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.216, allocations: 127.7 kB / 0.9026 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.2161, allocations: 44.72 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.2163, allocations: 55.75 kB / 0.9027 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.2164, allocations: 63.75 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.2165, allocations: 4 kB / 0.9027 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.471e-05/0.2165, allocations: 11.94 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.2166, allocations: 23.89 kB / 0.9028 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.33e-05/0.2167, allocations: 69.42 kB / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.2169, allocations: 135.5 kB / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2169, allocations: 0 / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2169, allocations: 0 / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2169, allocations: 0 / 0.903 GB, free: 61.34 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.0008824/0.2178, allocations: 435.4 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2179, allocations: 8.031 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.091e-05/0.2179, allocations: 46.73 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.218, allocations: 12.75 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.2182, allocations: 206.1 kB / 0.9036 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.2182, allocations: 8.375 kB / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.2182, allocations: 4.375 kB / 0.9036 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.2187, allocations: 180.2 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2187, allocations: 0 / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.2187, allocations: 0 / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2187, allocations: 4 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.2193, allocations: 195.8 kB / 0.904 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.2199, allocations: 412.4 kB / 0.9044 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007689/0.2206, allocations: 194.5 kB / 0.9046 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.2209, allocations: 104.8 kB / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.221, allocations: 7.984 kB / 0.9047 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.221, allocations: 38.5 kB / 0.9047 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.221, allocations: 0 / 0.9047 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0009088/0.2219, allocations: 325.3 kB / 0.905 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.2219, allocations: 55.34 kB / 0.9051 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.222, allocations: 157.6 kB / 0.9052 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.2221, allocations: 29.7 kB / 0.9053 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.2221, allocations: 104 kB / 0.9054 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.2221, allocations: 27.64 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.2222, allocations: 8 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.325e-05/0.2222, allocations: 314.8 kB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.2225, allocations: 91.92 kB / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.2227, allocations: 87.92 kB / 0.9059 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.2232, allocations: 200.6 kB / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2232, allocations: 0 / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005754/0.2238, allocations: 230 kB / 0.9063 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2239, allocations: 12 kB / 0.9063 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2239, allocations: 3.938 kB / 0.9063 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2239, allocations: 0 / 0.9063 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.2242, allocations: 47.89 kB / 0.9064 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2242, allocations: 0 / 0.9064 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.2244, allocations: 39.88 kB / 0.9064 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.2244, allocations: 7.984 kB / 0.9064 GB, free: 57.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.2245, allocations: 117.8 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.2245, allocations: 7.906 kB / 0.9065 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.829e-05/0.2246, allocations: 24.64 kB / 0.9065 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2246, allocations: 0 / 0.9065 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2246, allocations: 4 kB / 0.9065 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2246, allocations: 3.984 kB / 0.9065 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.2248, allocations: 241.4 kB / 0.9068 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2248, allocations: 0 / 0.9068 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.2251, allocations: 47.89 kB / 0.9068 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2251, allocations: 3.984 kB / 0.9068 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.2251, allocations: 3.938 kB / 0.9068 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2251, allocations: 11.98 kB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2251, allocations: 3.938 kB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.2257, allocations: 331.2 kB / 0.9072 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.2257, allocations: 85.02 kB / 0.9072 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.2258, allocations: 7.938 kB / 0.9073 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.226, allocations: 27.97 kB / 0.9073 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-05/0.2261, allocations: 31.95 kB / 0.9073 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.2261, allocations: 0 / 0.9073 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.2262, allocations: 115.2 kB / 0.9074 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2262, allocations: 0 / 0.9074 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002319/0.2264, allocations: 24 kB / 0.9074 GB, free: 56.42 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 (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.0008808/0.2273, allocations: 0.884 MB / 0.9083 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005996/0.2279, allocations: 195.8 kB / 0.9085 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2279, allocations: 0 / 0.9085 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.2282, allocations: 123.8 kB / 0.9086 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.2285, allocations: 8 kB / 0.9086 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.2309, allocations: 1.962 MB / 0.9105 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.2311, allocations: 0.7043 MB / 0.9112 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.2312, allocations: 20.42 kB / 0.9112 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.2313, allocations: 43.97 kB / 0.9113 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of SimCode: time 6.21e-07/0.2313, allocations: 4 kB / 0.9113 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.2438, allocations: 3.233 MB / 0.9144 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.2441, allocations: 220.6 kB / 0.9147 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.12, allocations: 0 / 0.9147 GB, free: 49.02 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)