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.7631/0.7631, allocations: 133.7 MB / 148.6 MB, free: 13.68 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.001145/0.001145, allocations: 176.1 kB / 180.9 MB, free: 15.1 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.763/1.763, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.001585/0.001585, allocations: 114.6 kB / 454.6 MB, free: 9.723 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.1688/0.1694, allocations: 73.41 MB / 0.6812 GB, free: 5.582 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.6818, allocations: 100.9 MB / 0.7797 GB, free: 25.15 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.6822, allocations: 80.17 kB / 0.7798 GB, free: 25.12 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00146/0.6836, allocations: 0.5433 MB / 0.7803 GB, free: 24.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6837, allocations: 0 / 0.7803 GB, free: 24.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.6837, allocations: 4 kB / 0.7803 GB, free: 24.68 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.0002585/0.6839, allocations: 345.4 kB / 0.7807 GB, free: 24.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.684, allocations: 8.031 kB / 0.7807 GB, free: 24.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.684, allocations: 6.344 kB / 0.7807 GB, free: 24.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.361e-05/0.6841, allocations: 171.7 kB / 0.7808 GB, free: 24.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.6841, allocations: 0 / 0.7808 GB, free: 24.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.6841, allocations: 8 kB / 0.7808 GB, free: 24.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.6843, allocations: 54.27 kB / 0.7809 GB, free: 24.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.6843, allocations: 0 / 0.7809 GB, free: 24.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.6843, allocations: 0 / 0.7809 GB, free: 24.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.6843, allocations: 5.734 kB / 0.7809 GB, free: 24.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.331e-05/0.6844, allocations: 26.28 kB / 0.7809 GB, free: 24.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.6847, allocations: 261.4 kB / 0.7812 GB, free: 23.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.6848, allocations: 27.31 kB / 0.7812 GB, free: 23.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.6848, allocations: 0 / 0.7812 GB, free: 23.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.6848, allocations: 35.16 kB / 0.7812 GB, free: 23.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.6848, allocations: 0 / 0.7812 GB, free: 23.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001659/0.685, allocations: 65.25 kB / 0.7813 GB, free: 23.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.6851, allocations: 77.62 kB / 0.7814 GB, free: 23.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/0.6851, allocations: 115.8 kB / 0.7815 GB, free: 23.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.6852, allocations: 30.34 kB / 0.7815 GB, free: 23.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.6852, allocations: 97.53 kB / 0.7816 GB, free: 23.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.6852, allocations: 8.484 kB / 0.7816 GB, free: 23.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.6852, allocations: 0 / 0.7816 GB, free: 23.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.6853, allocations: 317.1 kB / 0.7819 GB, free: 22.92 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.6853, allocations: 15.66 kB / 0.7819 GB, free: 22.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.858e-05/0.6854, allocations: 58.7 kB / 0.782 GB, free: 22.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.6854, allocations: 44.42 kB / 0.782 GB, free: 22.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6855, allocations: 7.953 kB / 0.782 GB, free: 22.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001295/0.6856, allocations: 122.8 kB / 0.7821 GB, free: 22.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.6856, allocations: 30.88 kB / 0.7822 GB, free: 22.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6856, allocations: 4 kB / 0.7822 GB, free: 22.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.6857, allocations: 0 / 0.7822 GB, free: 22.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.6857, allocations: 17.72 kB / 0.7822 GB, free: 22.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.6858, allocations: 0.6562 kB / 0.7822 GB, free: 22.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.6858, allocations: 15.75 kB / 0.7822 GB, free: 22.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.6858, allocations: 5.422 kB / 0.7822 GB, free: 22.6 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.64e-05/0.6859, allocations: 141.3 kB / 0.7824 GB, free: 22.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.686, allocations: 8.516 kB / 0.7824 GB, free: 22.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.686, allocations: 8.031 kB / 0.7824 GB, free: 22.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.686, allocations: 1.266 kB / 0.7824 GB, free: 22.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.686, allocations: 3.984 kB / 0.7824 GB, free: 22.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.686, allocations: 4.094 kB / 0.7824 GB, free: 22.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.6862, allocations: 153.8 kB / 0.7825 GB, free: 22.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6862, allocations: 0.6094 kB / 0.7825 GB, free: 22.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-06/0.6862, allocations: 7.891 kB / 0.7825 GB, free: 22.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.6862, allocations: 4 kB / 0.7825 GB, free: 22.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.6862, allocations: 0.5625 kB / 0.7825 GB, free: 22.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6862, allocations: 1.125 kB / 0.7825 GB, free: 22.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6862, allocations: 1 kB / 0.7825 GB, free: 22.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.6863, allocations: 164.3 kB / 0.7827 GB, free: 22.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.6863, allocations: 81.44 kB / 0.7828 GB, free: 21.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.6864, allocations: 7.953 kB / 0.7828 GB, free: 21.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.676e-05/0.6864, allocations: 4.734 kB / 0.7828 GB, free: 21.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.6865, allocations: 0.5156 kB / 0.7828 GB, free: 21.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.6865, allocations: 4 kB / 0.7828 GB, free: 21.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.131e-05/0.6865, allocations: 87.12 kB / 0.7829 GB, free: 21.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6866, allocations: 0 / 0.7829 GB, free: 21.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.6868, allocations: 12.34 kB / 0.7829 GB, free: 21.86 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 () * 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 (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.0001457/0.687, allocations: 108.5 kB / 0.783 GB, free: 21.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000125/0.6871, allocations: 92.69 kB / 0.7831 GB, free: 21.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6871, allocations: 4 kB / 0.7831 GB, free: 21.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.6871, allocations: 56.77 kB / 0.7831 GB, free: 21.58 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.6873, allocations: 6.5 kB / 0.7831 GB, free: 21.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.6875, allocations: 102.8 kB / 0.7832 GB, free: 21.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.6876, allocations: 0.6836 MB / 0.7839 GB, free: 20.76 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.687e-05/0.6877, allocations: 17.2 kB / 0.7839 GB, free: 20.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.007e-05/0.6877, allocations: 7.438 kB / 0.7839 GB, free: 20.74 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6877, allocations: 0 / 0.7839 GB, free: 20.74 MB / 490.7 MB Notification: Performance of Templates: time 0.002613/0.6903, allocations: 486.4 kB / 0.7844 GB, free: 20.46 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)