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.1913/0.1933, allocations: 80.83 MB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001768/0.1951, allocations: 0.5549 MB / 0.6712 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002229/0.1953, allocations: 35.88 kB / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.1953, allocations: 0 / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.452e-05/0.1954, allocations: 0 / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.62e-05/0.1954, allocations: 3.938 kB / 0.6712 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.1956, allocations: 11.98 kB / 0.6712 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.504e-05/0.1957, allocations: 8 kB / 0.6712 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.1957, allocations: 11.92 kB / 0.6712 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.684e-05/0.1958, allocations: 3.938 kB / 0.6713 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.717e-05/0.1958, allocations: 3.984 kB / 0.6713 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1958, allocations: 0 / 0.6713 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.196, allocations: 19.98 kB / 0.6713 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.619e-05/0.196, allocations: 4 kB / 0.6713 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.1961, allocations: 3.938 kB / 0.6713 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.749e-05/0.1962, allocations: 27.92 kB / 0.6713 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1962, allocations: 3.984 kB / 0.6713 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1962, allocations: 4 kB / 0.6713 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.778e-06/0.1962, allocations: 0 / 0.6713 GB, free: 1.32 MB / 0.4981 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.0004825/0.1967, allocations: 345.2 kB / 0.6716 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1967, allocations: 12.03 kB / 0.6717 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.1968, allocations: 8.922 kB / 0.6717 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.1969, allocations: 164.3 kB / 0.6718 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1969, allocations: 384 / 0.6718 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.1969, allocations: 8.359 kB / 0.6718 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.1972, allocations: 57.62 kB / 0.6719 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1972, allocations: 4 kB / 0.6719 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.1972, allocations: 0 / 0.6719 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.1972, allocations: 4 kB / 0.6719 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.1973, allocations: 23.98 kB / 0.6719 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.1977, allocations: 272.7 kB / 0.6722 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.756e-05/0.1978, allocations: 18.58 kB / 0.6722 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.1978, allocations: 8.922 kB / 0.6722 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/0.1978, allocations: 7.984 kB / 0.6722 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1979, allocations: 30.56 kB / 0.6722 GB, free: 212 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.1979, allocations: 0 / 0.6722 GB, free: 212 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0004135/0.1983, allocations: 75.25 kB / 0.6723 GB, free: 124 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1983, allocations: 77.11 kB / 0.6724 GB, free: 28 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1985, allocations: 121.7 kB / 0.6725 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1985, allocations: 25.7 kB / 0.6725 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.563e-05/0.1985, allocations: 107.9 kB / 0.6726 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.424e-06/0.1986, allocations: 0 / 0.6726 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1986, allocations: 29.61 kB / 0.6727 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1987, allocations: 314.8 kB / 0.673 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.1988, allocations: 11.98 kB / 0.673 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.713e-05/0.1988, allocations: 63.58 kB / 0.673 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.1989, allocations: 138.1 kB / 0.6732 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.199, allocations: 4 kB / 0.6732 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001569/0.1991, allocations: 119.2 kB / 0.6733 GB, free: 15 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.1992, allocations: 29.7 kB / 0.6733 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1992, allocations: 7.938 kB / 0.6733 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1992, allocations: 0 / 0.6733 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.1993, allocations: 12.25 kB / 0.6733 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1993, allocations: 11.94 kB / 0.6733 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.1994, allocations: 15.83 kB / 0.6734 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.1994, allocations: 12 kB / 0.6734 GB, free: 14.91 MB / 0.5137 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 0.0001235/0.1995, allocations: 147.5 kB / 0.6735 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.1996, allocations: 0 / 0.6735 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.332e-05/0.1996, allocations: 3.531 kB / 0.6735 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.1996, allocations: 4 kB / 0.6735 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1996, allocations: 3.938 kB / 0.6735 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1996, allocations: 7.984 kB / 0.6735 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.1998, allocations: 149.7 kB / 0.6737 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1998, allocations: 0 / 0.6737 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-06/0.1998, allocations: 3.984 kB / 0.6737 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1998, allocations: 0 / 0.6737 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1998, allocations: 0 / 0.6737 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1998, allocations: 4 kB / 0.6737 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1998, allocations: 3.938 kB / 0.6737 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.2, allocations: 169.2 kB / 0.6738 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.2002, allocations: 81.02 kB / 0.6739 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.2002, allocations: 0 / 0.6739 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.512e-05/0.2002, allocations: 4 kB / 0.6739 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.2003, allocations: 3.938 kB / 0.6739 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.2003, allocations: 0 / 0.6739 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.752e-05/0.2003, allocations: 91.27 kB / 0.674 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2003, allocations: 3.938 kB / 0.674 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002495/0.2006, allocations: 12 kB / 0.674 GB, free: 14.11 MB / 0.5137 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.0002542/0.2008, allocations: 103.3 kB / 0.6741 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.201, allocations: 87.33 kB / 0.6742 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.201, allocations: 0 / 0.6742 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.201, allocations: 63.33 kB / 0.6743 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.2013, allocations: 4 kB / 0.6743 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.2015, allocations: 109.5 kB / 0.6744 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.2022, allocations: 0.6807 MB / 0.675 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.89e-05/0.2023, allocations: 11.98 kB / 0.6751 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.2023, allocations: 11.44 kB / 0.6751 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2023, allocations: 0 / 0.6751 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.002921/0.2052, allocations: 0.534 MB / 0.6756 GB, free: 12.44 MB / 0.5137 GB 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)