Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002547/0.002551, allocations: 354.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.505/1.505, allocations: 165.8 MB / 183.1 MB, free: 5.391 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.759/3.759, allocations: 410.7 MB / 0.6001 GB, free: 15.1 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001777/0.001777, allocations: 194.9 kB / 0.6668 GB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004633, allocations: 12 kB / 0.7429 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4153, allocations: 67.44 MB / 0.8087 GB, free: 28.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.5792, allocations: 98.31 MB / 0.9047 GB, free: 10.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.5795, allocations: 95.88 kB / 0.9048 GB, free: 10.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02257/0.6021, allocations: 4.533 MB / 0.9093 GB, free: 5.766 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.6022, allocations: 0 / 0.9093 GB, free: 5.766 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.6022, allocations: 0 / 0.9093 GB, free: 5.766 MB / 458.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.0003979/0.6026, allocations: 355.2 kB / 0.9096 GB, free: 5.371 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6026, allocations: 12.03 kB / 0.9096 GB, free: 5.359 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.6027, allocations: 0 / 0.9096 GB, free: 5.359 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.6028, allocations: 163 kB / 0.9098 GB, free: 5.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.6029, allocations: 4 kB / 0.9098 GB, free: 5.156 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.6029, allocations: 8 kB / 0.9098 GB, free: 5.148 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.603, allocations: 37.69 kB / 0.9098 GB, free: 5.105 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.603, allocations: 0 / 0.9098 GB, free: 5.105 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.6031, allocations: 3.953 kB / 0.9098 GB, free: 5.102 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.6031, allocations: 0 / 0.9098 GB, free: 5.102 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.04e-05/0.6031, allocations: 4 kB / 0.9098 GB, free: 5.098 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.6033, allocations: 157.6 kB / 0.91 GB, free: 4.895 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/0.6034, allocations: 22.58 kB / 0.91 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.6034, allocations: 4.859 kB / 0.91 GB, free: 4.855 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009147/0.6043, allocations: 461.5 kB / 0.9104 GB, free: 4.312 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.6044, allocations: 34.56 kB / 0.9105 GB, free: 4.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.893e-06/0.6044, allocations: 0 / 0.9105 GB, free: 4.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006121/0.605, allocations: 246.4 kB / 0.9107 GB, free: 3.977 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.6051, allocations: 51.41 kB / 0.9108 GB, free: 3.914 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.625e-05/0.6052, allocations: 106.1 kB / 0.9109 GB, free: 3.801 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.6052, allocations: 25.7 kB / 0.9109 GB, free: 3.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.6053, allocations: 84.12 kB / 0.911 GB, free: 3.684 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.6053, allocations: 11.81 kB / 0.911 GB, free: 3.672 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.6053, allocations: 4 kB / 0.911 GB, free: 3.668 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6054, allocations: 310.8 kB / 0.9113 GB, free: 3.355 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.6055, allocations: 11.92 kB / 0.9113 GB, free: 3.344 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.6055, allocations: 17.72 kB / 0.9113 GB, free: 3.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.6056, allocations: 8.125 kB / 0.9113 GB, free: 3.312 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6056, allocations: 0 / 0.9113 GB, free: 3.312 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000149/0.6057, allocations: 57.56 kB / 0.9114 GB, free: 3.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6058, allocations: 10.81 kB / 0.9114 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6058, allocations: 0 / 0.9114 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.6058, allocations: 0 / 0.9114 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.6059, allocations: 8 kB / 0.9114 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.6059, allocations: 3.953 kB / 0.9114 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.606, allocations: 4 kB / 0.9114 GB, free: 3.227 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.606, allocations: 4.062 kB / 0.9114 GB, free: 3.223 MB / 458.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 8.065e-05/0.6061, allocations: 113.8 kB / 0.9115 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.6061, allocations: 0 / 0.9115 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.6063, allocations: 65.19 kB / 0.9116 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.6063, allocations: 0 / 0.9116 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6063, allocations: 4 kB / 0.9116 GB, free: 3.027 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.6064, allocations: 3.953 kB / 0.9116 GB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.6065, allocations: 153.7 kB / 0.9117 GB, free: 2.824 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6065, allocations: 0 / 0.9117 GB, free: 2.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.467e-05/0.6066, allocations: 7.984 kB / 0.9117 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.6066, allocations: 0 / 0.9117 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.6066, allocations: 4 kB / 0.9117 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.6067, allocations: 0 / 0.9117 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6067, allocations: 0 / 0.9117 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.6069, allocations: 80.98 kB / 0.9118 GB, free: 2.715 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.6069, allocations: 81.17 kB / 0.9119 GB, free: 2.617 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.6069, allocations: 4 kB / 0.9119 GB, free: 2.613 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.112e-05/0.607, allocations: 4 kB / 0.9119 GB, free: 2.609 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.6071, allocations: 11.95 kB / 0.9119 GB, free: 2.598 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.6071, allocations: 0 / 0.9119 GB, free: 2.598 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.258e-05/0.6071, allocations: 79.28 kB / 0.912 GB, free: 2.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6071, allocations: 0 / 0.912 GB, free: 2.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.6074, allocations: 27.94 kB / 0.912 GB, free: 2.492 MB / 458.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.0002804/0.6077, allocations: 147.2 kB / 0.9121 GB, free: 2.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.6079, allocations: 15.98 kB / 0.9122 GB, free: 2.324 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6079, allocations: 0 / 0.9122 GB, free: 2.324 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.069e-05/0.6079, allocations: 11.94 kB / 0.9122 GB, free: 2.312 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.6081, allocations: 5.125 kB / 0.9122 GB, free: 2.309 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/0.6084, allocations: 108.7 kB / 0.9123 GB, free: 2.172 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.6086, allocations: 0.677 MB / 0.9129 GB, free: 1.469 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.84e-05/0.6087, allocations: 12.11 kB / 0.913 GB, free: 1.457 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.6087, allocations: 7.438 kB / 0.913 GB, free: 1.449 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6087, allocations: 0 / 0.913 GB, free: 1.449 MB / 458.7 MB Notification: Performance of Templates: time 0.003839/0.6126, allocations: 0.8143 MB / 0.9138 GB, free: 0.6367 MB / 458.7 MB