Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.337/1.337, allocations: 252 MB / 267.3 MB, free: 10.86 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.0008807/0.0008806, allocations: 180.1 kB / 327 MB, free: 2.102 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.45/1.45, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0007457/0.0007457, allocations: 87.8 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.0003121, allocations: 9.906 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.195, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.000777/0.1958, allocations: 338 kB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002957/0.1962, allocations: 41.22 kB / 0.9013 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.831e-05/0.1962, allocations: 4 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.1962, allocations: 0 / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.325e-05/0.1963, allocations: 4 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.1965, allocations: 7.984 kB / 0.9013 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.426e-05/0.1966, allocations: 4 kB / 0.9013 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.1966, allocations: 3.984 kB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.436e-05/0.1967, allocations: 4 kB / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.056e-05/0.1967, allocations: 0 / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1967, allocations: 0 / 0.9013 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1968, allocations: 23.92 kB / 0.9013 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.1969, allocations: 11.94 kB / 0.9013 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1969, allocations: 25.7 kB / 0.9014 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.197, allocations: 31.91 kB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.1971, allocations: 3.984 kB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1971, allocations: 3.938 kB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.1971, allocations: 0 / 0.9014 GB, free: 62.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002656/0.1973, allocations: 341.3 kB / 0.9017 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.1974, allocations: 12.03 kB / 0.9017 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.1974, allocations: 34.73 kB / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.555e-05/0.1975, allocations: 0.9375 kB / 0.9018 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6e-05/0.1975, allocations: 164.4 kB / 0.9019 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1976, allocations: 4.375 kB / 0.9019 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.1976, allocations: 384 / 0.9019 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1977, allocations: 58.19 kB / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1977, allocations: 3.938 kB / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.1977, allocations: 0 / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/0.1978, allocations: 11.98 kB / 0.902 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.401e-05/0.1978, allocations: 23.92 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.1981, allocations: 277 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.112e-05/0.1981, allocations: 18.58 kB / 0.9023 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.36e-05/0.1982, allocations: 8.844 kB / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-06/0.1982, allocations: 0 / 0.9023 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.1982, allocations: 30.56 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/0.1982, allocations: 4.062 kB / 0.9024 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001539/0.1984, allocations: 67.44 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.1984, allocations: 81.14 kB / 0.9025 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.769e-05/0.1985, allocations: 121.7 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.1985, allocations: 29.7 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.1985, allocations: 99.8 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.722e-06/0.1985, allocations: 4 kB / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.1986, allocations: 0 / 0.9027 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.137e-05/0.1986, allocations: 322.8 kB / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.1986, allocations: 8 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/0.1987, allocations: 66.8 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.8e-05/0.1988, allocations: 130.2 kB / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1988, allocations: 0 / 0.9032 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001316/0.1989, allocations: 119.4 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.199, allocations: 41.69 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.199, allocations: 0 / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.199, allocations: 8 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.1991, allocations: 15.94 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1991, allocations: 3.938 kB / 0.9034 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.1992, allocations: 7.906 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.1992, allocations: 11.94 kB / 0.9034 GB, free: 60.47 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.126e-05/0.1993, allocations: 147.5 kB / 0.9036 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.1993, allocations: 8.062 kB / 0.9036 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.383e-05/0.1993, allocations: 3.531 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1993, allocations: 0 / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1993, allocations: 0 / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1993, allocations: 3.938 kB / 0.9036 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.1994, allocations: 157.6 kB / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1995, allocations: 0 / 0.9037 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-07/0.1995, allocations: 4 kB / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1995, allocations: 0 / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.1995, allocations: 0 / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1995, allocations: 3.984 kB / 0.9038 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.1995, allocations: 7.938 kB / 0.9038 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.863e-05/0.1996, allocations: 165.1 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.1996, allocations: 81.09 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1997, allocations: 7.984 kB / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.844e-05/0.1997, allocations: 0 / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.1997, allocations: 0 / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.1997, allocations: 4 kB / 0.904 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.893e-05/0.1998, allocations: 99.23 kB / 0.9041 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1998, allocations: 0 / 0.9041 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002474/0.2, allocations: 8 kB / 0.9041 GB, free: 59.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002941/0.2003, allocations: 0.6985 MB / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.2005, allocations: 87.36 kB / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2005, allocations: 0 / 0.9049 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.808e-05/0.2005, allocations: 55.41 kB / 0.9049 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.2007, allocations: 12.92 kB / 0.9049 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.201, allocations: 148.7 kB / 0.9051 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.2011, allocations: 0.677 MB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.318e-05/0.2012, allocations: 23.67 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.2013, allocations: 11.42 kB / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2013, allocations: 3.938 kB / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009553/0.2108, allocations: 1.236 MB / 0.907 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.211, allocations: 226.9 kB / 0.9072 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/1.772, allocations: 4 kB / 0.9072 GB, free: 56.52 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)