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.1835/0.1857, allocations: 80.85 MB / 0.6707 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002214/0.188, allocations: 0.5821 MB / 0.6712 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007292/0.1887, allocations: 343 kB / 0.6716 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.1888, allocations: 0 / 0.6716 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.1888, allocations: 0 / 0.6716 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.475e-05/0.1889, allocations: 3.938 kB / 0.6716 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.1894, allocations: 123.6 kB / 0.6717 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.16e-05/0.1894, allocations: 19.98 kB / 0.6717 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.1895, allocations: 4 kB / 0.6717 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.952e-05/0.1895, allocations: 15.92 kB / 0.6717 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.1896, allocations: 15.86 kB / 0.6717 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1896, allocations: 4 kB / 0.6717 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.19, allocations: 271.7 kB / 0.672 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.19, allocations: 3.984 kB / 0.672 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.1901, allocations: 15.92 kB / 0.672 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.1903, allocations: 103.8 kB / 0.6721 GB, free: 496 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1903, allocations: 0 / 0.6721 GB, free: 496 kB / 0.4981 GB Notification: Performance of FrontEnd: time 3.016e-06/0.1903, allocations: 0 / 0.6721 GB, free: 496 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.1903, allocations: 0 / 0.6721 GB, free: 496 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005641/0.1909, allocations: 363.5 kB / 0.6725 GB, free: 84 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1909, allocations: 8.031 kB / 0.6725 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.191, allocations: 4.938 kB / 0.6725 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.1912, allocations: 160.4 kB / 0.6726 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1912, allocations: 4.375 kB / 0.6726 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.1912, allocations: 4.375 kB / 0.6726 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1914, allocations: 53.61 kB / 0.6727 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1914, allocations: 3.938 kB / 0.6727 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1914, allocations: 8 kB / 0.6727 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1914, allocations: 4 kB / 0.6727 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.1915, allocations: 19.92 kB / 0.6727 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/0.1917, allocations: 169.5 kB / 0.6729 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.1918, allocations: 62.55 kB / 0.6729 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.1919, allocations: 28.84 kB / 0.673 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006896/0.1926, allocations: 465.6 kB / 0.6734 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1926, allocations: 38.55 kB / 0.6734 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 2.464e-06/0.1926, allocations: 0 / 0.6734 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001204/0.1938, allocations: 0.5876 MB / 0.674 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.1939, allocations: 51.41 kB / 0.6741 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.2e-05/0.194, allocations: 97.86 kB / 0.6742 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.194, allocations: 25.7 kB / 0.6742 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.194, allocations: 88.14 kB / 0.6743 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.1941, allocations: 43.44 kB / 0.6743 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/0.1941, allocations: 29.7 kB / 0.6743 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1943, allocations: 310.8 kB / 0.6746 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.151e-05/0.1943, allocations: 24.08 kB / 0.6747 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.1943, allocations: 27.92 kB / 0.6747 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/0.1944, allocations: 59.8 kB / 0.6747 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1945, allocations: 4 kB / 0.6747 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000158/0.1946, allocations: 97.53 kB / 0.6748 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1946, allocations: 8 kB / 0.6748 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1947, allocations: 0 / 0.6748 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1947, allocations: 4 kB / 0.6749 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1948, allocations: 19.98 kB / 0.6749 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1948, allocations: 3.984 kB / 0.6749 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.1948, allocations: 0 / 0.6749 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1948, allocations: 4 kB / 0.6749 GB, free: 13.25 MB / 0.5137 GB 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.953e-05/0.1949, allocations: 125.7 kB / 0.675 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.195, allocations: 4 kB / 0.675 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.1952, allocations: 109.5 kB / 0.6751 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1952, allocations: 0 / 0.6751 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1952, allocations: 4 kB / 0.6751 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1952, allocations: 0 / 0.6751 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.1956, allocations: 354.6 kB / 0.6754 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1956, allocations: 0 / 0.6754 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1958, allocations: 31.98 kB / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1958, allocations: 0 / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-06/0.1958, allocations: 0 / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1958, allocations: 0 / 0.6755 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1958, allocations: 8 kB / 0.6755 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.196, allocations: 215.4 kB / 0.6757 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.1961, allocations: 93.03 kB / 0.6758 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1961, allocations: 0 / 0.6758 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.1962, allocations: 4 kB / 0.6758 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.1962, allocations: 7.984 kB / 0.6758 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.1962, allocations: 8.125 kB / 0.6758 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.1963, allocations: 87.33 kB / 0.6759 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1963, allocations: 3.938 kB / 0.6759 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002663/0.1966, allocations: 51.92 kB / 0.6759 GB, free: 12.04 MB / 0.5137 GB 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.0002405/0.1968, allocations: 143.2 kB / 0.6761 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.197, allocations: 59.92 kB / 0.6761 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.197, allocations: 0 / 0.6761 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.197, allocations: 31.92 kB / 0.6762 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.1973, allocations: 8 kB / 0.6762 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.1977, allocations: 182.2 kB / 0.6763 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.1979, allocations: 0.6855 MB / 0.677 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.963e-05/0.198, allocations: 11.98 kB / 0.677 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.198, allocations: 11.44 kB / 0.677 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.198, allocations: 4 kB / 0.677 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.003953/0.202, allocations: 1.416 MB / 0.6784 GB, free: 9.457 MB / 0.5137 GB 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)