Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.869/1.869, allocations: 288.3 MB / 303.2 MB, free: 8.27 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.001094/0.001094, allocations: 177 kB / 371.8 MB, free: 10.29 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.901/1.901, allocations: 205.4 MB / 0.6306 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009882/0.0009883, allocations: 99.88 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004109, allocations: 13.72 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2504, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006777/0.2511, allocations: 330 kB / 0.9797 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004941/0.2516, allocations: 312.9 kB / 0.98 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.079e-05/0.2516, allocations: 4 kB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.887e-06/0.2516, allocations: 0 / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.238e-05/0.2517, allocations: 4 kB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.252, allocations: 67.78 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.002e-05/0.252, allocations: 7.938 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.2521, allocations: 0 / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.781e-05/0.2521, allocations: 7.984 kB / 0.9801 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.2522, allocations: 3.984 kB / 0.9801 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.2522, allocations: 0 / 0.9801 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002576/0.2524, allocations: 255.7 kB / 0.9804 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.2524, allocations: 8 kB / 0.9804 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.2525, allocations: 29.7 kB / 0.9804 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.795e-05/0.2526, allocations: 55.89 kB / 0.9805 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.2526, allocations: 0 / 0.9805 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.143e-06/0.2526, allocations: 0 / 0.9805 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.2526, allocations: 0 / 0.9805 GB, free: 26.62 MB / 0.6198 GB 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.0002508/0.2529, allocations: 344.4 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.2529, allocations: 12.02 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.253, allocations: 4 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.366e-05/0.253, allocations: 174.9 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2531, allocations: 3.938 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.2531, allocations: 4 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.463e-05/0.2532, allocations: 37.69 kB / 0.981 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.2532, allocations: 0 / 0.981 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2532, allocations: 0 / 0.981 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2532, allocations: 0 / 0.981 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.77e-05/0.2532, allocations: 4 kB / 0.981 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/0.2533, allocations: 153.9 kB / 0.9812 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.953e-05/0.2534, allocations: 26.61 kB / 0.9812 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005579/0.254, allocations: 461.5 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.254, allocations: 38.55 kB / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.254, allocations: 0 / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004185/0.2544, allocations: 250.3 kB / 0.9819 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.047e-05/0.2545, allocations: 55.41 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.696e-05/0.2545, allocations: 98.02 kB / 0.9821 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.2545, allocations: 29.7 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.754e-05/0.2545, allocations: 84.14 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2546, allocations: 11.8 kB / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.2546, allocations: 0 / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.2546, allocations: 318.8 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.2546, allocations: 4 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.2547, allocations: 17.66 kB / 0.9825 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.997e-05/0.2547, allocations: 12.12 kB / 0.9825 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.2547, allocations: 4 kB / 0.9825 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.71e-05/0.2548, allocations: 49.64 kB / 0.9826 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2548, allocations: 8 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.2548, allocations: 0 / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2548, allocations: 0 / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.2549, allocations: 11.94 kB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.2549, allocations: 3.984 kB / 0.9826 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.2549, allocations: 4.062 kB / 0.9826 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2549, allocations: 4 kB / 0.9826 GB, free: 24.08 MB / 0.6198 GB 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 4.355e-05/0.255, allocations: 109.8 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.255, allocations: 3.953 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.2551, allocations: 53.12 kB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2551, allocations: 4 kB / 0.9828 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2551, allocations: 0 / 0.9828 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2551, allocations: 7.984 kB / 0.9828 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.971e-05/0.2552, allocations: 149.7 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2552, allocations: 3.984 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.2553, allocations: 7.938 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2553, allocations: 3.953 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.2553, allocations: 0 / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2553, allocations: 0 / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2553, allocations: 4 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.2554, allocations: 81.2 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.2554, allocations: 81.17 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.2555, allocations: 7.938 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.2555, allocations: 4.031 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.2555, allocations: 4 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.2555, allocations: 0 / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.753e-05/0.2556, allocations: 83.22 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2556, allocations: 0 / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002118/0.2558, allocations: 23.98 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB 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.0001771/0.256, allocations: 127.3 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.214e-05/0.256, allocations: 19.98 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.256, allocations: 0 / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.26e-05/0.2561, allocations: 8 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.32e-05/0.2562, allocations: 0.75 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.2564, allocations: 120.8 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.892e-05/0.2565, allocations: 0.6811 MB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.736e-05/0.2565, allocations: 4 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.337e-05/0.2565, allocations: 7.438 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2565, allocations: 0 / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.002393/0.2589, allocations: 0.8464 MB / 0.985 GB, free: 21.52 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)