Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [/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.1856/0.1863, allocations: 82.22 MB / 0.5941 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008373/0.1872, allocations: 318.7 kB / 0.5944 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000753/0.188, allocations: 374.8 kB / 0.5948 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.188, allocations: 0 / 0.5948 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.301e-05/0.188, allocations: 0 / 0.5948 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.559e-05/0.1881, allocations: 0 / 0.5948 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1885, allocations: 83.77 kB / 0.5949 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.939e-05/0.1885, allocations: 19.98 kB / 0.5949 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.1886, allocations: 0 / 0.5949 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.714e-05/0.1886, allocations: 19.86 kB / 0.5949 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.1887, allocations: 15.98 kB / 0.5949 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1887, allocations: 3.938 kB / 0.5949 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.1891, allocations: 271.7 kB / 0.5952 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.1891, allocations: 3.984 kB / 0.5952 GB, free: 4.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.1891, allocations: 41.62 kB / 0.5952 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.1893, allocations: 103.8 kB / 0.5953 GB, free: 4.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1893, allocations: 0 / 0.5953 GB, free: 4.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1893, allocations: 0 / 0.5953 GB, free: 4.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1893, allocations: 0 / 0.5953 GB, free: 4.328 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003851/0.1897, allocations: 355.7 kB / 0.5957 GB, free: 3.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1898, allocations: 8.031 kB / 0.5957 GB, free: 3.926 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.1898, allocations: 4.938 kB / 0.5957 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.19, allocations: 168.3 kB / 0.5958 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.19, allocations: 4.375 kB / 0.5958 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.19, allocations: 8.281 kB / 0.5958 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1901, allocations: 53.81 kB / 0.5959 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1902, allocations: 0 / 0.5959 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1902, allocations: 0 / 0.5959 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1902, allocations: 0 / 0.5959 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.922e-05/0.1902, allocations: 23.98 kB / 0.5959 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.1904, allocations: 165.7 kB / 0.5961 GB, free: 3.414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.1905, allocations: 62.5 kB / 0.5961 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.357e-05/0.1906, allocations: 28.84 kB / 0.5962 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006687/0.1913, allocations: 465.4 kB / 0.5966 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.1913, allocations: 38.5 kB / 0.5966 GB, free: 2.719 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1913, allocations: 0 / 0.5966 GB, free: 2.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001281/0.1926, allocations: 0.5949 MB / 0.5972 GB, free: 2.035 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1926, allocations: 51.41 kB / 0.5973 GB, free: 1.973 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.1927, allocations: 101.8 kB / 0.5974 GB, free: 1.863 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1927, allocations: 29.7 kB / 0.5974 GB, free: 1.828 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.1928, allocations: 80.14 kB / 0.5975 GB, free: 1.746 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.1929, allocations: 47.34 kB / 0.5975 GB, free: 1.699 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.1929, allocations: 17.72 kB / 0.5975 GB, free: 1.676 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.193, allocations: 322.8 kB / 0.5978 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.438e-05/0.1931, allocations: 19.94 kB / 0.5979 GB, free: 1.332 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.17e-05/0.1931, allocations: 23.98 kB / 0.5979 GB, free: 1.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.984e-05/0.1932, allocations: 52.61 kB / 0.5979 GB, free: 1.258 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1932, allocations: 3.938 kB / 0.5979 GB, free: 1.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001497/0.1934, allocations: 101.7 kB / 0.598 GB, free: 1.148 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1934, allocations: 4 kB / 0.598 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1934, allocations: 0 / 0.598 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1934, allocations: 4 kB / 0.598 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1936, allocations: 27.92 kB / 0.5981 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1936, allocations: 0 / 0.5981 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.1936, allocations: 4 kB / 0.5981 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1936, allocations: 4 kB / 0.5981 GB, free: 1.105 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.383e-05/0.1937, allocations: 114.7 kB / 0.5982 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.1937, allocations: 7.906 kB / 0.5982 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.1939, allocations: 113.5 kB / 0.5983 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1939, allocations: 4 kB / 0.5983 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.194, allocations: 0 / 0.5983 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.194, allocations: 0 / 0.5983 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.1943, allocations: 350.5 kB / 0.5986 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1943, allocations: 0 / 0.5986 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.1944, allocations: 23.92 kB / 0.5987 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1945, allocations: 4 kB / 0.5987 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1945, allocations: 0 / 0.5987 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1945, allocations: 0 / 0.5987 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1945, allocations: 3.938 kB / 0.5987 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.1947, allocations: 219.4 kB / 0.5989 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/0.1948, allocations: 93.12 kB / 0.599 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1948, allocations: 0 / 0.599 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.1949, allocations: 4 kB / 0.599 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.1949, allocations: 7.984 kB / 0.599 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1949, allocations: 4 kB / 0.599 GB, free: 68 kB / 446.1 MB Notification: Performance of sorting global known variables: time 4.678e-05/0.195, allocations: 83.28 kB / 0.5991 GB, free: 15.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.195, allocations: 4 kB / 0.5991 GB, free: 15.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1953, allocations: 43.98 kB / 0.5991 GB, free: 15.94 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002293/0.1955, allocations: 151 kB / 0.5993 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.1957, allocations: 63.36 kB / 0.5993 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1957, allocations: 0 / 0.5993 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.626e-05/0.1957, allocations: 35.94 kB / 0.5994 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.1959, allocations: 7.984 kB / 0.5994 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.1963, allocations: 195.5 kB / 0.5995 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.1965, allocations: 0.6891 MB / 0.6002 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.273e-05/0.1966, allocations: 11.88 kB / 0.6002 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.1966, allocations: 19.44 kB / 0.6002 GB, free: 14.71 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1966, allocations: 0 / 0.6002 GB, free: 14.71 MB / 462.1 MB Notification: Performance of Templates: time 0.003701/0.2003, allocations: 1.369 MB / 0.6016 GB, free: 13.38 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: