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.452/1.452, allocations: 251.9 MB / 266.9 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.0012/0.0012, allocations: 182.9 kB / 326.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.0008387/0.0008388, allocations: 96.45 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004962, allocations: 11.38 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2404, allocations: 106.3 MB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.4187, allocations: 130.9 MB / 1.028 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.419, allocations: 75.95 kB / 1.028 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0014/0.4204, allocations: 0.563 MB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4204, allocations: 0 / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.4204, allocations: 0 / 1.029 GB, free: 12.15 MB / 0.6823 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.0003154/0.4208, allocations: 357 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4208, allocations: 8.031 kB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.458e-05/0.4209, allocations: 38.56 kB / 1.029 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.488e-05/0.4209, allocations: 0 / 1.029 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.421, allocations: 163 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.421, allocations: 0 / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.421, allocations: 4 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.4212, allocations: 53.67 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4212, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4212, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.4212, allocations: 11.94 kB / 1.029 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.954e-05/0.4213, allocations: 23.98 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.4217, allocations: 264.8 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.719e-05/0.4217, allocations: 22.52 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.4218, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.4218, allocations: 30.56 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 2.635e-06/0.4218, allocations: 4 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.422, allocations: 79.34 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.422, allocations: 77.11 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.558e-05/0.4221, allocations: 108.9 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.4221, allocations: 25.7 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.4222, allocations: 103.8 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.766e-06/0.4222, allocations: 3.984 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.4222, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.4224, allocations: 319 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.4224, allocations: 11.98 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-05/0.4224, allocations: 58.81 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.265e-05/0.4225, allocations: 49.69 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4225, allocations: 3.938 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001394/0.4227, allocations: 115.2 kB / 1.03 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.4227, allocations: 31.58 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4227, allocations: 4.25 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4227, allocations: 7.984 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.17e-05/0.4228, allocations: 16 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.4228, allocations: 7.953 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.551e-05/0.4229, allocations: 12.52 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.4229, allocations: 4 kB / 1.031 GB, free: 9.891 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.423, allocations: 147.5 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.423, allocations: 4 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.484e-05/0.4231, allocations: 3.531 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4231, allocations: 4 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4231, allocations: 4 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4231, allocations: 3.953 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.4232, allocations: 153.7 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4232, allocations: 0 / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.4233, allocations: 0 / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4233, allocations: 0 / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.4233, allocations: 0 / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4233, allocations: 0 / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4233, allocations: 4 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.4234, allocations: 173 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.4235, allocations: 81.11 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.4235, allocations: 4 kB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.867e-05/0.4235, allocations: 3.984 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.4236, allocations: 4 kB / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.4236, allocations: 3.938 kB / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.4236, allocations: 87.28 kB / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4236, allocations: 32 / 1.031 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002318/0.4239, allocations: 19.98 kB / 1.031 GB, free: 9.098 MB / 0.6823 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 (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.0004253/0.4243, allocations: 0.6986 MB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.4244, allocations: 91.73 kB / 1.032 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4245, allocations: 3.938 kB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-05/0.4245, allocations: 55.41 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.4246, allocations: 11.98 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.425, allocations: 146.7 kB / 1.032 GB, free: 8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.4252, allocations: 0.6809 MB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.384e-05/0.4253, allocations: 16.3 kB / 1.033 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.4253, allocations: 11.42 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of SimCode: time 2.7e-07/0.4253, allocations: 0 / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01242/0.4378, allocations: 1.205 MB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.438, allocations: 213 kB / 1.034 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.984, allocations: 0 / 1.034 GB, free: 5.984 MB / 0.6823 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)