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.1703/0.1723, allocations: 80.83 MB / 0.5899 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001822/0.1742, allocations: 0.6579 MB / 0.5905 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000617/0.1748, allocations: 342.8 kB / 0.5908 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.973e-05/0.1748, allocations: 0 / 0.5908 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.1749, allocations: 0 / 0.5908 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.072e-05/0.1749, allocations: 4 kB / 0.5908 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.1754, allocations: 111.1 kB / 0.591 GB, free: 5.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.047e-05/0.1755, allocations: 19.98 kB / 0.591 GB, free: 5.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.1755, allocations: 288 / 0.591 GB, free: 5.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.1756, allocations: 15.92 kB / 0.591 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.849e-05/0.1756, allocations: 19.86 kB / 0.591 GB, free: 5.785 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.1756, allocations: 4 kB / 0.591 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003568/0.176, allocations: 275.6 kB / 0.5913 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.176, allocations: 8 kB / 0.5913 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.1761, allocations: 7.938 kB / 0.5913 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.1763, allocations: 107.8 kB / 0.5914 GB, free: 5.391 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1763, allocations: 0 / 0.5914 GB, free: 5.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1763, allocations: 0 / 0.5914 GB, free: 5.391 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1763, allocations: 0 / 0.5914 GB, free: 5.391 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.0004413/0.1767, allocations: 362.5 kB / 0.5917 GB, free: 4.992 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1768, allocations: 8.031 kB / 0.5917 GB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.1769, allocations: 4.938 kB / 0.5918 GB, free: 4.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.177, allocations: 176.3 kB / 0.5919 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.177, allocations: 4.312 kB / 0.5919 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.177, allocations: 4.375 kB / 0.5919 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1772, allocations: 53.81 kB / 0.592 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1772, allocations: 0 / 0.592 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1772, allocations: 0 / 0.592 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1772, allocations: 0 / 0.592 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.83e-05/0.1773, allocations: 23.97 kB / 0.592 GB, free: 4.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.1775, allocations: 169.6 kB / 0.5922 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1776, allocations: 70.42 kB / 0.5922 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.1777, allocations: 32.84 kB / 0.5923 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007096/0.1784, allocations: 453.5 kB / 0.5927 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.1784, allocations: 38.5 kB / 0.5927 GB, free: 3.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1784, allocations: 0 / 0.5927 GB, free: 3.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001316/0.1798, allocations: 0.5846 MB / 0.5933 GB, free: 3.094 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.1798, allocations: 59.34 kB / 0.5934 GB, free: 3.023 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.856e-05/0.1799, allocations: 97.84 kB / 0.5935 GB, free: 2.918 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1799, allocations: 29.7 kB / 0.5935 GB, free: 2.883 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.1799, allocations: 84.08 kB / 0.5936 GB, free: 2.797 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.18, allocations: 35.45 kB / 0.5936 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.18, allocations: 25.72 kB / 0.5936 GB, free: 2.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.518e-05/0.1801, allocations: 322.8 kB / 0.5939 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.1802, allocations: 20 kB / 0.5939 GB, free: 2.387 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-05/0.1802, allocations: 23.98 kB / 0.594 GB, free: 2.363 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.524e-05/0.1803, allocations: 56.78 kB / 0.594 GB, free: 2.305 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1803, allocations: 3.938 kB / 0.594 GB, free: 2.301 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000147/0.1805, allocations: 97.69 kB / 0.5941 GB, free: 2.199 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1805, allocations: 4 kB / 0.5941 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1805, allocations: 4 kB / 0.5941 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1805, allocations: 0 / 0.5941 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1806, allocations: 27.92 kB / 0.5942 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1807, allocations: 0 / 0.5942 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.1807, allocations: 4 kB / 0.5942 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1807, allocations: 8 kB / 0.5942 GB, free: 2.152 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 7.345e-05/0.1808, allocations: 118.7 kB / 0.5943 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.1808, allocations: 3.906 kB / 0.5943 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.181, allocations: 113.5 kB / 0.5944 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.181, allocations: 3.938 kB / 0.5944 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.181, allocations: 0 / 0.5944 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.181, allocations: 0 / 0.5944 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.1814, allocations: 361.4 kB / 0.5947 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1814, allocations: 0 / 0.5947 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.1816, allocations: 23.98 kB / 0.5948 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1816, allocations: 3.938 kB / 0.5948 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1816, allocations: 3.938 kB / 0.5948 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1816, allocations: 0 / 0.5948 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1816, allocations: 0 / 0.5948 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.1819, allocations: 223.2 kB / 0.595 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/0.1819, allocations: 89.12 kB / 0.5951 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1819, allocations: 0 / 0.5951 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.182, allocations: 11.98 kB / 0.5951 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.1821, allocations: 0 / 0.5951 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-06/0.1821, allocations: 4 kB / 0.5951 GB, free: 1.109 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.598e-05/0.1821, allocations: 91.38 kB / 0.5952 GB, free: 1.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1821, allocations: 0 / 0.5952 GB, free: 1.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.1824, allocations: 40 kB / 0.5952 GB, free: 0.9805 MB / 446.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.0002282/0.1826, allocations: 155.2 kB / 0.5954 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.1828, allocations: 55.97 kB / 0.5954 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1828, allocations: 7.938 kB / 0.5954 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.1829, allocations: 31.98 kB / 0.5954 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.1831, allocations: 8 kB / 0.5955 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.1835, allocations: 190.2 kB / 0.5956 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.1837, allocations: 0.6846 MB / 0.5963 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.1838, allocations: 11.94 kB / 0.5963 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.1838, allocations: 11.44 kB / 0.5963 GB, free: 15.78 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1838, allocations: 3.938 kB / 0.5963 GB, free: 15.77 MB / 462.1 MB Notification: Performance of Templates: time 0.00389/0.1877, allocations: 1.408 MB / 0.5977 GB, free: 14.4 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (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)