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.2294/0.2315, allocations: 80.83 MB / 0.6706 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002246/0.2339, allocations: 0.5548 MB / 0.6712 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003066/0.2342, allocations: 27.95 kB / 0.6712 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.2342, allocations: 3.938 kB / 0.6712 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.2343, allocations: 0 / 0.6712 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.2343, allocations: 3.984 kB / 0.6712 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.2346, allocations: 11.98 kB / 0.6712 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.2347, allocations: 11.98 kB / 0.6712 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.45e-05/0.2348, allocations: 4 kB / 0.6712 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.701e-05/0.2348, allocations: 3.938 kB / 0.6712 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.082e-05/0.2349, allocations: 0 / 0.6712 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.2349, allocations: 0 / 0.6712 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.235, allocations: 15.98 kB / 0.6713 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.2351, allocations: 8 kB / 0.6713 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.2351, allocations: 3.938 kB / 0.6713 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.2353, allocations: 35.89 kB / 0.6713 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.2353, allocations: 4 kB / 0.6713 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.895e-06/0.2353, allocations: 3.938 kB / 0.6713 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.2353, allocations: 0 / 0.6713 GB, free: 1.289 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.0005128/0.2358, allocations: 349.2 kB / 0.6716 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.2359, allocations: 15.97 kB / 0.6717 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.236, allocations: 0.9375 kB / 0.6717 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.2361, allocations: 160.4 kB / 0.6718 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.2361, allocations: 4.359 kB / 0.6718 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.2361, allocations: 4.375 kB / 0.6718 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.2364, allocations: 65.62 kB / 0.6719 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2364, allocations: 0 / 0.6719 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2364, allocations: 0 / 0.6719 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.2364, allocations: 7.984 kB / 0.6719 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.2365, allocations: 31.91 kB / 0.6719 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.2372, allocations: 264.8 kB / 0.6722 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.531e-05/0.2372, allocations: 22.56 kB / 0.6722 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.2372, allocations: 12.92 kB / 0.6722 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.2373, allocations: 0 / 0.6722 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.2373, allocations: 30.56 kB / 0.6722 GB, free: 176 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2373, allocations: 0 / 0.6722 GB, free: 176 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002334/0.2375, allocations: 71.25 kB / 0.6723 GB, free: 92 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.2377, allocations: 81.09 kB / 0.6724 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2378, allocations: 121.7 kB / 0.6725 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.2378, allocations: 25.83 kB / 0.6725 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.336e-05/0.2379, allocations: 99.86 kB / 0.6726 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.2379, allocations: 7.984 kB / 0.6726 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.238, allocations: 29.56 kB / 0.6727 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.2382, allocations: 310.8 kB / 0.673 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.2382, allocations: 15.98 kB / 0.673 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.2383, allocations: 67.14 kB / 0.673 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.2385, allocations: 126.2 kB / 0.6732 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2385, allocations: 4 kB / 0.6732 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001793/0.2387, allocations: 119.2 kB / 0.6733 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.2388, allocations: 30.48 kB / 0.6733 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2388, allocations: 4 kB / 0.6733 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.2388, allocations: 256 / 0.6733 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.919e-05/0.2389, allocations: 19.98 kB / 0.6733 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.2389, allocations: 11.88 kB / 0.6733 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.802e-05/0.239, allocations: 11.84 kB / 0.6733 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.2391, allocations: 8 kB / 0.6734 GB, free: 14.89 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.000127/0.2392, allocations: 143.5 kB / 0.6735 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.2392, allocations: 4 kB / 0.6735 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.2393, allocations: 7.516 kB / 0.6735 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2393, allocations: 0 / 0.6735 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.2393, allocations: 11.94 kB / 0.6735 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.2393, allocations: 0 / 0.6735 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.2395, allocations: 157.6 kB / 0.6737 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2395, allocations: 0 / 0.6737 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.2395, allocations: 0 / 0.6737 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.2395, allocations: 0 / 0.6737 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.2395, allocations: 0 / 0.6737 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.2395, allocations: 0 / 0.6737 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2395, allocations: 7.938 kB / 0.6737 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.2397, allocations: 169.2 kB / 0.6738 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.2397, allocations: 81.02 kB / 0.6739 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.2398, allocations: 0 / 0.6739 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.087e-05/0.2398, allocations: 0 / 0.6739 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.2399, allocations: 7.938 kB / 0.6739 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.2399, allocations: 0 / 0.6739 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.058e-05/0.2399, allocations: 91.27 kB / 0.674 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2399, allocations: 0 / 0.674 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002469/0.2402, allocations: 12 kB / 0.674 GB, free: 14.09 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.0002101/0.2404, allocations: 111.2 kB / 0.6741 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.2406, allocations: 87.27 kB / 0.6742 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2406, allocations: 0 / 0.6742 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.2407, allocations: 59.41 kB / 0.6743 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.2409, allocations: 4 kB / 0.6743 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.2412, allocations: 113.5 kB / 0.6744 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.2416, allocations: 0.6768 MB / 0.675 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.2418, allocations: 11.98 kB / 0.675 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.2418, allocations: 7.438 kB / 0.6751 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.2418, allocations: 4 kB / 0.6751 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of Templates: time 0.003363/0.2451, allocations: 0.5369 MB / 0.6756 GB, free: 12.41 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)