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.2108/0.2117, allocations: 82.23 MB / 0.5935 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007973/0.2125, allocations: 284.9 kB / 0.5937 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002304/0.2128, allocations: 27.92 kB / 0.5938 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.2128, allocations: 0 / 0.5938 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.605e-05/0.2128, allocations: 0 / 0.5938 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.2129, allocations: 4 kB / 0.5938 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.2131, allocations: 8 kB / 0.5938 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.965e-05/0.2131, allocations: 7.984 kB / 0.5938 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.2132, allocations: 0 / 0.5938 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.068e-05/0.2132, allocations: 11.94 kB / 0.5938 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.2133, allocations: 7.922 kB / 0.5938 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2133, allocations: 0 / 0.5938 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.2134, allocations: 19.98 kB / 0.5938 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.2134, allocations: 4 kB / 0.5938 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.799e-05/0.2134, allocations: 25.7 kB / 0.5939 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.521e-05/0.2135, allocations: 11.98 kB / 0.5939 GB, free: 5.539 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.2135, allocations: 0 / 0.5939 GB, free: 5.539 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.501e-06/0.2136, allocations: 0 / 0.5939 GB, free: 5.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2136, allocations: 3.938 kB / 0.5939 GB, free: 5.535 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.0003776/0.2139, allocations: 361.2 kB / 0.5942 GB, free: 5.129 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.214, allocations: 8.031 kB / 0.5942 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.214, allocations: 0 / 0.5942 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.2142, allocations: 167 kB / 0.5944 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2142, allocations: 4 kB / 0.5944 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.2142, allocations: 0 / 0.5944 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.2143, allocations: 57.64 kB / 0.5944 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2144, allocations: 0 / 0.5944 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2144, allocations: 0 / 0.5944 GB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.2144, allocations: 8 kB / 0.5945 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.742e-05/0.2145, allocations: 23.98 kB / 0.5945 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.2148, allocations: 276.7 kB / 0.5947 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.671e-05/0.2149, allocations: 18.61 kB / 0.5948 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.2149, allocations: 8.859 kB / 0.5948 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-06/0.2149, allocations: 0 / 0.5948 GB, free: 4.461 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.215, allocations: 34.56 kB / 0.5948 GB, free: 4.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.215, allocations: 0 / 0.5948 GB, free: 4.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001772/0.2152, allocations: 75.39 kB / 0.5949 GB, free: 4.332 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.2152, allocations: 77.11 kB / 0.5949 GB, free: 4.238 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.319e-05/0.2153, allocations: 109.8 kB / 0.595 GB, free: 4.121 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.2153, allocations: 25.7 kB / 0.5951 GB, free: 4.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.2154, allocations: 107.8 kB / 0.5952 GB, free: 3.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.003e-06/0.2154, allocations: 3.906 kB / 0.5952 GB, free: 3.977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.2154, allocations: 4 kB / 0.5952 GB, free: 3.973 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2156, allocations: 322.9 kB / 0.5955 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.2156, allocations: 11.98 kB / 0.5955 GB, free: 3.637 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-05/0.2157, allocations: 54.86 kB / 0.5956 GB, free: 3.559 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.999e-05/0.2157, allocations: 53.62 kB / 0.5956 GB, free: 3.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2157, allocations: 0 / 0.5956 GB, free: 3.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001368/0.2159, allocations: 115.2 kB / 0.5957 GB, free: 3.375 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.2159, allocations: 37.89 kB / 0.5958 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.216, allocations: 8 kB / 0.5958 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.216, allocations: 0 / 0.5958 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.85e-05/0.2161, allocations: 19.92 kB / 0.5958 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.2161, allocations: 8.391 kB / 0.5958 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.2162, allocations: 15.84 kB / 0.5958 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.2162, allocations: 4 kB / 0.5958 GB, free: 3.277 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/0.2163, allocations: 152.3 kB / 0.596 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.2163, allocations: 4 kB / 0.596 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.213e-05/0.2163, allocations: 7.516 kB / 0.596 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2163, allocations: 4 kB / 0.596 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2163, allocations: 0 / 0.596 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.2164, allocations: 0 / 0.596 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.2165, allocations: 161.6 kB / 0.5961 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2165, allocations: 0 / 0.5961 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.2165, allocations: 0 / 0.5961 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2165, allocations: 0 / 0.5961 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.2165, allocations: 0 / 0.5961 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2166, allocations: 0 / 0.5961 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2166, allocations: 0 / 0.5961 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.2167, allocations: 169.2 kB / 0.5963 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.2168, allocations: 85.02 kB / 0.5964 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.2168, allocations: 4 kB / 0.5964 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.12e-05/0.2168, allocations: 0 / 0.5964 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.2169, allocations: 3.938 kB / 0.5964 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.2169, allocations: 4 kB / 0.5964 GB, free: 2.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.153e-05/0.2169, allocations: 95.25 kB / 0.5965 GB, free: 2.496 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2169, allocations: 4.031 kB / 0.5965 GB, free: 2.492 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.2172, allocations: 8 kB / 0.5965 GB, free: 2.484 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 (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.000181/0.2174, allocations: 107.3 kB / 0.5966 GB, free: 2.371 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.2175, allocations: 79.33 kB / 0.5967 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2175, allocations: 4 kB / 0.5967 GB, free: 2.277 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/0.2176, allocations: 55.41 kB / 0.5967 GB, free: 2.211 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.2178, allocations: 8.547 kB / 0.5967 GB, free: 2.203 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.2181, allocations: 114.6 kB / 0.5968 GB, free: 2.062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.2184, allocations: 0.677 MB / 0.5975 GB, free: 1.359 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.2186, allocations: 12.17 kB / 0.5975 GB, free: 1.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.2186, allocations: 7.438 kB / 0.5975 GB, free: 1.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2186, allocations: 3.938 kB / 0.5975 GB, free: 1.336 MB / 446.1 MB Notification: Performance of Templates: time 0.003038/0.2216, allocations: 0.4894 MB / 0.598 GB, free: 0.8789 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: