Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5556/0.5556, allocations: 95.61 MB / 110.6 MB, free: 9.367 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.001278/0.001278, allocations: 177.9 kB / 134.2 MB, free: 2.254 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.378/1.378, allocations: 170.7 MB / 328.4 MB, free: 12.25 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.001731/0.001731, allocations: 103.4 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004645, allocations: 12 kB / 462.7 MB, free: 35.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1567, allocations: 61.53 MB / 0.512 GB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5252/0.6819, allocations: 93.69 MB / 0.6035 GB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.6822, allocations: 82.88 kB / 0.6036 GB, free: 13.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01117/0.6934, allocations: 4.022 MB / 0.6075 GB, free: 10.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6934, allocations: 0 / 0.6075 GB, free: 10.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.6934, allocations: 0 / 0.6075 GB, free: 10.15 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.0003803/0.6938, allocations: 351.2 kB / 0.6078 GB, free: 9.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.6939, allocations: 15.92 kB / 0.6078 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/0.6939, allocations: 7.875 kB / 0.6078 GB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.6941, allocations: 163.1 kB / 0.608 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.6941, allocations: 4 kB / 0.608 GB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.6941, allocations: 0 / 0.608 GB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.6943, allocations: 37.64 kB / 0.608 GB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6943, allocations: 0 / 0.608 GB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.6943, allocations: 0 / 0.608 GB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.6943, allocations: 4 kB / 0.608 GB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.464e-05/0.6943, allocations: 7.812 kB / 0.6081 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.6945, allocations: 154.3 kB / 0.6082 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.6946, allocations: 22.3 kB / 0.6082 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006865/0.6953, allocations: 465.5 kB / 0.6087 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.6954, allocations: 30.56 kB / 0.6087 GB, free: 8.672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.6954, allocations: 0 / 0.6087 GB, free: 8.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006513/0.696, allocations: 260 kB / 0.6089 GB, free: 8.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.6962, allocations: 55.19 kB / 0.609 GB, free: 8.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.6963, allocations: 96.98 kB / 0.6091 GB, free: 8.211 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.6963, allocations: 25.7 kB / 0.6091 GB, free: 8.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.392e-05/0.6964, allocations: 80.14 kB / 0.6092 GB, free: 8.098 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.6964, allocations: 7.719 kB / 0.6092 GB, free: 8.094 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.6964, allocations: 4 kB / 0.6092 GB, free: 8.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.6966, allocations: 310.8 kB / 0.6095 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.6967, allocations: 11.62 kB / 0.6095 GB, free: 7.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.6967, allocations: 21.83 kB / 0.6095 GB, free: 7.742 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.704e-05/0.6968, allocations: 6.812 kB / 0.6095 GB, free: 7.738 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.6968, allocations: 0 / 0.6095 GB, free: 7.738 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001011/0.6969, allocations: 56.53 kB / 0.6096 GB, free: 7.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6969, allocations: 7.938 kB / 0.6096 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.6969, allocations: 0 / 0.6096 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6969, allocations: 4 kB / 0.6096 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.697, allocations: 7.953 kB / 0.6096 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.697, allocations: 4.062 kB / 0.6096 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.6971, allocations: 7.188 kB / 0.6096 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.6971, allocations: 0 / 0.6096 GB, free: 7.652 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.818e-05/0.6972, allocations: 105.8 kB / 0.6097 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.6972, allocations: 7.984 kB / 0.6097 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.6973, allocations: 59.31 kB / 0.6098 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.6974, allocations: 0 / 0.6098 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.6974, allocations: 3.953 kB / 0.6098 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6974, allocations: 4 kB / 0.6098 GB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.6975, allocations: 153.2 kB / 0.6099 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6975, allocations: 0 / 0.6099 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.6976, allocations: 4 kB / 0.6099 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6976, allocations: 4 kB / 0.6099 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.6976, allocations: 0 / 0.6099 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6976, allocations: 0 / 0.6099 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6976, allocations: 0 / 0.6099 GB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.6978, allocations: 79.94 kB / 0.61 GB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.6978, allocations: 85.08 kB / 0.6101 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.6979, allocations: 4.031 kB / 0.6101 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/0.6979, allocations: 0 / 0.6101 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.6979, allocations: 7.5 kB / 0.6101 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.6979, allocations: 3.984 kB / 0.6101 GB, free: 7.059 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.71e-05/0.698, allocations: 79.28 kB / 0.6102 GB, free: 6.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.698, allocations: 0 / 0.6102 GB, free: 6.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002355/0.6982, allocations: 35.89 kB / 0.6102 GB, free: 6.945 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 () * 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 (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.0002456/0.6985, allocations: 135 kB / 0.6104 GB, free: 6.809 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.366e-05/0.6986, allocations: 19.92 kB / 0.6104 GB, free: 6.789 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6986, allocations: 0 / 0.6104 GB, free: 6.789 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.796e-05/0.6986, allocations: 10.81 kB / 0.6104 GB, free: 6.781 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.6988, allocations: 5.422 kB / 0.6104 GB, free: 6.777 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.6991, allocations: 113 kB / 0.6105 GB, free: 6.645 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.6994, allocations: 0.6811 MB / 0.6112 GB, free: 5.938 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.645e-05/0.6995, allocations: 4 kB / 0.6112 GB, free: 5.934 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.6995, allocations: 7.438 kB / 0.6112 GB, free: 5.926 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6995, allocations: 0 / 0.6112 GB, free: 5.926 MB / 410.7 MB Notification: Performance of Templates: time 0.00284/0.7023, allocations: 0.7895 MB / 0.6119 GB, free: 5.152 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)