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.1998/0.2009, allocations: 82.23 MB / 0.5941 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007963/0.2018, allocations: 288.9 kB / 0.5944 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002757/0.2021, allocations: 35.88 kB / 0.5944 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.2021, allocations: 0 / 0.5944 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.2022, allocations: 3.984 kB / 0.5944 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.706e-05/0.2022, allocations: 4 kB / 0.5944 GB, free: 5.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.2024, allocations: 11.94 kB / 0.5945 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.437e-05/0.2025, allocations: 0 / 0.5945 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.2025, allocations: 7.984 kB / 0.5945 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.2025, allocations: 0 / 0.5945 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.559e-05/0.2026, allocations: 7.938 kB / 0.5945 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.2026, allocations: 0 / 0.5945 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.2027, allocations: 19.98 kB / 0.5945 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.2028, allocations: 4 kB / 0.5945 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.2028, allocations: 37.62 kB / 0.5945 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.2029, allocations: 19.92 kB / 0.5945 GB, free: 5.125 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2029, allocations: 0 / 0.5945 GB, free: 5.125 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2029, allocations: 0 / 0.5945 GB, free: 5.125 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.203, allocations: 0 / 0.5945 GB, free: 5.125 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.0004588/0.2034, allocations: 353.4 kB / 0.5949 GB, free: 4.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.2035, allocations: 16.03 kB / 0.5949 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.2035, allocations: 0.9375 kB / 0.5949 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2036, allocations: 164.4 kB / 0.5951 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.2037, allocations: 384 / 0.5951 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.2037, allocations: 4.375 kB / 0.5951 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.2039, allocations: 61.75 kB / 0.5951 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2039, allocations: 0 / 0.5951 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.2039, allocations: 0 / 0.5951 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.2039, allocations: 4 kB / 0.5951 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.821e-05/0.204, allocations: 23.98 kB / 0.5951 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.2045, allocations: 276.8 kB / 0.5954 GB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.013e-05/0.2046, allocations: 22.55 kB / 0.5954 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.804e-05/0.2046, allocations: 8.922 kB / 0.5954 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.2046, allocations: 0 / 0.5954 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.2047, allocations: 30.56 kB / 0.5955 GB, free: 4.012 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.2047, allocations: 7.938 kB / 0.5955 GB, free: 4.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000208/0.2049, allocations: 71.39 kB / 0.5955 GB, free: 3.922 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.205, allocations: 77.11 kB / 0.5956 GB, free: 3.828 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.94e-05/0.2051, allocations: 113.8 kB / 0.5957 GB, free: 3.707 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.2051, allocations: 29.64 kB / 0.5958 GB, free: 3.672 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/0.2052, allocations: 107.8 kB / 0.5959 GB, free: 3.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.2052, allocations: 3.906 kB / 0.5959 GB, free: 3.559 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.2052, allocations: 17.72 kB / 0.5959 GB, free: 3.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2053, allocations: 319 kB / 0.5962 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.2054, allocations: 8 kB / 0.5962 GB, free: 3.207 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.2055, allocations: 58.86 kB / 0.5962 GB, free: 3.125 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.2056, allocations: 130.1 kB / 0.5964 GB, free: 2.961 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.2056, allocations: 0 / 0.5964 GB, free: 2.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001771/0.2058, allocations: 127.2 kB / 0.5965 GB, free: 2.824 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.2058, allocations: 33.69 kB / 0.5965 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.2059, allocations: 4 kB / 0.5965 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2059, allocations: 3.938 kB / 0.5965 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.206, allocations: 12 kB / 0.5965 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.206, allocations: 4 kB / 0.5965 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.154e-05/0.2061, allocations: 15.78 kB / 0.5966 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.2061, allocations: 4 kB / 0.5966 GB, free: 2.742 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.0001243/0.2062, allocations: 152.6 kB / 0.5967 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.2063, allocations: 4 kB / 0.5967 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.575e-05/0.2063, allocations: 3.531 kB / 0.5967 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2063, allocations: 0 / 0.5967 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2063, allocations: 0 / 0.5967 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2063, allocations: 11.94 kB / 0.5967 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.2065, allocations: 153.7 kB / 0.5969 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.2065, allocations: 0 / 0.5969 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-06/0.2065, allocations: 0 / 0.5969 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2065, allocations: 0 / 0.5969 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2065, allocations: 7.984 kB / 0.5969 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2065, allocations: 0 / 0.5969 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2065, allocations: 3.984 kB / 0.5969 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.2067, allocations: 161.2 kB / 0.597 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.2067, allocations: 85.02 kB / 0.5971 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.2068, allocations: 3.984 kB / 0.5971 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.922e-05/0.2068, allocations: 0 / 0.5971 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.2068, allocations: 11.97 kB / 0.5971 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.2069, allocations: 3.938 kB / 0.5971 GB, free: 2.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.121e-05/0.2069, allocations: 91.73 kB / 0.5972 GB, free: 1.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2069, allocations: 0 / 0.5972 GB, free: 1.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.2072, allocations: 15.94 kB / 0.5972 GB, free: 1.941 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.0001878/0.2074, allocations: 107.2 kB / 0.5973 GB, free: 1.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.2075, allocations: 87.7 kB / 0.5974 GB, free: 1.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2075, allocations: 0 / 0.5974 GB, free: 1.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-05/0.2076, allocations: 55.41 kB / 0.5975 GB, free: 1.664 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.2078, allocations: 10.38 kB / 0.5975 GB, free: 1.656 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.2081, allocations: 106.9 kB / 0.5976 GB, free: 1.523 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.2083, allocations: 0.677 MB / 0.5983 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.833e-05/0.2084, allocations: 16.17 kB / 0.5983 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.2085, allocations: 7.438 kB / 0.5983 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2085, allocations: 4 kB / 0.5983 GB, free: 0.793 MB / 446.1 MB Notification: Performance of Templates: time 0.002963/0.2114, allocations: 0.4974 MB / 0.5988 GB, free: 336 kB / 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: