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.2289/0.2313, allocations: 80.84 MB / 0.5897 GB, free: 7.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.003707/0.2351, allocations: 0.6151 MB / 0.5903 GB, free: 6.488 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003979/0.2356, allocations: 39.92 kB / 0.5903 GB, free: 6.449 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.2356, allocations: 0 / 0.5903 GB, free: 6.449 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.409e-05/0.2357, allocations: 3.938 kB / 0.5903 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.2358, allocations: 4 kB / 0.5903 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.2361, allocations: 4 kB / 0.5903 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.707e-05/0.2362, allocations: 8 kB / 0.5903 GB, free: 6.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.2362, allocations: 3.984 kB / 0.5904 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.956e-05/0.2363, allocations: 4 kB / 0.5904 GB, free: 6.422 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.25e-05/0.2363, allocations: 3.938 kB / 0.5904 GB, free: 6.418 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2363, allocations: 3.938 kB / 0.5904 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.2365, allocations: 19.98 kB / 0.5904 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.2366, allocations: 4 kB / 0.5904 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.2366, allocations: 7.922 kB / 0.5904 GB, free: 6.383 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.2368, allocations: 27.91 kB / 0.5904 GB, free: 6.355 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2368, allocations: 0 / 0.5904 GB, free: 6.355 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.2368, allocations: 4 kB / 0.5904 GB, free: 6.352 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.2369, allocations: 0 / 0.5904 GB, free: 6.352 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.0005749/0.2374, allocations: 357.5 kB / 0.5908 GB, free: 5.949 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.315e-05/0.2375, allocations: 12.02 kB / 0.5908 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.2376, allocations: 4.938 kB / 0.5908 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2378, allocations: 164.3 kB / 0.5909 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.2378, allocations: 384 / 0.5909 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.2378, allocations: 384 / 0.5909 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.2381, allocations: 57.81 kB / 0.591 GB, free: 5.672 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2381, allocations: 4 kB / 0.591 GB, free: 5.668 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.2381, allocations: 4 kB / 0.591 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.969e-05/0.2382, allocations: 4 kB / 0.591 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.247e-05/0.2383, allocations: 27.97 kB / 0.591 GB, free: 5.633 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.2388, allocations: 264.8 kB / 0.5913 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.302e-05/0.2389, allocations: 26.52 kB / 0.5913 GB, free: 5.289 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.2389, allocations: 8.844 kB / 0.5913 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.239, allocations: 8.062 kB / 0.5913 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.239, allocations: 30.56 kB / 0.5914 GB, free: 5.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.239, allocations: 0 / 0.5914 GB, free: 5.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002924/0.2393, allocations: 67.34 kB / 0.5914 GB, free: 5.152 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.2394, allocations: 81.11 kB / 0.5915 GB, free: 5.055 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.2396, allocations: 117.8 kB / 0.5916 GB, free: 4.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.2396, allocations: 25.7 kB / 0.5916 GB, free: 4.898 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/0.2397, allocations: 107.9 kB / 0.5917 GB, free: 4.789 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.2398, allocations: 3.906 kB / 0.5917 GB, free: 4.785 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.858e-05/0.2399, allocations: 25.7 kB / 0.5918 GB, free: 4.754 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.24, allocations: 310.8 kB / 0.5921 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-05/0.2401, allocations: 19.98 kB / 0.5921 GB, free: 4.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.2402, allocations: 62.86 kB / 0.5921 GB, free: 4.336 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.2404, allocations: 130.1 kB / 0.5923 GB, free: 4.172 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.2404, allocations: 0 / 0.5923 GB, free: 4.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002979/0.2408, allocations: 119.1 kB / 0.5924 GB, free: 4.043 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.267e-05/0.2409, allocations: 33.7 kB / 0.5924 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.2409, allocations: 0 / 0.5924 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/0.2409, allocations: 4 kB / 0.5924 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.2411, allocations: 12.25 kB / 0.5924 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.2411, allocations: 7.938 kB / 0.5924 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.2414, allocations: 19.77 kB / 0.5925 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.2414, allocations: 12 kB / 0.5925 GB, free: 3.949 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.0001809/0.2416, allocations: 140.4 kB / 0.5926 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.2417, allocations: 4 kB / 0.5926 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.2417, allocations: 7.516 kB / 0.5926 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2417, allocations: 0 / 0.5926 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.2417, allocations: 3.984 kB / 0.5926 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.2418, allocations: 7.938 kB / 0.5926 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.2422, allocations: 149.7 kB / 0.5928 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.2422, allocations: 7.984 kB / 0.5928 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-06/0.2422, allocations: 0 / 0.5928 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2422, allocations: 0 / 0.5928 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2423, allocations: 0 / 0.5928 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2423, allocations: 0 / 0.5928 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2423, allocations: 0 / 0.5928 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.2425, allocations: 177 kB / 0.5929 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.2426, allocations: 81.11 kB / 0.593 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.2427, allocations: 0 / 0.593 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.606e-05/0.2428, allocations: 0 / 0.593 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.2428, allocations: 3.938 kB / 0.593 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.2428, allocations: 4 kB / 0.593 GB, free: 3.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.937e-05/0.2429, allocations: 91.27 kB / 0.5931 GB, free: 3.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2429, allocations: 0 / 0.5931 GB, free: 3.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004418/0.2434, allocations: 8 kB / 0.5931 GB, free: 3.172 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.0002719/0.2437, allocations: 115.3 kB / 0.5932 GB, free: 3.051 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.2439, allocations: 83.33 kB / 0.5933 GB, free: 2.957 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2439, allocations: 0 / 0.5933 GB, free: 2.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.244, allocations: 59.39 kB / 0.5934 GB, free: 2.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.2444, allocations: 0 / 0.5934 GB, free: 2.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.2448, allocations: 122.2 kB / 0.5935 GB, free: 2.742 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.2452, allocations: 0.677 MB / 0.5941 GB, free: 2.039 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.2454, allocations: 11.98 kB / 0.5942 GB, free: 2.027 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.2454, allocations: 7.438 kB / 0.5942 GB, free: 2.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2455, allocations: 4 kB / 0.5942 GB, free: 2.016 MB / 446.1 MB Notification: Performance of Templates: time 0.004297/0.2498, allocations: 0.511 MB / 0.5947 GB, free: 1.543 MB / 446.1 MB 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)