Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002571/0.002576, allocations: 354.9 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.485/1.485, allocations: 165.8 MB / 183.1 MB, free: 5.547 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.787/3.787, allocations: 410.8 MB / 0.6001 GB, free: 15.16 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.00177/0.00177, allocations: 186.1 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004532/0.0004534, allocations: 16 kB / 0.7429 GB, free: 8.922 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4082, allocations: 67.43 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.5726, allocations: 98.2 MB / 0.9046 GB, free: 10.45 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.573, allocations: 79.95 kB / 0.9047 GB, free: 10.37 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01945/0.5925, allocations: 4.007 MB / 0.9086 GB, free: 6.359 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5925, allocations: 0 / 0.9086 GB, free: 6.359 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.5926, allocations: 0 / 0.9086 GB, free: 6.359 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003168/0.5929, allocations: 343.3 kB / 0.909 GB, free: 5.977 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.5929, allocations: 8.031 kB / 0.909 GB, free: 5.969 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.593, allocations: 7.984 kB / 0.909 GB, free: 5.961 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.732e-05/0.5931, allocations: 159.1 kB / 0.9091 GB, free: 5.766 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.5931, allocations: 0 / 0.9091 GB, free: 5.766 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.5932, allocations: 4 kB / 0.9091 GB, free: 5.762 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.083e-05/0.5933, allocations: 25.7 kB / 0.9091 GB, free: 5.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5933, allocations: 0 / 0.9091 GB, free: 5.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.5933, allocations: 3.953 kB / 0.9092 GB, free: 5.727 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5933, allocations: 0 / 0.9092 GB, free: 5.727 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.119e-05/0.5933, allocations: 11.94 kB / 0.9092 GB, free: 5.715 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.5935, allocations: 149.7 kB / 0.9093 GB, free: 5.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.278e-05/0.5936, allocations: 22.66 kB / 0.9093 GB, free: 5.488 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.5936, allocations: 4.859 kB / 0.9093 GB, free: 5.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/0.5942, allocations: 425.5 kB / 0.9097 GB, free: 4.973 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.5942, allocations: 34.56 kB / 0.9098 GB, free: 4.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.5943, allocations: 0 / 0.9098 GB, free: 4.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001497/0.5944, allocations: 37.64 kB / 0.9098 GB, free: 4.887 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.5945, allocations: 55.36 kB / 0.9099 GB, free: 4.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.881e-05/0.5945, allocations: 89.86 kB / 0.9099 GB, free: 4.723 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.5945, allocations: 29.7 kB / 0.91 GB, free: 4.688 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.5946, allocations: 84.12 kB / 0.9101 GB, free: 4.602 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.5946, allocations: 3.906 kB / 0.9101 GB, free: 4.598 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.5946, allocations: 4.125 kB / 0.9101 GB, free: 4.594 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5948, allocations: 310.8 kB / 0.9104 GB, free: 4.281 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.5948, allocations: 0 / 0.9104 GB, free: 4.281 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.5948, allocations: 4 kB / 0.9104 GB, free: 4.277 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.64e-05/0.5948, allocations: 0 / 0.9104 GB, free: 4.277 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.5948, allocations: 0 / 0.9104 GB, free: 4.277 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.481e-05/0.5949, allocations: 41.58 kB / 0.9104 GB, free: 4.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.595, allocations: 10.66 kB / 0.9104 GB, free: 4.223 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.595, allocations: 0 / 0.9104 GB, free: 4.223 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.595, allocations: 4.094 kB / 0.9104 GB, free: 4.219 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.644e-05/0.5951, allocations: 7.984 kB / 0.9104 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.5951, allocations: 0 / 0.9104 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.5951, allocations: 7.953 kB / 0.9104 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.5951, allocations: 0 / 0.9104 GB, free: 4.203 MB / 458.7 MB 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 (1): * Single equations (assignments): 1 * 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 7.571e-05/0.5952, allocations: 109.3 kB / 0.9105 GB, free: 4.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.5952, allocations: 0 / 0.9105 GB, free: 4.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.5953, allocations: 52.75 kB / 0.9106 GB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5954, allocations: 0 / 0.9106 GB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5954, allocations: 0 / 0.9106 GB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5954, allocations: 0 / 0.9106 GB, free: 4.035 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.5955, allocations: 145.6 kB / 0.9107 GB, free: 3.844 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5955, allocations: 3.938 kB / 0.9107 GB, free: 3.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/0.5955, allocations: 4 kB / 0.9107 GB, free: 3.836 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5956, allocations: 0 / 0.9107 GB, free: 3.836 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.5956, allocations: 0 / 0.9107 GB, free: 3.836 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5956, allocations: 0 / 0.9107 GB, free: 3.836 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5956, allocations: 3.984 kB / 0.9107 GB, free: 3.832 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.5957, allocations: 65.12 kB / 0.9108 GB, free: 3.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.5958, allocations: 77.11 kB / 0.9109 GB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.5958, allocations: 0 / 0.9109 GB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-06/0.5958, allocations: 0 / 0.9109 GB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.5958, allocations: 3.984 kB / 0.9109 GB, free: 3.652 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.5958, allocations: 4 kB / 0.9109 GB, free: 3.648 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.052e-05/0.5959, allocations: 75.28 kB / 0.911 GB, free: 3.574 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5959, allocations: 4.031 kB / 0.911 GB, free: 3.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.5961, allocations: 15.94 kB / 0.911 GB, free: 3.555 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0002032/0.5963, allocations: 115.2 kB / 0.9111 GB, free: 3.434 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.927e-05/0.5964, allocations: 3.938 kB / 0.9111 GB, free: 3.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5964, allocations: 0 / 0.9111 GB, free: 3.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.849e-06/0.5965, allocations: 4 kB / 0.9111 GB, free: 3.426 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.5966, allocations: 7.938 kB / 0.9111 GB, free: 3.418 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001691/0.5968, allocations: 82.83 kB / 0.9112 GB, free: 3.309 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.5971, allocations: 0.6731 MB / 0.9118 GB, free: 2.609 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.39e-05/0.5971, allocations: 4 kB / 0.9118 GB, free: 2.605 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.5971, allocations: 7.438 kB / 0.9118 GB, free: 2.598 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5971, allocations: 0 / 0.9118 GB, free: 2.598 MB / 458.7 MB Notification: Performance of Templates: time 0.002792/0.5999, allocations: 423.8 kB / 0.9122 GB, free: 2.184 MB / 458.7 MB