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.1804/0.1811, allocations: 82.22 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007519/0.1819, allocations: 290.8 kB / 0.5936 GB, free: 5.723 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001724/0.1821, allocations: 23.98 kB / 0.5937 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.876e-05/0.1821, allocations: 0 / 0.5937 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.1822, allocations: 7.984 kB / 0.5937 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.675e-05/0.1822, allocations: 0 / 0.5937 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.1824, allocations: 11.94 kB / 0.5937 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.185e-05/0.1824, allocations: 3.984 kB / 0.5937 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.317e-05/0.1825, allocations: 7.984 kB / 0.5937 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.803e-05/0.1825, allocations: 0 / 0.5937 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.758e-05/0.1825, allocations: 8 kB / 0.5937 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1826, allocations: 0 / 0.5937 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.027e-05/0.1826, allocations: 19.92 kB / 0.5937 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.1827, allocations: 3.938 kB / 0.5937 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.1827, allocations: 33.64 kB / 0.5938 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.152e-05/0.1828, allocations: 15.98 kB / 0.5938 GB, free: 5.582 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1828, allocations: 0 / 0.5938 GB, free: 5.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1828, allocations: 0 / 0.5938 GB, free: 5.582 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1828, allocations: 0 / 0.5938 GB, free: 5.582 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.0003163/0.1831, allocations: 360.3 kB / 0.5941 GB, free: 5.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1832, allocations: 8.031 kB / 0.5941 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.1832, allocations: 0 / 0.5941 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.447e-05/0.1833, allocations: 163.1 kB / 0.5943 GB, free: 4.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1833, allocations: 4 kB / 0.5943 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.1833, allocations: 0 / 0.5943 GB, free: 4.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.1835, allocations: 65.61 kB / 0.5944 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1835, allocations: 0 / 0.5944 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-06/0.1835, allocations: 0 / 0.5944 GB, free: 4.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.1835, allocations: 8 kB / 0.5944 GB, free: 4.891 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.644e-05/0.1836, allocations: 27.92 kB / 0.5944 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.1839, allocations: 264.8 kB / 0.5946 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.321e-05/0.184, allocations: 22.58 kB / 0.5947 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.881e-06/0.184, allocations: 0 / 0.5947 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.184, allocations: 30.56 kB / 0.5947 GB, free: 4.484 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.184, allocations: 0 / 0.5947 GB, free: 4.484 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001666/0.1842, allocations: 75.39 kB / 0.5948 GB, free: 4.398 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.1843, allocations: 77.11 kB / 0.5948 GB, free: 4.305 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.1844, allocations: 109.8 kB / 0.5949 GB, free: 4.188 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1844, allocations: 29.83 kB / 0.595 GB, free: 4.152 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.1845, allocations: 107.8 kB / 0.5951 GB, free: 4.043 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.745e-06/0.1845, allocations: 3.906 kB / 0.5951 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.1845, allocations: 0 / 0.5951 GB, free: 4.039 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1846, allocations: 322.8 kB / 0.5954 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.1846, allocations: 7.984 kB / 0.5954 GB, free: 3.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.052e-05/0.1847, allocations: 66.88 kB / 0.5955 GB, free: 3.617 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.632e-05/0.1848, allocations: 45.64 kB / 0.5955 GB, free: 3.566 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1848, allocations: 0 / 0.5955 GB, free: 3.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001508/0.1849, allocations: 119.2 kB / 0.5956 GB, free: 3.438 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.185, allocations: 37.69 kB / 0.5956 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.185, allocations: 0 / 0.5956 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.185, allocations: 4 kB / 0.5957 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.1851, allocations: 12 kB / 0.5957 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1851, allocations: 4 kB / 0.5957 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.1852, allocations: 11.84 kB / 0.5957 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1852, allocations: 8.25 kB / 0.5957 GB, free: 3.355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.1853, allocations: 163.3 kB / 0.5958 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.1853, allocations: 0 / 0.5958 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.428e-05/0.1854, allocations: 7.531 kB / 0.5958 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1854, allocations: 0 / 0.5958 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1854, allocations: 0 / 0.5958 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.1854, allocations: 0 / 0.5958 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.1855, allocations: 157.6 kB / 0.596 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1855, allocations: 0 / 0.596 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1855, allocations: 0 / 0.596 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1855, allocations: 4 kB / 0.596 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1856, allocations: 4 kB / 0.596 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1856, allocations: 0 / 0.596 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1856, allocations: 7.984 kB / 0.596 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.1857, allocations: 165.2 kB / 0.5962 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.1857, allocations: 88.95 kB / 0.5963 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.1858, allocations: 7.984 kB / 0.5963 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-05/0.1858, allocations: 4.031 kB / 0.5963 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.1858, allocations: 0 / 0.5963 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1858, allocations: 4 kB / 0.5963 GB, free: 2.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.025e-05/0.1859, allocations: 83.27 kB / 0.5964 GB, free: 2.566 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1859, allocations: 4 kB / 0.5964 GB, free: 2.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1861, allocations: 12 kB / 0.5964 GB, free: 2.551 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 (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.0001477/0.1863, allocations: 99.25 kB / 0.5965 GB, free: 2.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.1864, allocations: 87.45 kB / 0.5965 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1864, allocations: 0 / 0.5965 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.1865, allocations: 59.34 kB / 0.5966 GB, free: 2.277 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.1866, allocations: 7.281 kB / 0.5966 GB, free: 2.273 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000208/0.1868, allocations: 114.6 kB / 0.5967 GB, free: 2.133 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1871, allocations: 0.6809 MB / 0.5974 GB, free: 1.426 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.789e-05/0.1871, allocations: 12.61 kB / 0.5974 GB, free: 1.414 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.05e-05/0.1872, allocations: 11.44 kB / 0.5974 GB, free: 1.402 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1872, allocations: 0 / 0.5974 GB, free: 1.402 MB / 446.1 MB Notification: Performance of Templates: time 0.002458/0.1896, allocations: 492.9 kB / 0.5979 GB, free: 0.9531 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: