Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.846/2.846, allocations: 284.9 MB / 292.4 MB, free: 10.51 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.001411/0.001411, allocations: 180.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.297/2.297, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001089/0.001087, allocations: 97.03 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.188e-05/4.187e-05, allocations: 8 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.82/0.8201, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/1.058, allocations: 136.3 MB / 1.097 GB, free: 4.258 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/1.058, allocations: 73.38 kB / 1.097 GB, free: 4.188 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001729/1.06, allocations: 0.5513 MB / 1.097 GB, free: 3.645 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/1.06, allocations: 4.594 kB / 1.097 GB, free: 3.641 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.481e-06/1.06, allocations: 0 / 1.097 GB, free: 3.641 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.0003458/1.06, allocations: 349.3 kB / 1.097 GB, free: 3.258 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.06, allocations: 12.03 kB / 1.097 GB, free: 3.246 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/1.06, allocations: 5.672 kB / 1.098 GB, free: 3.242 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/1.06, allocations: 175.6 kB / 1.098 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/1.06, allocations: 0 / 1.098 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/1.061, allocations: 4.656 kB / 1.098 GB, free: 3.027 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/1.061, allocations: 16 kB / 1.098 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/1.061, allocations: 50.31 kB / 1.098 GB, free: 2.957 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.061, allocations: 0.7188 kB / 1.098 GB, free: 2.957 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/1.061, allocations: 3.984 kB / 1.098 GB, free: 2.953 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/1.061, allocations: 12.88 kB / 1.098 GB, free: 2.941 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/1.061, allocations: 234 kB / 1.098 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.531e-05/1.061, allocations: 24.52 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/1.061, allocations: 8.922 kB / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.649e-06/1.061, allocations: 0.5938 kB / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/1.061, allocations: 31.56 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.274e-06/1.061, allocations: 0.7188 kB / 1.098 GB, free: 2.594 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.000201/1.062, allocations: 37.61 kB / 1.098 GB, free: 2.551 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/1.062, allocations: 85.75 kB / 1.098 GB, free: 2.449 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/1.062, allocations: 107.9 kB / 1.098 GB, free: 2.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/1.062, allocations: 27.02 kB / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/1.062, allocations: 99.78 kB / 1.098 GB, free: 2.207 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/1.062, allocations: 11.91 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/1.062, allocations: 0.5 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.062, allocations: 311.4 kB / 1.099 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/1.062, allocations: 21.56 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.994e-05/1.062, allocations: 59.52 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.903e-05/1.062, allocations: 22.42 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.062, allocations: 0 / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002038/1.063, allocations: 78.77 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.329e-05/1.063, allocations: 33.45 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.063, allocations: 4 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.063, allocations: 5.031 kB / 1.099 GB, free: 1.641 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.063, allocations: 15.92 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/1.063, allocations: 4 kB / 1.099 GB, free: 1.621 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/1.063, allocations: 13.83 kB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/1.063, allocations: 4.781 kB / 1.099 GB, free: 1.605 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 0.0001201/1.063, allocations: 141.4 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001195/1.063, allocations: 45.53 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/1.063, allocations: 4 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/1.063, allocations: 3.969 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.063, allocations: 0 / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.063, allocations: 3.953 kB / 1.099 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.063, allocations: 4 kB / 1.099 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/1.064, allocations: 135.7 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.064, allocations: 0 / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/1.064, allocations: 2.062 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.064, allocations: 0 / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/1.064, allocations: 3.438 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.064, allocations: 0 / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.064, allocations: 0 / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/1.064, allocations: 149.9 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/1.064, allocations: 81.02 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/1.064, allocations: 4 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/1.064, allocations: 0 / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/1.064, allocations: 0 / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/1.064, allocations: 4 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.725e-05/1.064, allocations: 90.47 kB / 1.1 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/1.064, allocations: 32 / 1.1 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003569/1.064, allocations: 16 kB / 1.1 GB, free: 0.8555 MB / 0.698 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.0005587/1.065, allocations: 0.6734 MB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001638/1.065, allocations: 79.73 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.065, allocations: 4.125 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.406e-05/1.065, allocations: 55.41 kB / 1.1 GB, free: 16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/1.066, allocations: 7.938 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/1.066, allocations: 99.98 kB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/1.066, allocations: 0.6832 MB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.504e-05/1.066, allocations: 13.42 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/1.066, allocations: 11.5 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of SimCode: time 7.12e-07/1.066, allocations: 0 / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0372/1.104, allocations: 0.9179 MB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003481/1.104, allocations: 158.3 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.513, allocations: 0 / 1.102 GB, free: 14.06 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)