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.5543/0.5564, allocations: 80.81 MB / 0.5904 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002005/0.5585, allocations: 0.5677 MB / 0.591 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000611/0.5591, allocations: 330 kB / 0.5913 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.5592, allocations: 5.812 kB / 0.5913 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.5592, allocations: 0 / 0.5913 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.785e-05/0.5592, allocations: 1.281 kB / 0.5913 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.5596, allocations: 116.3 kB / 0.5914 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.821e-05/0.5597, allocations: 13.11 kB / 0.5914 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.5598, allocations: 5.344 kB / 0.5914 GB, free: 21.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.937e-05/0.5598, allocations: 4.531 kB / 0.5914 GB, free: 21.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.962e-05/0.5598, allocations: 10.61 kB / 0.5914 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.5599, allocations: 0 / 0.5914 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003462/0.5602, allocations: 270.8 kB / 0.5917 GB, free: 21.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.5602, allocations: 8.844 kB / 0.5917 GB, free: 21.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.5603, allocations: 5.75 kB / 0.5917 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.5604, allocations: 84.33 kB / 0.5918 GB, free: 21.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5604, allocations: 3.312 kB / 0.5918 GB, free: 21.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5604, allocations: 0 / 0.5918 GB, free: 21.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.5605, allocations: 0 / 0.5918 GB, free: 21.25 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.0003321/0.5608, allocations: 345.6 kB / 0.5921 GB, free: 20.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5608, allocations: 10.34 kB / 0.5921 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.5609, allocations: 6 kB / 0.5921 GB, free: 20.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.561, allocations: 169.6 kB / 0.5923 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.5611, allocations: 2.5 kB / 0.5923 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.5611, allocations: 1.719 kB / 0.5923 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.5612, allocations: 43.56 kB / 0.5923 GB, free: 20.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5612, allocations: 0.6875 kB / 0.5923 GB, free: 20.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.5613, allocations: 0 / 0.5923 GB, free: 20.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5613, allocations: 1.219 kB / 0.5923 GB, free: 20.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.661e-05/0.5613, allocations: 7.062 kB / 0.5924 GB, free: 20.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.5615, allocations: 155.8 kB / 0.5925 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.59e-05/0.5616, allocations: 18.67 kB / 0.5925 GB, free: 20.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.369e-05/0.5616, allocations: 7.078 kB / 0.5925 GB, free: 20.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007367/0.5623, allocations: 465.6 kB / 0.593 GB, free: 19.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.5624, allocations: 35.56 kB / 0.593 GB, free: 19.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.873e-06/0.5624, allocations: 0 / 0.593 GB, free: 19.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006136/0.563, allocations: 247.6 kB / 0.5932 GB, free: 19.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.5631, allocations: 56.53 kB / 0.5933 GB, free: 19.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.5631, allocations: 100.5 kB / 0.5934 GB, free: 19.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.5632, allocations: 25.7 kB / 0.5934 GB, free: 19.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.5632, allocations: 81.2 kB / 0.5935 GB, free: 19.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.5632, allocations: 12.92 kB / 0.5935 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.5633, allocations: 18.22 kB / 0.5935 GB, free: 19.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.5634, allocations: 312.2 kB / 0.5938 GB, free: 18.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.521e-05/0.5634, allocations: 6.719 kB / 0.5938 GB, free: 18.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.5634, allocations: 22.31 kB / 0.5938 GB, free: 18.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.15e-05/0.5635, allocations: 27.12 kB / 0.5939 GB, free: 18.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.5635, allocations: 1 kB / 0.5939 GB, free: 18.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.5636, allocations: 62.31 kB / 0.5939 GB, free: 18.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5636, allocations: 4 kB / 0.5939 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5637, allocations: 4 kB / 0.5939 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.5637, allocations: 0 / 0.5939 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.5637, allocations: 4 kB / 0.5939 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5638, allocations: 8.062 kB / 0.594 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.5638, allocations: 0 / 0.594 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.5638, allocations: 3.938 kB / 0.594 GB, free: 18.83 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 6.427e-05/0.5639, allocations: 117.7 kB / 0.5941 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.5639, allocations: 3.938 kB / 0.5941 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.5641, allocations: 61.08 kB / 0.5941 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5641, allocations: 0 / 0.5941 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5641, allocations: 4 kB / 0.5941 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5641, allocations: 0 / 0.5941 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.382e-05/0.5642, allocations: 153.7 kB / 0.5943 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.5642, allocations: 7.938 kB / 0.5943 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.5643, allocations: 8 kB / 0.5943 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5643, allocations: 0 / 0.5943 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.5643, allocations: 0 / 0.5943 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.5643, allocations: 0 / 0.5943 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.5643, allocations: 3.984 kB / 0.5943 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.5645, allocations: 85.09 kB / 0.5944 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.5645, allocations: 81.05 kB / 0.5945 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.5645, allocations: 0 / 0.5945 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.475e-05/0.5646, allocations: 0 / 0.5945 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.5646, allocations: 7.984 kB / 0.5945 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.5646, allocations: 0 / 0.5945 GB, free: 18.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.32e-05/0.5646, allocations: 75.28 kB / 0.5945 GB, free: 18.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5646, allocations: 0 / 0.5945 GB, free: 18.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.5648, allocations: 24.16 kB / 0.5946 GB, free: 18.1 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.0001789/0.565, allocations: 135.2 kB / 0.5947 GB, free: 17.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.5651, allocations: 19.92 kB / 0.5947 GB, free: 17.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.5652, allocations: 4 kB / 0.5947 GB, free: 17.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.536e-05/0.5652, allocations: 4 kB / 0.5947 GB, free: 17.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.5654, allocations: 4.5 kB / 0.5947 GB, free: 17.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.5657, allocations: 112.4 kB / 0.5948 GB, free: 17.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.566, allocations: 0.6807 MB / 0.5955 GB, free: 17.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.587e-05/0.566, allocations: 7.938 kB / 0.5955 GB, free: 17.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.5661, allocations: 7.438 kB / 0.5955 GB, free: 17.08 MB / 446.1 MB Notification: Performance of SimCode: time 2.334e-06/0.5661, allocations: 4 kB / 0.5955 GB, free: 17.07 MB / 446.1 MB Notification: Performance of Templates: time 0.003894/0.57, allocations: 0.8608 MB / 0.5964 GB, free: 16.25 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (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)