Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.6 MB / 307.5 MB, free: 5.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 196.2 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 0.6367 GB, free: 9.566 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008714/0.0008715, allocations: 94.16 kB / 0.751 GB, free: 62.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004118, allocations: 8 kB / 0.8748 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3106, allocations: 116.3 MB / 0.9884 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7573/1.068, allocations: 139.1 MB / 1.124 GB, free: 35.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/1.068, allocations: 78.86 kB / 1.124 GB, free: 35.67 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01322/1.082, allocations: 5.081 MB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.737e-06/1.082, allocations: 3.562 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.082, allocations: 0 / 1.129 GB, free: 32 MB / 0.7292 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.0003728/1.082, allocations: 363.5 kB / 1.13 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.082, allocations: 16.02 kB / 1.13 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/1.082, allocations: 5.812 kB / 1.13 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.314e-05/1.082, allocations: 167 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/1.082, allocations: 0 / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/1.082, allocations: 9.531 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/1.082, allocations: 54.39 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/1.083, allocations: 0 / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/1.083, allocations: 0 / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.083, allocations: 5.719 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.269e-05/1.083, allocations: 23.59 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/1.083, allocations: 165.8 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.969e-05/1.083, allocations: 58.42 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005189/1.083, allocations: 461.9 kB / 1.131 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/1.083, allocations: 30.56 kB / 1.131 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/1.083, allocations: 0 / 1.131 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001108/1.085, allocations: 0.5986 MB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/1.085, allocations: 59.34 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.136e-05/1.085, allocations: 85 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/1.085, allocations: 34.64 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.934e-05/1.085, allocations: 82.33 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/1.085, allocations: 34.98 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-06/1.085, allocations: 8 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.268e-05/1.085, allocations: 314.3 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/1.085, allocations: 23.52 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/1.085, allocations: 19.56 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.414e-05/1.085, allocations: 31.95 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/1.085, allocations: 0 / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000127/1.085, allocations: 93.91 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.085, allocations: 4.562 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.085, allocations: 0 / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.085, allocations: 8 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/1.085, allocations: 23.5 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.085, allocations: 0.8594 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/1.085, allocations: 4.625 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/1.085, allocations: 5.031 kB / 1.132 GB, free: 28.98 MB / 0.7292 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 6.598e-05/1.085, allocations: 121.3 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/1.085, allocations: 4 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/1.086, allocations: 110 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/1.086, allocations: 4 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.086, allocations: 0 / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/1.086, allocations: 4.875 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/1.086, allocations: 352.9 kB / 1.133 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.086, allocations: 0 / 1.133 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/1.086, allocations: 27.88 kB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.086, allocations: 0 / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/1.086, allocations: 7.516 kB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.086, allocations: 1.656 kB / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.086, allocations: 0 / 1.133 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/1.086, allocations: 214.5 kB / 1.133 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/1.086, allocations: 88.52 kB / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/1.086, allocations: 7.516 kB / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/1.086, allocations: 0 / 1.133 GB, free: 28.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/1.086, allocations: 8.188 kB / 1.133 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/1.086, allocations: 4 kB / 1.133 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.063e-05/1.086, allocations: 87.22 kB / 1.133 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.086, allocations: 8.938 kB / 1.133 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002642/1.087, allocations: 59.48 kB / 1.133 GB, free: 27.86 MB / 0.7292 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.0002327/1.087, allocations: 146.6 kB / 1.133 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001273/1.087, allocations: 69.66 kB / 1.133 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.087, allocations: 0 / 1.133 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.702e-05/1.087, allocations: 31.41 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/1.087, allocations: 15.95 kB / 1.133 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/1.088, allocations: 191 kB / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/1.088, allocations: 0.691 MB / 1.134 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.089e-05/1.088, allocations: 10.62 kB / 1.134 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/1.088, allocations: 11.44 kB / 1.134 GB, free: 26.69 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/1.088, allocations: 4 kB / 1.134 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.003475/1.091, allocations: 1.304 MB / 1.135 GB, free: 25.94 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)