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.7816/0.7816, allocations: 132.4 MB / 139.9 MB, free: 15.4 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.0009009/0.000901, allocations: 178.3 kB / 171.8 MB, free: 2.016 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.39/1.39, allocations: 170.6 MB / 374.2 MB, free: 15.73 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.001648/0.001647, allocations: 105.3 kB / 444.8 MB, free: 9.277 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.4102/0.4102, allocations: 73.39 MB / 0.6666 GB, free: 46.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.5314, allocations: 100.1 MB / 0.7644 GB, free: 4.672 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.5317, allocations: 73.88 kB / 0.7645 GB, free: 4.602 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001158/0.5329, allocations: 0.5473 MB / 0.765 GB, free: 4.062 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5329, allocations: 1.281 kB / 0.765 GB, free: 4.062 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.5329, allocations: 0.5625 kB / 0.765 GB, free: 4.062 MB / 474.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.0002904/0.5332, allocations: 337 kB / 0.7653 GB, free: 3.684 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.5332, allocations: 12.03 kB / 0.7653 GB, free: 3.672 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.5333, allocations: 2.625 kB / 0.7653 GB, free: 3.672 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.5334, allocations: 172.2 kB / 0.7655 GB, free: 3.469 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5334, allocations: 0.8438 kB / 0.7655 GB, free: 3.469 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.5335, allocations: 4.844 kB / 0.7655 GB, free: 3.465 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.421e-05/0.5336, allocations: 24.55 kB / 0.7655 GB, free: 3.441 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.965e-05/0.5337, allocations: 50.38 kB / 0.7656 GB, free: 3.387 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5337, allocations: 3.609 kB / 0.7656 GB, free: 3.387 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5337, allocations: 1.312 kB / 0.7656 GB, free: 3.387 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.5337, allocations: 14.61 kB / 0.7656 GB, free: 3.375 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.5341, allocations: 242.7 kB / 0.7658 GB, free: 3.102 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.05e-05/0.5341, allocations: 16.33 kB / 0.7658 GB, free: 3.078 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.5341, allocations: 9.531 kB / 0.7659 GB, free: 3.066 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.5341, allocations: 1.406 kB / 0.7659 GB, free: 3.066 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.5342, allocations: 35.69 kB / 0.7659 GB, free: 3.023 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.503e-06/0.5342, allocations: 0 / 0.7659 GB, free: 3.023 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001663/0.5344, allocations: 41.69 kB / 0.7659 GB, free: 2.977 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.5344, allocations: 77.11 kB / 0.766 GB, free: 2.883 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.485e-05/0.5345, allocations: 113.8 kB / 0.7661 GB, free: 2.766 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.5345, allocations: 25.7 kB / 0.7661 GB, free: 2.734 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.5346, allocations: 95.8 kB / 0.7662 GB, free: 2.637 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.5346, allocations: 8 kB / 0.7662 GB, free: 2.629 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.5346, allocations: 0 / 0.7662 GB, free: 2.629 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5347, allocations: 317.8 kB / 0.7665 GB, free: 2.312 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.5347, allocations: 12.03 kB / 0.7666 GB, free: 2.301 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.89e-05/0.5348, allocations: 60.36 kB / 0.7666 GB, free: 2.219 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.531e-05/0.5349, allocations: 23.98 kB / 0.7666 GB, free: 2.195 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5349, allocations: 0 / 0.7666 GB, free: 2.195 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001335/0.535, allocations: 82.34 kB / 0.7667 GB, free: 2.109 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.5351, allocations: 29.7 kB / 0.7667 GB, free: 2.074 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5351, allocations: 5.062 kB / 0.7667 GB, free: 2.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5351, allocations: 4.906 kB / 0.7667 GB, free: 2.066 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.015e-05/0.5352, allocations: 15.94 kB / 0.7668 GB, free: 2.051 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.5352, allocations: 7.281 kB / 0.7668 GB, free: 2.047 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.5352, allocations: 11.84 kB / 0.7668 GB, free: 2.035 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.5353, allocations: 4 kB / 0.7668 GB, free: 2.031 MB / 474.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 7.702e-05/0.5353, allocations: 139.4 kB / 0.7669 GB, free: 1.883 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.5354, allocations: 4.609 kB / 0.7669 GB, free: 1.879 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.495e-05/0.5354, allocations: 7.969 kB / 0.7669 GB, free: 1.871 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5354, allocations: 0 / 0.7669 GB, free: 1.871 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5354, allocations: 4 kB / 0.7669 GB, free: 1.867 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.5354, allocations: 1.438 kB / 0.7669 GB, free: 1.867 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.5355, allocations: 130.2 kB / 0.7671 GB, free: 1.703 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5356, allocations: 0 / 0.7671 GB, free: 1.703 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-07/0.5356, allocations: 1.031 kB / 0.7671 GB, free: 1.703 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5356, allocations: 0 / 0.7671 GB, free: 1.703 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.5356, allocations: 9.266 kB / 0.7671 GB, free: 1.695 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.5356, allocations: 0 / 0.7671 GB, free: 1.695 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5356, allocations: 3.938 kB / 0.7671 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.5357, allocations: 139.5 kB / 0.7672 GB, free: 1.539 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.5358, allocations: 81.11 kB / 0.7673 GB, free: 1.441 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.5358, allocations: 1.641 kB / 0.7673 GB, free: 1.441 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.274e-05/0.5359, allocations: 3.953 kB / 0.7673 GB, free: 1.438 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.5359, allocations: 4 kB / 0.7673 GB, free: 1.434 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.5359, allocations: 3.984 kB / 0.7673 GB, free: 1.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.223e-05/0.5359, allocations: 88.31 kB / 0.7674 GB, free: 1.344 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.536, allocations: 0 / 0.7674 GB, free: 1.344 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.5362, allocations: 8 kB / 0.7674 GB, free: 1.336 MB / 474.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.0001512/0.5363, allocations: 104.5 kB / 0.7675 GB, free: 1.227 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.5365, allocations: 83.33 kB / 0.7676 GB, free: 1.133 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5365, allocations: 0 / 0.7676 GB, free: 1.133 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.5365, allocations: 63.28 kB / 0.7676 GB, free: 1.059 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.5367, allocations: 6.422 kB / 0.7676 GB, free: 1.055 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001667/0.5368, allocations: 69.59 kB / 0.7677 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.5371, allocations: 0.689 MB / 0.7684 GB, free: 260 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.165e-05/0.5371, allocations: 8.172 kB / 0.7684 GB, free: 248 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/0.5372, allocations: 11.44 kB / 0.7684 GB, free: 240 kB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5372, allocations: 0 / 0.7684 GB, free: 240 kB / 474.7 MB Notification: Performance of Templates: time 0.002188/0.5394, allocations: 491.5 kB / 0.7689 GB, free: 15.79 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)