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.005269/0.005268, allocations: 355.2 kB / 15.94 MB, free: 6.207 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.459/1.459, allocations: 165.8 MB / 182.5 MB, free: 5.449 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.835/3.835, allocations: 410.8 MB / 0.5995 GB, free: 15.15 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.001673/0.001673, allocations: 197.8 kB / 0.6662 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004566, allocations: 15.94 kB / 0.7423 GB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.342, allocations: 67.43 MB / 0.8082 GB, free: 28.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.000539/0.3426, allocations: 304.3 kB / 0.8085 GB, free: 28.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00053/0.3432, allocations: 302 kB / 0.8087 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.231e-05/0.3432, allocations: 0 / 0.8087 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.934e-06/0.3432, allocations: 0 / 0.8087 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.226e-06/0.3432, allocations: 3.938 kB / 0.8087 GB, free: 28.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.3436, allocations: 59.86 kB / 0.8088 GB, free: 28.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.892e-05/0.3436, allocations: 4 kB / 0.8088 GB, free: 28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.155e-05/0.3437, allocations: 7.984 kB / 0.8088 GB, free: 28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.209e-05/0.3437, allocations: 7.938 kB / 0.8088 GB, free: 27.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.004e-05/0.3437, allocations: 0 / 0.8088 GB, free: 27.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.842e-06/0.3437, allocations: 0 / 0.8088 GB, free: 27.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.3441, allocations: 263.6 kB / 0.8091 GB, free: 27.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-06/0.3441, allocations: 0 / 0.8091 GB, free: 27.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.3442, allocations: 25.7 kB / 0.8091 GB, free: 27.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.3443, allocations: 51.91 kB / 0.8091 GB, free: 27.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.152e-06/0.3443, allocations: 0 / 0.8091 GB, free: 27.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.922e-06/0.3443, allocations: 0 / 0.8091 GB, free: 27.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.871e-06/0.3443, allocations: 0 / 0.8091 GB, free: 27.65 MB / 378.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.0002011/0.3445, allocations: 339.4 kB / 0.8095 GB, free: 27.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.3446, allocations: 12.03 kB / 0.8095 GB, free: 27.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.3446, allocations: 0 / 0.8095 GB, free: 27.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.332e-05/0.3447, allocations: 159.1 kB / 0.8096 GB, free: 27.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3447, allocations: 0 / 0.8096 GB, free: 27.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-06/0.3447, allocations: 0 / 0.8096 GB, free: 27.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.805e-05/0.3448, allocations: 33.69 kB / 0.8097 GB, free: 27.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.114e-06/0.3449, allocations: 0 / 0.8097 GB, free: 27.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.956e-06/0.3449, allocations: 3.953 kB / 0.8097 GB, free: 27.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-06/0.3449, allocations: 7.875 kB / 0.8097 GB, free: 27.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.891e-05/0.3449, allocations: 4 kB / 0.8097 GB, free: 27.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.4e-05/0.345, allocations: 149.7 kB / 0.8098 GB, free: 26.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.999e-05/0.3451, allocations: 14.58 kB / 0.8098 GB, free: 26.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.563e-05/0.3451, allocations: 4.859 kB / 0.8098 GB, free: 26.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004187/0.3455, allocations: 429.6 kB / 0.8102 GB, free: 26.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.3456, allocations: 34.55 kB / 0.8103 GB, free: 26.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.936e-06/0.3456, allocations: 0 / 0.8103 GB, free: 26.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001328/0.3457, allocations: 37.64 kB / 0.8103 GB, free: 26.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/0.3457, allocations: 55.36 kB / 0.8104 GB, free: 26.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.726e-05/0.3458, allocations: 89.86 kB / 0.8105 GB, free: 26.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.429e-06/0.3458, allocations: 33.64 kB / 0.8105 GB, free: 25.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.388e-05/0.3458, allocations: 84.27 kB / 0.8106 GB, free: 25.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.3458, allocations: 3.906 kB / 0.8106 GB, free: 25.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-06/0.3459, allocations: 0 / 0.8106 GB, free: 25.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.3459, allocations: 314.8 kB / 0.8109 GB, free: 25.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-06/0.3459, allocations: 0 / 0.8109 GB, free: 25.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-06/0.3459, allocations: 0 / 0.8109 GB, free: 25.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.785e-05/0.346, allocations: 3.984 kB / 0.8109 GB, free: 25.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.346, allocations: 0 / 0.8109 GB, free: 25.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.748e-05/0.3461, allocations: 37.64 kB / 0.8109 GB, free: 25.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3461, allocations: 8.094 kB / 0.8109 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-06/0.3461, allocations: 0 / 0.8109 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3461, allocations: 0 / 0.8109 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.74e-05/0.3462, allocations: 4 kB / 0.8109 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.232e-06/0.3462, allocations: 0 / 0.8109 GB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.3462, allocations: 3.953 kB / 0.8109 GB, free: 25.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-06/0.3462, allocations: 0 / 0.8109 GB, free: 25.51 MB / 378.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 4.775e-05/0.3463, allocations: 121.3 kB / 0.811 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.3463, allocations: 0 / 0.811 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.3464, allocations: 44.77 kB / 0.8111 GB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-06/0.3464, allocations: 0 / 0.8111 GB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.239e-06/0.3464, allocations: 0 / 0.8111 GB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.891e-06/0.3465, allocations: 0 / 0.8111 GB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.785e-05/0.3465, allocations: 165.5 kB / 0.8112 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-06/0.3465, allocations: 0 / 0.8112 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.3466, allocations: 0 / 0.8112 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.968e-06/0.3466, allocations: 0 / 0.8112 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.492e-06/0.3466, allocations: 0 / 0.8112 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.138e-06/0.3466, allocations: 4 kB / 0.8112 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.655e-06/0.3466, allocations: 4.031 kB / 0.8113 GB, free: 25.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.496e-05/0.3467, allocations: 57.08 kB / 0.8113 GB, free: 25.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.3467, allocations: 83.2 kB / 0.8114 GB, free: 24.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.3467, allocations: 4 kB / 0.8114 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.043e-05/0.3468, allocations: 0 / 0.8114 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.079e-05/0.3468, allocations: 4 kB / 0.8114 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-06/0.3468, allocations: 0 / 0.8114 GB, free: 24.94 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.416e-05/0.3468, allocations: 83.25 kB / 0.8115 GB, free: 24.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.76e-07/0.3468, allocations: 0 / 0.8115 GB, free: 24.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002456/0.3471, allocations: 8 kB / 0.8115 GB, free: 24.85 MB / 378.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.0001447/0.3473, allocations: 115.2 kB / 0.8116 GB, free: 24.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.456e-05/0.3473, allocations: 4 kB / 0.8116 GB, free: 24.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.266e-06/0.3473, allocations: 0 / 0.8116 GB, free: 24.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.028e-05/0.3474, allocations: 3.938 kB / 0.8116 GB, free: 24.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.3475, allocations: 12.08 kB / 0.8116 GB, free: 24.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001287/0.3477, allocations: 78.75 kB / 0.8117 GB, free: 24.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.572e-05/0.3478, allocations: 0.6731 MB / 0.8123 GB, free: 23.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.925e-05/0.3478, allocations: 0 / 0.8123 GB, free: 23.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.132e-05/0.3478, allocations: 7.438 kB / 0.8123 GB, free: 23.89 MB / 378.7 MB Notification: Performance of SimCode: time 1.317e-06/0.3478, allocations: 3.938 kB / 0.8124 GB, free: 23.89 MB / 378.7 MB Notification: Performance of Templates: time 0.002595/0.3504, allocations: 444.8 kB / 0.8128 GB, free: 23.46 MB / 378.7 MB