Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.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.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic") [/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.1778/0.1798, allocations: 80.83 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002878/0.1828, allocations: 1.467 MB / 0.672 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003143/0.1831, allocations: 107.7 kB / 0.6721 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.993e-05/0.1831, allocations: 0 / 0.6721 GB, free: 432 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.838e-05/0.1832, allocations: 7.938 kB / 0.6722 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/0.1833, allocations: 7.922 kB / 0.6722 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.1836, allocations: 31.91 kB / 0.6722 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.848e-05/0.1837, allocations: 39.91 kB / 0.6722 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1838, allocations: 15.98 kB / 0.6722 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.998e-05/0.1838, allocations: 15.92 kB / 0.6723 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.1839, allocations: 19.92 kB / 0.6723 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1839, allocations: 7.938 kB / 0.6723 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.1841, allocations: 39.89 kB / 0.6723 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.1841, allocations: 11.98 kB / 0.6723 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.884e-05/0.1842, allocations: 27.81 kB / 0.6724 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1843, allocations: 83.7 kB / 0.6724 GB, free: 120 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1844, allocations: 0 / 0.6724 GB, free: 120 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1844, allocations: 0 / 0.6724 GB, free: 120 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1844, allocations: 0 / 0.6724 GB, free: 120 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006533/0.185, allocations: 375.3 kB / 0.6728 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1851, allocations: 12.03 kB / 0.6728 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.1851, allocations: 8.844 kB / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1853, allocations: 172.3 kB / 0.673 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1853, allocations: 8.375 kB / 0.673 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.1853, allocations: 384 / 0.673 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.1856, allocations: 117.6 kB / 0.6731 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1856, allocations: 3.938 kB / 0.6731 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.1857, allocations: 3.984 kB / 0.6731 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.1857, allocations: 8 kB / 0.6731 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.1861, allocations: 127.9 kB / 0.6732 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.1866, allocations: 348.5 kB / 0.6736 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.1868, allocations: 58.47 kB / 0.6736 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.187, allocations: 40.91 kB / 0.6737 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.1873, allocations: 125.1 kB / 0.6738 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.1873, allocations: 30.56 kB / 0.6738 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.1873, allocations: 0 / 0.6738 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006205/0.188, allocations: 141.4 kB / 0.674 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.188, allocations: 55.41 kB / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1882, allocations: 148.2 kB / 0.6741 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1882, allocations: 25.7 kB / 0.6742 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/0.1883, allocations: 119.7 kB / 0.6743 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.1884, allocations: 11.84 kB / 0.6743 GB, free: 14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.405e-05/0.1885, allocations: 37.61 kB / 0.6743 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1886, allocations: 310.8 kB / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.1888, allocations: 51.95 kB / 0.6747 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.1891, allocations: 113.4 kB / 0.6748 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.1895, allocations: 169.2 kB / 0.6749 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1895, allocations: 4 kB / 0.675 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004927/0.19, allocations: 173.3 kB / 0.6751 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.19, allocations: 15.88 kB / 0.6751 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1901, allocations: 3.984 kB / 0.6751 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.1901, allocations: 4 kB / 0.6751 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.1903, allocations: 32.3 kB / 0.6752 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.1903, allocations: 7.984 kB / 0.6752 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.1904, allocations: 19.98 kB / 0.6752 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.1905, allocations: 8 kB / 0.6752 GB, free: 12.98 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001029/0.1906, allocations: 125.7 kB / 0.6753 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.1906, allocations: 15.84 kB / 0.6753 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.1911, allocations: 125.7 kB / 0.6755 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1911, allocations: 0 / 0.6755 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.1911, allocations: 4 kB / 0.6755 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1911, allocations: 0 / 0.6755 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.1913, allocations: 173.6 kB / 0.6756 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1913, allocations: 0 / 0.6756 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1914, allocations: 19.98 kB / 0.6756 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1914, allocations: 3.938 kB / 0.6757 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1915, allocations: 0 / 0.6757 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1915, allocations: 0 / 0.6757 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1915, allocations: 4 kB / 0.6757 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.1919, allocations: 203.6 kB / 0.6759 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.676e-05/0.192, allocations: 85.02 kB / 0.6759 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.192, allocations: 3.938 kB / 0.6759 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1921, allocations: 11.98 kB / 0.6759 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.1922, allocations: 15.86 kB / 0.676 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1922, allocations: 4 kB / 0.676 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.656e-05/0.1923, allocations: 110.7 kB / 0.6761 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1923, allocations: 0 / 0.6761 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002824/0.1926, allocations: 20 kB / 0.6761 GB, free: 11.97 MB / 0.5137 GB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001714/0.1928, allocations: 107.2 kB / 0.6762 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00041/0.1932, allocations: 104.4 kB / 0.6763 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1932, allocations: 4 kB / 0.6763 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.1934, allocations: 39.95 kB / 0.6763 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1937, allocations: 4 kB / 0.6763 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.1941, allocations: 165.8 kB / 0.6765 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.1944, allocations: 0.6924 MB / 0.6772 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.307e-05/0.1945, allocations: 28.41 kB / 0.6772 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.1945, allocations: 15.44 kB / 0.6772 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.1945, allocations: 0 / 0.6772 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.003754/0.1983, allocations: 0.9884 MB / 0.6782 GB, free: 9.773 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1)