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.338/1.338, allocations: 251.5 MB / 266.7 MB, free: 11.08 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.0009338/0.0009339, allocations: 174.9 kB / 325.8 MB, free: 2.727 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.493/1.493, allocations: 205 MB / 0.576 GB, free: 21.01 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.0006729/0.0006728, allocations: 83.88 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.000318, allocations: 9.375 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1953, allocations: 105.4 MB / 0.8962 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001562/0.1969, allocations: 1.299 MB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004043/0.1973, allocations: 225.8 kB / 0.8977 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.1974, allocations: 0 / 0.8977 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.1975, allocations: 3.938 kB / 0.8977 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.1976, allocations: 19.91 kB / 0.8977 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.1978, allocations: 55.88 kB / 0.8978 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.1979, allocations: 115.7 kB / 0.8979 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.198, allocations: 48.94 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.134e-05/0.1981, allocations: 55.75 kB / 0.898 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.1982, allocations: 67.73 kB / 0.898 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.1982, allocations: 4 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.726e-05/0.1983, allocations: 4 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.1983, allocations: 27.91 kB / 0.8981 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.1984, allocations: 51.64 kB / 0.8981 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.1985, allocations: 123.5 kB / 0.8982 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1985, allocations: 4 kB / 0.8982 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1985, allocations: 0 / 0.8982 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.1985, allocations: 0 / 0.8982 GB, free: 66.01 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.0006436/0.1992, allocations: 439.1 kB / 0.8987 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1992, allocations: 12.03 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.1993, allocations: 38.73 kB / 0.8987 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1993, allocations: 16.75 kB / 0.8987 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.1995, allocations: 204.6 kB / 0.8989 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1995, allocations: 8.375 kB / 0.8989 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1995, allocations: 8.375 kB / 0.8989 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.1999, allocations: 170.8 kB / 0.8991 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1999, allocations: 4 kB / 0.8991 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1999, allocations: 4 kB / 0.8991 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1999, allocations: 4 kB / 0.8991 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.2004, allocations: 191.8 kB / 0.8993 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.2009, allocations: 416.5 kB / 0.8997 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.2017, allocations: 190.5 kB / 0.8999 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.2019, allocations: 104.9 kB / 0.9 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.202, allocations: 4 kB / 0.9 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.202, allocations: 30.56 kB / 0.9 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.202, allocations: 0 / 0.9 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0008459/0.2028, allocations: 329.2 kB / 0.9003 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.2029, allocations: 59.28 kB / 0.9004 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.203, allocations: 158.3 kB / 0.9005 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.203, allocations: 25.7 kB / 0.9006 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.203, allocations: 111.9 kB / 0.9007 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.2031, allocations: 27.64 kB / 0.9007 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.2031, allocations: 17.72 kB / 0.9007 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.2032, allocations: 322.8 kB / 0.901 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.2034, allocations: 87.92 kB / 0.9011 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.2037, allocations: 95.92 kB / 0.9012 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.2041, allocations: 184.7 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2041, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005324/0.2047, allocations: 241.9 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2047, allocations: 6.5 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2047, allocations: 3.938 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2047, allocations: 0 / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.2049, allocations: 51.89 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.205, allocations: 0 / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.2051, allocations: 31.97 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.2051, allocations: 7.938 kB / 0.9017 GB, free: 62.23 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.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 7.542e-05/0.2052, allocations: 125.8 kB / 0.9018 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.2053, allocations: 15.89 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.2053, allocations: 16.66 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2053, allocations: 4 kB / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2053, allocations: 0 / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2053, allocations: 0 / 0.9018 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.2055, allocations: 241.5 kB / 0.9021 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2055, allocations: 0 / 0.9021 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.2057, allocations: 43.95 kB / 0.9021 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2057, allocations: 7.938 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2058, allocations: 3.938 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2058, allocations: 0 / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2058, allocations: 0 / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.2063, allocations: 335.2 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.654e-05/0.2064, allocations: 92.94 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.2064, allocations: 3.938 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.2066, allocations: 31.97 kB / 0.9026 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.2067, allocations: 27.97 kB / 0.9026 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.2067, allocations: 11.98 kB / 0.9026 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.2068, allocations: 118.8 kB / 0.9027 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2068, allocations: 3.938 kB / 0.9027 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002197/0.207, allocations: 16 kB / 0.9027 GB, free: 61.07 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.0007606/0.2078, allocations: 0.8761 MB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.2083, allocations: 207.9 kB / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2083, allocations: 0 / 0.9038 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.2086, allocations: 115.8 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.2089, allocations: 21.25 kB / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.2112, allocations: 1.941 MB / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.2114, allocations: 0.7004 MB / 0.9065 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.2115, allocations: 24.42 kB / 0.9065 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.68e-05/0.2116, allocations: 43.41 kB / 0.9066 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.2116, allocations: 0 / 0.9066 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/0.2235, allocations: 3.245 MB / 0.9097 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.2237, allocations: 219.8 kB / 0.9099 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/1.854, allocations: 0 / 0.9099 GB, free: 53.68 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)