Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.294/1.294, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 180.2 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 0.5785 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00073/0.0007301, allocations: 85.7 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 16.78 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.18, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.3295, allocations: 131.9 MB / 1.03 GB, free: 12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.3298, allocations: 83.94 kB / 1.03 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01397/0.3438, allocations: 5.108 MB / 1.035 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3438, allocations: 0 / 1.035 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.3438, allocations: 4 kB / 1.035 GB, free: 6.797 MB / 0.6823 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.0003544/0.3442, allocations: 355.4 kB / 1.035 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3442, allocations: 8.031 kB / 1.035 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/0.3443, allocations: 4.938 kB / 1.035 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3444, allocations: 176.2 kB / 1.036 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3444, allocations: 8.375 kB / 1.036 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.3444, allocations: 4.359 kB / 1.036 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.3446, allocations: 46.25 kB / 1.036 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3446, allocations: 8.062 kB / 1.036 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3446, allocations: 7.938 kB / 1.036 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3446, allocations: 4 kB / 1.036 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.942e-05/0.3447, allocations: 15.98 kB / 1.036 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.3449, allocations: 173.6 kB / 1.036 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.345, allocations: 58.56 kB / 1.036 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.345, allocations: 28.84 kB / 1.036 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/0.3457, allocations: 461.5 kB / 1.036 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3457, allocations: 38.5 kB / 1.036 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.3457, allocations: 0 / 1.036 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.001235/0.347, allocations: 0.5914 MB / 1.037 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.347, allocations: 51.41 kB / 1.037 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.426e-05/0.3471, allocations: 97.86 kB / 1.037 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3471, allocations: 25.7 kB / 1.037 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.3472, allocations: 84.14 kB / 1.037 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.3472, allocations: 43.36 kB / 1.037 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.3472, allocations: 0 / 1.037 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3474, allocations: 322.9 kB / 1.038 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/0.3474, allocations: 20 kB / 1.038 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.859e-05/0.3475, allocations: 23.98 kB / 1.038 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.063e-05/0.3476, allocations: 55.23 kB / 1.038 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3476, allocations: 0 / 1.038 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000161/0.3477, allocations: 97.55 kB / 1.038 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3477, allocations: 8 kB / 1.038 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3478, allocations: 0 / 1.038 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3478, allocations: 96 / 1.038 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3479, allocations: 27.92 kB / 1.038 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3479, allocations: 8 kB / 1.038 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.3479, allocations: 4 kB / 1.038 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.348, allocations: 4 kB / 1.038 GB, free: 3.586 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.618e-05/0.348, allocations: 113.8 kB / 1.038 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.3481, allocations: 11.84 kB / 1.038 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.3483, allocations: 105.9 kB / 1.038 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.3483, allocations: 4 kB / 1.038 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3483, allocations: 0 / 1.038 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3483, allocations: 4 kB / 1.038 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.3487, allocations: 358.7 kB / 1.038 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3487, allocations: 4 kB / 1.038 GB, free: 2.922 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.3489, allocations: 19.98 kB / 1.038 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3489, allocations: 3.984 kB / 1.038 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3489, allocations: 4 kB / 1.038 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3489, allocations: 4 kB / 1.038 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.3489, allocations: 4 kB / 1.038 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.3492, allocations: 223.3 kB / 1.039 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.3492, allocations: 85.12 kB / 1.039 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.3493, allocations: 4 kB / 1.039 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.3494, allocations: 7.984 kB / 1.039 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.3494, allocations: 7.938 kB / 1.039 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3494, allocations: 0 / 1.039 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.013e-05/0.3495, allocations: 87.27 kB / 1.039 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3495, allocations: 0 / 1.039 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002947/0.3498, allocations: 55.88 kB / 1.039 GB, free: 2.391 MB / 0.6823 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 (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.0002896/0.3501, allocations: 155.2 kB / 1.039 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.3502, allocations: 67.84 kB / 1.039 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3502, allocations: 0 / 1.039 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.493e-05/0.3503, allocations: 31.92 kB / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.3505, allocations: 10.03 kB / 1.039 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.3508, allocations: 203.9 kB / 1.039 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.3511, allocations: 0.6848 MB / 1.04 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.334e-05/0.3512, allocations: 11.97 kB / 1.04 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.3512, allocations: 15.44 kB / 1.04 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/0.3512, allocations: 4 kB / 1.04 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of Templates: time 0.003585/0.3548, allocations: 1.312 MB / 1.041 GB, free: 15.87 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)