Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5344/0.5344, allocations: 94.78 MB / 102.3 MB, free: 10.16 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001139/0.001138, allocations: 173.3 kB / 125.5 MB, free: 11.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.559/1.559, allocations: 170.6 MB / 319.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001711/0.001711, allocations: 116 kB / 381.4 MB, free: 18.31 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2.005e-05, allocations: 4 kB / 449.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1689, allocations: 61.52 MB / 0.4987 GB, free: 4.117 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4605/0.6295, allocations: 92.83 MB / 0.5893 GB, free: 9.105 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.6299, allocations: 72.64 kB / 0.5894 GB, free: 9.035 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0104/0.6403, allocations: 3.071 MB / 0.5924 GB, free: 6.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.6404, allocations: 0 / 0.5924 GB, free: 6.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.6404, allocations: 0.6562 kB / 0.5924 GB, free: 6.027 MB / 410.7 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.0003796/0.6408, allocations: 331.2 kB / 0.5927 GB, free: 5.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.6408, allocations: 8.031 kB / 0.5927 GB, free: 5.652 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.6409, allocations: 4.594 kB / 0.5927 GB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.6411, allocations: 164.1 kB / 0.5929 GB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.6411, allocations: 4 kB / 0.5929 GB, free: 5.445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.6411, allocations: 0 / 0.5929 GB, free: 5.445 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.062e-05/0.6412, allocations: 2.734 kB / 0.5929 GB, free: 5.445 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.776e-05/0.6413, allocations: 34.34 kB / 0.5929 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.6413, allocations: 1.312 kB / 0.5929 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.6413, allocations: 7.938 kB / 0.5929 GB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.6413, allocations: 0 / 0.5929 GB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.6415, allocations: 132.9 kB / 0.5931 GB, free: 5.234 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.97e-05/0.6416, allocations: 23.95 kB / 0.5931 GB, free: 5.203 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.6416, allocations: 8.797 kB / 0.5931 GB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006556/0.6423, allocations: 454 kB / 0.5935 GB, free: 4.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.6423, allocations: 35.97 kB / 0.5936 GB, free: 4.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.6423, allocations: 4.203 kB / 0.5936 GB, free: 4.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.001204/0.6435, allocations: 425.9 kB / 0.594 GB, free: 4.145 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.6436, allocations: 51.41 kB / 0.594 GB, free: 4.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/0.6436, allocations: 93.69 kB / 0.5941 GB, free: 3.984 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.6437, allocations: 27.7 kB / 0.5941 GB, free: 3.953 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.6437, allocations: 80.14 kB / 0.5942 GB, free: 3.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.6437, allocations: 9.781 kB / 0.5942 GB, free: 3.863 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.6437, allocations: 0 / 0.5942 GB, free: 3.863 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6439, allocations: 320.5 kB / 0.5945 GB, free: 3.543 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.6439, allocations: 4 kB / 0.5945 GB, free: 3.539 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.384e-05/0.6439, allocations: 13.72 kB / 0.5945 GB, free: 3.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.483e-05/0.644, allocations: 8.812 kB / 0.5945 GB, free: 3.512 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.644, allocations: 8.25 kB / 0.5946 GB, free: 3.504 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.722e-05/0.6441, allocations: 57.53 kB / 0.5946 GB, free: 3.441 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.6441, allocations: 4 kB / 0.5946 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6441, allocations: 0 / 0.5946 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.6442, allocations: 1.875 kB / 0.5946 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.6442, allocations: 16.64 kB / 0.5946 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.6442, allocations: 0 / 0.5946 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.803e-05/0.6443, allocations: 4 kB / 0.5946 GB, free: 3.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.6443, allocations: 3.984 kB / 0.5946 GB, free: 3.414 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.417e-05/0.6444, allocations: 105 kB / 0.5947 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.6444, allocations: 4 kB / 0.5947 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.6446, allocations: 66.81 kB / 0.5948 GB, free: 3.227 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6446, allocations: 0 / 0.5948 GB, free: 3.227 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6446, allocations: 3.953 kB / 0.5948 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.6446, allocations: 3.984 kB / 0.5948 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.6447, allocations: 138.2 kB / 0.5949 GB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.6448, allocations: 4 kB / 0.595 GB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.6448, allocations: 8 kB / 0.595 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6448, allocations: 2.75 kB / 0.595 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.6448, allocations: 3.656 kB / 0.595 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6448, allocations: 0 / 0.595 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6449, allocations: 4 kB / 0.595 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.645, allocations: 96.92 kB / 0.5951 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.6451, allocations: 81.09 kB / 0.5951 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.6451, allocations: 8.094 kB / 0.5951 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.359e-05/0.6452, allocations: 0 / 0.5951 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.558e-05/0.6452, allocations: 0 / 0.5951 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.6452, allocations: 4 kB / 0.5952 GB, free: 2.809 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.399e-05/0.6452, allocations: 75.28 kB / 0.5952 GB, free: 2.734 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6452, allocations: 0 / 0.5952 GB, free: 2.734 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002403/0.6455, allocations: 55.86 kB / 0.5953 GB, free: 2.68 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0002747/0.6458, allocations: 159.2 kB / 0.5954 GB, free: 2.516 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.36e-05/0.6459, allocations: 19.94 kB / 0.5954 GB, free: 2.496 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.6459, allocations: 4 kB / 0.5955 GB, free: 2.492 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.113e-05/0.6459, allocations: 8 kB / 0.5955 GB, free: 2.484 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.646, allocations: 3.953 kB / 0.5955 GB, free: 2.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.6463, allocations: 82.61 kB / 0.5955 GB, free: 2.387 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.6465, allocations: 0.6768 MB / 0.5962 GB, free: 1.684 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.751e-05/0.6466, allocations: 12.12 kB / 0.5962 GB, free: 1.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.6466, allocations: 11.44 kB / 0.5962 GB, free: 1.664 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6466, allocations: 0 / 0.5962 GB, free: 1.664 MB / 410.7 MB Notification: Performance of Templates: time 0.003426/0.65, allocations: 1.289 MB / 0.5975 GB, free: 432 kB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)