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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6844/0.6844, allocations: 132.3 MB / 144.9 MB, free: 10.72 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.000979/0.000979, allocations: 174.7 kB / 176.9 MB, free: 2.16 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.15/1.15, allocations: 170.5 MB / 379.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.0015/0.0015, allocations: 115.2 kB / 450 MB, free: 5.848 MB / 346.7 MB [/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.4314/0.4314, allocations: 73.38 MB / 0.6736 GB, free: 47.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1295/0.561, allocations: 100.8 MB / 0.772 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.5613, allocations: 75.89 kB / 0.7721 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001232/0.5625, allocations: 0.5466 MB / 0.7726 GB, free: 15.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5625, allocations: 5.75 kB / 0.7727 GB, free: 15.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.5626, allocations: 0 / 0.7727 GB, free: 15.3 MB / 490.7 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.0002609/0.5628, allocations: 337.1 kB / 0.773 GB, free: 14.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.5629, allocations: 8.031 kB / 0.773 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.5629, allocations: 6.859 kB / 0.773 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.606e-05/0.563, allocations: 173.8 kB / 0.7732 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.563, allocations: 3.984 kB / 0.7732 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.5631, allocations: 0 / 0.7732 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.5632, allocations: 57.69 kB / 0.7732 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.5632, allocations: 0 / 0.7732 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.5632, allocations: 3.609 kB / 0.7732 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.5633, allocations: 7.188 kB / 0.7732 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.819e-05/0.5633, allocations: 23.92 kB / 0.7732 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.5636, allocations: 272.7 kB / 0.7735 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.764e-05/0.5637, allocations: 18.58 kB / 0.7735 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.5637, allocations: 8.922 kB / 0.7735 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.5637, allocations: 0 / 0.7735 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.5637, allocations: 33.62 kB / 0.7736 GB, free: 14.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.5637, allocations: 0.8438 kB / 0.7736 GB, free: 14.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.5639, allocations: 67.34 kB / 0.7736 GB, free: 14.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.5639, allocations: 85.09 kB / 0.7737 GB, free: 14.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.361e-05/0.564, allocations: 106.2 kB / 0.7738 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.564, allocations: 25.7 kB / 0.7738 GB, free: 13.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.5641, allocations: 103.8 kB / 0.7739 GB, free: 13.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.582e-06/0.5641, allocations: 4 kB / 0.7739 GB, free: 13.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.5641, allocations: 0 / 0.7739 GB, free: 13.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5643, allocations: 314.8 kB / 0.7742 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/0.5643, allocations: 22.83 kB / 0.7743 GB, free: 13.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.5644, allocations: 55.88 kB / 0.7743 GB, free: 13.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.699e-05/0.5644, allocations: 53.58 kB / 0.7744 GB, free: 13.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5645, allocations: 4 kB / 0.7744 GB, free: 13.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001511/0.5646, allocations: 119.1 kB / 0.7745 GB, free: 13.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/0.5647, allocations: 33.69 kB / 0.7745 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5647, allocations: 8.812 kB / 0.7745 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5647, allocations: 0 / 0.7745 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.5648, allocations: 12 kB / 0.7745 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.5648, allocations: 4 kB / 0.7745 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/0.5649, allocations: 11.94 kB / 0.7746 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.5649, allocations: 5.625 kB / 0.7746 GB, free: 13.1 MB / 490.7 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 () * 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.374e-05/0.565, allocations: 142.6 kB / 0.7747 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.565, allocations: 0 / 0.7747 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.565, allocations: 7.656 kB / 0.7747 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.565, allocations: 4 kB / 0.7747 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5651, allocations: 0 / 0.7747 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5651, allocations: 0 / 0.7747 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.5652, allocations: 157.6 kB / 0.7749 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5652, allocations: 3.953 kB / 0.7749 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.5652, allocations: 0 / 0.7749 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5653, allocations: 0 / 0.7749 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.5653, allocations: 7.938 kB / 0.7749 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.5653, allocations: 0 / 0.7749 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5653, allocations: 1.875 kB / 0.7749 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.5654, allocations: 165.2 kB / 0.775 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.5655, allocations: 81.06 kB / 0.7751 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.5655, allocations: 3.938 kB / 0.7751 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/0.5656, allocations: 4 kB / 0.7751 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.5656, allocations: 0 / 0.7751 GB, free: 12.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.5656, allocations: 6.906 kB / 0.7751 GB, free: 12.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.918e-05/0.5657, allocations: 92.59 kB / 0.7752 GB, free: 12.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5657, allocations: 4.031 kB / 0.7752 GB, free: 12.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.5659, allocations: 8 kB / 0.7752 GB, free: 12.33 MB / 490.7 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 () * 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.0001594/0.566, allocations: 103.2 kB / 0.7753 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.5662, allocations: 87.33 kB / 0.7754 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5662, allocations: 0 / 0.7754 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.334e-05/0.5662, allocations: 59.41 kB / 0.7755 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.5664, allocations: 0.5625 kB / 0.7755 GB, free: 12.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00019/0.5666, allocations: 77.95 kB / 0.7755 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.5668, allocations: 0.6887 MB / 0.7762 GB, free: 11.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.796e-05/0.5669, allocations: 8.172 kB / 0.7762 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.061e-05/0.5669, allocations: 11.44 kB / 0.7762 GB, free: 11.23 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5669, allocations: 0 / 0.7762 GB, free: 11.23 MB / 490.7 MB Notification: Performance of Templates: time 0.002296/0.5692, allocations: 0.4907 MB / 0.7767 GB, free: 10.77 MB / 490.7 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)