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.1664/0.1671, allocations: 82.21 MB / 0.5934 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006463/0.1678, allocations: 318.8 kB / 0.5937 GB, free: 5.676 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006495/0.1685, allocations: 327.2 kB / 0.594 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.047e-05/0.1685, allocations: 0 / 0.594 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.577e-06/0.1686, allocations: 0 / 0.594 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.575e-05/0.1686, allocations: 0 / 0.594 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.1689, allocations: 78.89 kB / 0.5941 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.93e-05/0.169, allocations: 15.92 kB / 0.5941 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.169, allocations: 4 kB / 0.5941 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.1691, allocations: 11.98 kB / 0.5941 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.1691, allocations: 15.92 kB / 0.5941 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1691, allocations: 0 / 0.5941 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.1695, allocations: 263.6 kB / 0.5944 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.1695, allocations: 4 kB / 0.5944 GB, free: 4.973 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.1695, allocations: 33.64 kB / 0.5944 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.1697, allocations: 63.86 kB / 0.5945 GB, free: 4.871 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.1697, allocations: 0 / 0.5945 GB, free: 4.871 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1697, allocations: 0 / 0.5945 GB, free: 4.871 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1697, allocations: 0 / 0.5945 GB, free: 4.871 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.0003774/0.1701, allocations: 355.5 kB / 0.5948 GB, free: 4.477 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1701, allocations: 8.031 kB / 0.5948 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/0.1702, allocations: 4 kB / 0.5948 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.1703, allocations: 163.1 kB / 0.595 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1703, allocations: 11.94 kB / 0.595 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1704, allocations: 3.906 kB / 0.595 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1705, allocations: 53.62 kB / 0.595 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1705, allocations: 0 / 0.595 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1705, allocations: 4 kB / 0.595 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1705, allocations: 8 kB / 0.595 GB, free: 4.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.199e-05/0.1706, allocations: 19.92 kB / 0.5951 GB, free: 4.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.1708, allocations: 161.7 kB / 0.5952 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.208e-05/0.1709, allocations: 58.55 kB / 0.5953 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007224/0.1716, allocations: 461.5 kB / 0.5957 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1716, allocations: 30.56 kB / 0.5957 GB, free: 3.305 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.1716, allocations: 0 / 0.5957 GB, free: 3.305 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001641/0.1733, allocations: 0.6029 MB / 0.5963 GB, free: 2.613 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.1734, allocations: 59.41 kB / 0.5964 GB, free: 2.543 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1735, allocations: 97.84 kB / 0.5965 GB, free: 2.438 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.1735, allocations: 29.7 kB / 0.5965 GB, free: 2.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.1736, allocations: 80.14 kB / 0.5966 GB, free: 2.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.1736, allocations: 35.45 kB / 0.5966 GB, free: 2.285 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.1736, allocations: 8 kB / 0.5966 GB, free: 2.277 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1738, allocations: 314.8 kB / 0.5969 GB, free: 1.961 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.104e-05/0.1739, allocations: 27.98 kB / 0.5969 GB, free: 1.934 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-05/0.1739, allocations: 19.98 kB / 0.597 GB, free: 1.914 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.174, allocations: 20 kB / 0.597 GB, free: 1.895 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.174, allocations: 0 / 0.597 GB, free: 1.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001729/0.1742, allocations: 97.53 kB / 0.5971 GB, free: 1.793 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.1742, allocations: 11.95 kB / 0.5971 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1742, allocations: 0 / 0.5971 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1742, allocations: 0 / 0.5971 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1744, allocations: 27.92 kB / 0.5971 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1744, allocations: 4 kB / 0.5971 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.607e-05/0.1744, allocations: 4.188 kB / 0.5971 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1744, allocations: 0 / 0.5971 GB, free: 1.746 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.1746, allocations: 113.8 kB / 0.5972 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.1746, allocations: 11.89 kB / 0.5972 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.1749, allocations: 109.5 kB / 0.5974 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1749, allocations: 4 kB / 0.5974 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.1749, allocations: 4 kB / 0.5974 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1749, allocations: 0 / 0.5974 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.1754, allocations: 346.5 kB / 0.5977 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1755, allocations: 3.953 kB / 0.5977 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1756, allocations: 27.92 kB / 0.5977 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1756, allocations: 0 / 0.5977 GB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1756, allocations: 4 kB / 0.5977 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1756, allocations: 96 / 0.5977 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1756, allocations: 7.938 kB / 0.5977 GB, free: 1.051 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.176, allocations: 219.4 kB / 0.5979 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/0.1761, allocations: 89.08 kB / 0.598 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1761, allocations: 0 / 0.598 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.1762, allocations: 8 kB / 0.598 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.1762, allocations: 11.92 kB / 0.598 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1762, allocations: 0 / 0.598 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.285e-05/0.1763, allocations: 79.28 kB / 0.5981 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1763, allocations: 64 / 0.5981 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003166/0.1766, allocations: 48 kB / 0.5982 GB, free: 0.5703 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002987/0.1769, allocations: 151.1 kB / 0.5983 GB, free: 424 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.1771, allocations: 63.11 kB / 0.5984 GB, free: 364 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1771, allocations: 0 / 0.5984 GB, free: 364 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.468e-05/0.1771, allocations: 31.98 kB / 0.5984 GB, free: 332 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.1773, allocations: 4 kB / 0.5984 GB, free: 328 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.1776, allocations: 194.7 kB / 0.5986 GB, free: 104 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.1779, allocations: 0.6926 MB / 0.5993 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.525e-05/0.178, allocations: 7.938 kB / 0.5993 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.178, allocations: 15.38 kB / 0.5993 GB, free: 15.36 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.178, allocations: 4 kB / 0.5993 GB, free: 15.36 MB / 462.1 MB Notification: Performance of Templates: time 0.004131/0.1822, allocations: 1.345 MB / 0.6006 GB, free: 14.04 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: