Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.784/1.784, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.00108/0.00108, allocations: 168.9 kB / 361.4 MB, free: 6.812 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.622/1.622, allocations: 205.3 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009393/0.0009394, allocations: 90.81 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.494e-05, allocations: 8 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7897/0.7898, allocations: 115.3 MB / 0.9645 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.9988, allocations: 136.5 MB / 1.098 GB, free: 3.246 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/0.9992, allocations: 75.95 kB / 1.098 GB, free: 3.172 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001509/1.001, allocations: 0.5539 MB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/1.001, allocations: 0 / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.534e-06/1.001, allocations: 0 / 1.098 GB, free: 2.629 MB / 0.698 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.0004112/1.001, allocations: 353.7 kB / 1.099 GB, free: 2.242 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/1.001, allocations: 8.031 kB / 1.099 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/1.001, allocations: 6.531 kB / 1.099 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/1.001, allocations: 171 kB / 1.099 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/1.001, allocations: 0 / 1.099 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/1.001, allocations: 0 / 1.099 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001051/1.002, allocations: 31.2 kB / 1.099 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/1.002, allocations: 54.31 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/1.002, allocations: 0 / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.002, allocations: 1.312 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/1.002, allocations: 7.984 kB / 1.099 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/1.002, allocations: 234.2 kB / 1.099 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.576e-05/1.002, allocations: 20.52 kB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/1.002, allocations: 5.547 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/1.002, allocations: 4.594 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/1.002, allocations: 35.14 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/1.002, allocations: 0.625 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.000203/1.002, allocations: 42.2 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/1.003, allocations: 77.77 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/1.003, allocations: 105 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/1.003, allocations: 26.33 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/1.003, allocations: 104.5 kB / 1.1 GB, free: 1.195 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.936e-06/1.003, allocations: 7.891 kB / 1.1 GB, free: 1.188 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/1.003, allocations: 0.875 kB / 1.1 GB, free: 1.188 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.003, allocations: 319.3 kB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/1.003, allocations: 10.31 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/1.003, allocations: 63.44 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.354e-05/1.003, allocations: 24.17 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/1.003, allocations: 0 / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001344/1.003, allocations: 81.05 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/1.003, allocations: 37.7 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.003, allocations: 0.75 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.003, allocations: 5.031 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.588e-05/1.003, allocations: 16.62 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/1.003, allocations: 0 / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/1.003, allocations: 14.11 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/1.003, allocations: 8 kB / 1.1 GB, free: 0.5977 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/1.004, allocations: 130.6 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.736e-05/1.004, allocations: 45.55 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/1.004, allocations: 2.969 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/1.004, allocations: 15.95 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/1.004, allocations: 0 / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.004, allocations: 0 / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/1.004, allocations: 7.797 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/1.004, allocations: 134.3 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.004, allocations: 0 / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-06/1.004, allocations: 3.438 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/1.004, allocations: 3.469 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/1.004, allocations: 5.219 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/1.004, allocations: 0 / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.004, allocations: 0 / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/1.004, allocations: 135.5 kB / 1.101 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/1.004, allocations: 85.02 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/1.004, allocations: 352 / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/1.004, allocations: 4 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/1.004, allocations: 0 / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/1.004, allocations: 4 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.396e-05/1.004, allocations: 95.2 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.004, allocations: 0 / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002321/1.005, allocations: 8 kB / 1.101 GB, free: 15.86 MB / 0.7136 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 () * 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 (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.0004239/1.005, allocations: 0.6849 MB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001141/1.005, allocations: 79.33 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.005, allocations: 0 / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/1.005, allocations: 55.41 kB / 1.102 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/1.005, allocations: 4 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/1.006, allocations: 96.59 kB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/1.006, allocations: 0.6923 MB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.334e-05/1.006, allocations: 8.172 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/1.006, allocations: 11.44 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/1.006, allocations: 0 / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/1.024, allocations: 0.9143 MB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/1.024, allocations: 170.9 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/2.555, allocations: 1.969 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)