Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4967/0.499, allocations: 80.81 MB / 0.5904 GB, free: 22.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002884/0.5019, allocations: 0.5486 MB / 0.591 GB, free: 21.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004114/0.5024, allocations: 39.44 kB / 0.591 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.5025, allocations: 0.9062 kB / 0.591 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.521e-05/0.5026, allocations: 0 / 0.591 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.949e-05/0.5026, allocations: 6.156 kB / 0.591 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.503, allocations: 9.172 kB / 0.591 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.5031, allocations: 8.438 kB / 0.591 GB, free: 21.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.491e-05/0.5032, allocations: 9.391 kB / 0.591 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.161e-05/0.5032, allocations: 2.75 kB / 0.591 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.22e-05/0.5033, allocations: 0 / 0.591 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.5033, allocations: 0.9375 kB / 0.591 GB, free: 21.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.5034, allocations: 21.42 kB / 0.591 GB, free: 21.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.5035, allocations: 6.219 kB / 0.5911 GB, free: 21.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.5036, allocations: 9.984 kB / 0.5911 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.5037, allocations: 16.98 kB / 0.5911 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5037, allocations: 2.406 kB / 0.5911 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.5037, allocations: 0 / 0.5911 GB, free: 21.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.739e-06/0.5037, allocations: 0 / 0.5911 GB, free: 21.76 MB / 446.1 MB 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.0004724/0.5042, allocations: 354.2 kB / 0.5914 GB, free: 21.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.5043, allocations: 9.031 kB / 0.5914 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.5044, allocations: 6.188 kB / 0.5914 GB, free: 21.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.522e-05/0.5045, allocations: 169.4 kB / 0.5916 GB, free: 21.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.5045, allocations: 7.328 kB / 0.5916 GB, free: 21.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.5045, allocations: 384 / 0.5916 GB, free: 21.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.5047, allocations: 63.78 kB / 0.5917 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.5047, allocations: 0 / 0.5917 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.5048, allocations: 1.312 kB / 0.5917 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.829e-05/0.5048, allocations: 5.312 kB / 0.5917 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.237e-05/0.5049, allocations: 27.44 kB / 0.5917 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.5054, allocations: 272.4 kB / 0.592 GB, free: 20.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.314e-05/0.5055, allocations: 21.98 kB / 0.592 GB, free: 20.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.5055, allocations: 6.078 kB / 0.592 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.5055, allocations: 2.781 kB / 0.592 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.5056, allocations: 35.67 kB / 0.592 GB, free: 20.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.5056, allocations: 2.625 kB / 0.592 GB, free: 20.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002763/0.5059, allocations: 65.06 kB / 0.5921 GB, free: 20.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.5059, allocations: 78.27 kB / 0.5922 GB, free: 20.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.5061, allocations: 121.9 kB / 0.5923 GB, free: 20.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.5061, allocations: 26.77 kB / 0.5923 GB, free: 20.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.5062, allocations: 101.8 kB / 0.5924 GB, free: 20.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.5062, allocations: 9.156 kB / 0.5924 GB, free: 20.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.5063, allocations: 26.27 kB / 0.5924 GB, free: 20.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.5064, allocations: 312.2 kB / 0.5927 GB, free: 19.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.5064, allocations: 10.75 kB / 0.5927 GB, free: 19.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-05/0.5065, allocations: 61.14 kB / 0.5928 GB, free: 19.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.5066, allocations: 127.5 kB / 0.5929 GB, free: 19.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.5066, allocations: 1.062 kB / 0.5929 GB, free: 19.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002005/0.5068, allocations: 124 kB / 0.593 GB, free: 19.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.5069, allocations: 32.14 kB / 0.5931 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5069, allocations: 10.31 kB / 0.5931 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.5069, allocations: 2.344 kB / 0.5931 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.704e-05/0.507, allocations: 10.66 kB / 0.5931 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.507, allocations: 2.031 kB / 0.5931 GB, free: 19.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.053e-05/0.5071, allocations: 17.03 kB / 0.5931 GB, free: 19.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.5071, allocations: 9.25 kB / 0.5931 GB, free: 19.61 MB / 446.1 MB 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 0.0001124/0.5073, allocations: 148 kB / 0.5933 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.5073, allocations: 2.438 kB / 0.5933 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.5073, allocations: 8.688 kB / 0.5933 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5073, allocations: 1.375 kB / 0.5933 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.5074, allocations: 0 / 0.5933 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5074, allocations: 3.938 kB / 0.5933 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.5075, allocations: 154.4 kB / 0.5934 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5075, allocations: 0 / 0.5934 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-06/0.5075, allocations: 1.5 kB / 0.5934 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5075, allocations: 0 / 0.5934 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.5076, allocations: 8.922 kB / 0.5934 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5076, allocations: 0 / 0.5934 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5076, allocations: 1.156 kB / 0.5934 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.5077, allocations: 172.4 kB / 0.5936 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.5077, allocations: 82.34 kB / 0.5937 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.5077, allocations: 1 kB / 0.5937 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.182e-05/0.5078, allocations: 1.062 kB / 0.5937 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.5078, allocations: 5.219 kB / 0.5937 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.5078, allocations: 2.312 kB / 0.5937 GB, free: 18.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.99e-05/0.5079, allocations: 95.31 kB / 0.5938 GB, free: 18.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5079, allocations: 4.031 kB / 0.5938 GB, free: 18.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000286/0.5082, allocations: 13.44 kB / 0.5938 GB, free: 18.87 MB / 446.1 MB 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.0001754/0.5084, allocations: 108.3 kB / 0.5939 GB, free: 18.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.5085, allocations: 83.52 kB / 0.594 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5085, allocations: 0 / 0.594 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.623e-05/0.5085, allocations: 68.67 kB / 0.594 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.5088, allocations: 7.438 kB / 0.594 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.509, allocations: 101.8 kB / 0.5941 GB, free: 18.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.5091, allocations: 0.681 MB / 0.5948 GB, free: 17.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.872e-05/0.5092, allocations: 7.984 kB / 0.5948 GB, free: 17.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.18e-05/0.5092, allocations: 11.44 kB / 0.5948 GB, free: 17.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5092, allocations: 4 kB / 0.5948 GB, free: 17.79 MB / 446.1 MB Notification: Performance of Templates: time 0.003005/0.5122, allocations: 0.5162 MB / 0.5953 GB, free: 17.31 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)