Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [/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.1893/0.19, allocations: 82.22 MB / 0.5941 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0009307/0.1911, allocations: 296.8 kB / 0.5944 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008156/0.1919, allocations: 355 kB / 0.5947 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.701e-05/0.1919, allocations: 4 kB / 0.5947 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.192, allocations: 0 / 0.5947 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.037e-05/0.192, allocations: 0 / 0.5947 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.1925, allocations: 78.84 kB / 0.5948 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.079e-05/0.1925, allocations: 11.94 kB / 0.5948 GB, free: 4.863 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.1926, allocations: 7.984 kB / 0.5948 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.085e-05/0.1926, allocations: 0 / 0.5948 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.1927, allocations: 7.984 kB / 0.5948 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.1927, allocations: 4 kB / 0.5949 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004397/0.1931, allocations: 271.6 kB / 0.5951 GB, free: 4.578 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.1932, allocations: 7.984 kB / 0.5951 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.1932, allocations: 29.64 kB / 0.5951 GB, free: 4.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.1934, allocations: 87.84 kB / 0.5952 GB, free: 4.449 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1934, allocations: 0 / 0.5952 GB, free: 4.449 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1934, allocations: 0 / 0.5952 GB, free: 4.449 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1935, allocations: 0 / 0.5952 GB, free: 4.449 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003856/0.1938, allocations: 351.7 kB / 0.5956 GB, free: 4.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1939, allocations: 8.031 kB / 0.5956 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.864e-05/0.194, allocations: 4.938 kB / 0.5956 GB, free: 4.047 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.1941, allocations: 168.4 kB / 0.5957 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.1941, allocations: 384 / 0.5957 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1942, allocations: 384 / 0.5957 GB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1943, allocations: 41.77 kB / 0.5958 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1943, allocations: 0 / 0.5958 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1943, allocations: 0 / 0.5958 GB, free: 3.797 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.1943, allocations: 4 kB / 0.5958 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.506e-05/0.1943, allocations: 3.984 kB / 0.5958 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.1945, allocations: 153.7 kB / 0.5959 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.964e-05/0.1946, allocations: 22.59 kB / 0.596 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.1946, allocations: 8.922 kB / 0.596 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007391/0.1954, allocations: 465.4 kB / 0.5964 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.1954, allocations: 34.5 kB / 0.5964 GB, free: 2.957 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1954, allocations: 0 / 0.5964 GB, free: 2.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005927/0.196, allocations: 250.5 kB / 0.5967 GB, free: 2.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.1961, allocations: 55.41 kB / 0.5967 GB, free: 2.594 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.1962, allocations: 101.8 kB / 0.5968 GB, free: 2.484 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1962, allocations: 25.7 kB / 0.5969 GB, free: 2.453 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.1962, allocations: 80.14 kB / 0.5969 GB, free: 2.371 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.1962, allocations: 7.906 kB / 0.5969 GB, free: 2.363 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.1963, allocations: 13.72 kB / 0.597 GB, free: 2.344 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1964, allocations: 314.8 kB / 0.5973 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.1964, allocations: 4.125 kB / 0.5973 GB, free: 2.023 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.684e-05/0.1965, allocations: 21.72 kB / 0.5973 GB, free: 1.996 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.624e-05/0.1965, allocations: 25.66 kB / 0.5973 GB, free: 1.965 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1965, allocations: 0 / 0.5973 GB, free: 1.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000103/0.1966, allocations: 53.62 kB / 0.5974 GB, free: 1.906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1967, allocations: 8 kB / 0.5974 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1967, allocations: 0 / 0.5974 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1967, allocations: 8 kB / 0.5974 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.1968, allocations: 15.92 kB / 0.5974 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1968, allocations: 0 / 0.5974 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.058e-05/0.1968, allocations: 7.938 kB / 0.5974 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1968, allocations: 0 / 0.5974 GB, free: 1.867 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.562e-05/0.1969, allocations: 110.7 kB / 0.5975 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.1969, allocations: 7.984 kB / 0.5975 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.1971, allocations: 61.17 kB / 0.5976 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1971, allocations: 0 / 0.5976 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.1971, allocations: 4 kB / 0.5976 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1971, allocations: 3.984 kB / 0.5976 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.1972, allocations: 149.6 kB / 0.5977 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.1972, allocations: 11.92 kB / 0.5977 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.1973, allocations: 4 kB / 0.5977 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1973, allocations: 0 / 0.5977 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.1973, allocations: 0 / 0.5977 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1973, allocations: 0 / 0.5977 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1973, allocations: 4 kB / 0.5977 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.1975, allocations: 77.12 kB / 0.5978 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.1975, allocations: 85.03 kB / 0.5979 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1976, allocations: 0 / 0.5979 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.806e-05/0.1976, allocations: 4 kB / 0.5979 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.1976, allocations: 4.031 kB / 0.5979 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.1976, allocations: 0 / 0.5979 GB, free: 1.246 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.851e-05/0.1977, allocations: 83.34 kB / 0.598 GB, free: 1.164 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.793e-06/0.1977, allocations: 0 / 0.598 GB, free: 1.164 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.1979, allocations: 27.92 kB / 0.598 GB, free: 1.137 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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.0002295/0.1981, allocations: 127.2 kB / 0.5981 GB, free: 1.004 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.212e-05/0.1982, allocations: 15.98 kB / 0.5981 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1982, allocations: 0 / 0.5981 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.1983, allocations: 4 kB / 0.5981 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.1985, allocations: 12.16 kB / 0.5982 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.1988, allocations: 116.8 kB / 0.5983 GB, free: 0.832 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.199, allocations: 0.6848 MB / 0.5989 GB, free: 124 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.1991, allocations: 3.938 kB / 0.5989 GB, free: 120 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.1991, allocations: 11.44 kB / 0.5989 GB, free: 108 kB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1991, allocations: 0 / 0.5989 GB, free: 108 kB / 446.1 MB Notification: Performance of Templates: time 0.003503/0.2026, allocations: 0.8548 MB / 0.5998 GB, free: 15.28 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: