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.2008/0.2027, allocations: 80.84 MB / 0.6706 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001772/0.2045, allocations: 0.5549 MB / 0.6712 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002735/0.2048, allocations: 35.88 kB / 0.6712 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.2049, allocations: 0 / 0.6712 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.2049, allocations: 0 / 0.6712 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.961e-05/0.205, allocations: 3.984 kB / 0.6712 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.2053, allocations: 8 kB / 0.6712 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.755e-05/0.2054, allocations: 7.984 kB / 0.6712 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.836e-05/0.2054, allocations: 4 kB / 0.6712 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.2055, allocations: 7.938 kB / 0.6713 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.299e-05/0.2055, allocations: 4 kB / 0.6713 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.2055, allocations: 0 / 0.6713 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.223e-05/0.2056, allocations: 15.98 kB / 0.6713 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.2057, allocations: 7.938 kB / 0.6713 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.2057, allocations: 7.922 kB / 0.6713 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.2058, allocations: 31.91 kB / 0.6713 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.2058, allocations: 3.938 kB / 0.6713 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.916e-06/0.2059, allocations: 0 / 0.6713 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2059, allocations: 0 / 0.6713 GB, free: 1.426 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.0005165/0.2064, allocations: 357.2 kB / 0.6717 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2064, allocations: 12.03 kB / 0.6717 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.2065, allocations: 0.9375 kB / 0.6717 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.2067, allocations: 160.4 kB / 0.6718 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2067, allocations: 384 / 0.6718 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.2067, allocations: 4.375 kB / 0.6718 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.2069, allocations: 57.62 kB / 0.6719 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2069, allocations: 0 / 0.6719 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.207, allocations: 0 / 0.6719 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.207, allocations: 11.92 kB / 0.6719 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.362e-05/0.2071, allocations: 35.95 kB / 0.6719 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.2075, allocations: 264.8 kB / 0.6722 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.682e-05/0.2076, allocations: 18.56 kB / 0.6722 GB, free: 376 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.2076, allocations: 8.922 kB / 0.6722 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.2076, allocations: 0 / 0.6722 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.2077, allocations: 30.56 kB / 0.6722 GB, free: 324 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2077, allocations: 7.938 kB / 0.6722 GB, free: 316 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002186/0.2079, allocations: 75.3 kB / 0.6723 GB, free: 228 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.208, allocations: 77.11 kB / 0.6724 GB, free: 132 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.2081, allocations: 121.7 kB / 0.6725 GB, free: 0 / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.2082, allocations: 25.7 kB / 0.6725 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.2083, allocations: 99.86 kB / 0.6726 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.2083, allocations: 7.922 kB / 0.6726 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.2083, allocations: 25.62 kB / 0.6727 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2085, allocations: 323 kB / 0.673 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.151e-05/0.2086, allocations: 7.984 kB / 0.673 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-05/0.2086, allocations: 63.14 kB / 0.673 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.2088, allocations: 130.2 kB / 0.6732 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2088, allocations: 4 kB / 0.6732 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001788/0.209, allocations: 119.2 kB / 0.6733 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.2091, allocations: 29.7 kB / 0.6733 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2091, allocations: 4 kB / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2091, allocations: 0 / 0.6733 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.2092, allocations: 23.92 kB / 0.6733 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.2092, allocations: 7.938 kB / 0.6733 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.2093, allocations: 11.84 kB / 0.6733 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.2093, allocations: 8.25 kB / 0.6734 GB, free: 15.02 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.0001565/0.2095, allocations: 143.5 kB / 0.6735 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.2095, allocations: 4 kB / 0.6735 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.2095, allocations: 11.45 kB / 0.6735 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2096, allocations: 0 / 0.6735 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2096, allocations: 7.938 kB / 0.6735 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2096, allocations: 0 / 0.6735 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.2098, allocations: 149.7 kB / 0.6737 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2098, allocations: 0 / 0.6737 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.2098, allocations: 0 / 0.6737 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.2098, allocations: 4 kB / 0.6737 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2098, allocations: 4 kB / 0.6737 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2098, allocations: 3.938 kB / 0.6737 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2098, allocations: 7.938 kB / 0.6737 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.21, allocations: 165.2 kB / 0.6738 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.21, allocations: 81.02 kB / 0.6739 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.2101, allocations: 0 / 0.6739 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.511e-05/0.2101, allocations: 4.031 kB / 0.6739 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.2102, allocations: 7.938 kB / 0.6739 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2102, allocations: 0 / 0.6739 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.2102, allocations: 87.27 kB / 0.674 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.903e-06/0.2102, allocations: 0 / 0.674 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002768/0.2105, allocations: 19.94 kB / 0.674 GB, free: 14.22 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.0002243/0.2107, allocations: 107.3 kB / 0.6741 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.2109, allocations: 91.27 kB / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2109, allocations: 0 / 0.6742 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.211, allocations: 55.41 kB / 0.6743 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.2112, allocations: 4 kB / 0.6743 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.2115, allocations: 108.9 kB / 0.6744 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.2119, allocations: 0.6768 MB / 0.675 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.456e-05/0.212, allocations: 16.55 kB / 0.6751 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.212, allocations: 7.438 kB / 0.6751 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.212, allocations: 4 kB / 0.6751 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of Templates: time 0.002694/0.2147, allocations: 0.5305 MB / 0.6756 GB, free: 12.54 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)