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.001418/0.001418, allocations: 185.8 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.793/0.793, allocations: 82.93 MB / 99.42 MB, free: 3.277 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.286/2.286, allocations: 205.4 MB / 325.4 MB, free: 3.434 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 89.84 kB / 393.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004756, allocations: 20 kB / 471.6 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08946/0.08997, allocations: 67.45 MB / 0.5264 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006657/0.09068, allocations: 296.3 kB / 0.5267 GB, free: 14.78 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006479/0.09135, allocations: 294.6 kB / 0.5269 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.147e-05/0.09138, allocations: 0 / 0.5269 GB, free: 14.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.248e-06/0.0914, allocations: 3.938 kB / 0.5269 GB, free: 14.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.426e-06/0.09142, allocations: 0 / 0.5269 GB, free: 14.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.09179, allocations: 67.86 kB / 0.527 GB, free: 14.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.726e-05/0.09183, allocations: 0 / 0.527 GB, free: 14.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.09188, allocations: 0 / 0.527 GB, free: 14.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.089e-05/0.0919, allocations: 0 / 0.527 GB, free: 14.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.603e-05/0.09193, allocations: 7.969 kB / 0.527 GB, free: 14.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.09196, allocations: 3.938 kB / 0.527 GB, free: 14.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000483/0.09245, allocations: 259.6 kB / 0.5273 GB, free: 14.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.451e-06/0.09247, allocations: 0 / 0.5273 GB, free: 14.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.09251, allocations: 29.7 kB / 0.5273 GB, free: 14.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001324/0.09266, allocations: 55.91 kB / 0.5273 GB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.814e-06/0.09267, allocations: 4 kB / 0.5273 GB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.09268, allocations: 0 / 0.5273 GB, free: 14.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.736e-06/0.0927, allocations: 0 / 0.5273 GB, free: 14.07 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.0003348/0.09304, allocations: 331.4 kB / 0.5277 GB, free: 13.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.09309, allocations: 8.031 kB / 0.5277 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.09316, allocations: 4 kB / 0.5277 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.09328, allocations: 159.1 kB / 0.5278 GB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.09331, allocations: 0 / 0.5278 GB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.09333, allocations: 11.92 kB / 0.5278 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.712e-05/0.09342, allocations: 25.7 kB / 0.5279 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-06/0.09345, allocations: 4 kB / 0.5279 GB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.867e-06/0.09346, allocations: 3.953 kB / 0.5279 GB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.19e-06/0.09348, allocations: 3.984 kB / 0.5279 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.09351, allocations: 0 / 0.5279 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.09368, allocations: 149.6 kB / 0.528 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.594e-05/0.09374, allocations: 22.61 kB / 0.528 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006126/0.09436, allocations: 429.5 kB / 0.5284 GB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.09441, allocations: 30.56 kB / 0.5285 GB, free: 12.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.049e-06/0.09442, allocations: 0 / 0.5285 GB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000165/0.0946, allocations: 33.69 kB / 0.5285 GB, free: 12.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.09466, allocations: 59.48 kB / 0.5286 GB, free: 12.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.496e-05/0.09472, allocations: 93.86 kB / 0.5287 GB, free: 12.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.09476, allocations: 29.7 kB / 0.5287 GB, free: 12.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.09481, allocations: 80.14 kB / 0.5288 GB, free: 12.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.09485, allocations: 3.906 kB / 0.5288 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-06/0.09486, allocations: 0 / 0.5288 GB, free: 12.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.09502, allocations: 310.8 kB / 0.5291 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.09504, allocations: 0 / 0.5291 GB, free: 12.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/0.09507, allocations: 11.94 kB / 0.5291 GB, free: 12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.683e-05/0.09509, allocations: 0 / 0.5291 GB, free: 12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.012e-06/0.0951, allocations: 0 / 0.5291 GB, free: 12 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.602e-05/0.09521, allocations: 33.69 kB / 0.5291 GB, free: 11.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.09524, allocations: 8 kB / 0.5291 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.835e-06/0.09525, allocations: 0 / 0.5291 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.09527, allocations: 0 / 0.5291 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.137e-05/0.09532, allocations: 0 / 0.5291 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.287e-06/0.09534, allocations: 4 kB / 0.5291 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.09537, allocations: 7.984 kB / 0.5291 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-06/0.09539, allocations: 4 kB / 0.5291 GB, free: 11.94 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 8.313e-05/0.09548, allocations: 109.8 kB / 0.5292 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.09552, allocations: 0 / 0.5292 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.09564, allocations: 44.75 kB / 0.5293 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.967e-06/0.09565, allocations: 0 / 0.5293 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.09567, allocations: 0 / 0.5293 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-06/0.09568, allocations: 0 / 0.5293 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.09582, allocations: 149.7 kB / 0.5294 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.434e-06/0.09583, allocations: 7.984 kB / 0.5294 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.09586, allocations: 4 kB / 0.5294 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.09588, allocations: 3.938 kB / 0.5294 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-06/0.09589, allocations: 0 / 0.5294 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.366e-06/0.0959, allocations: 4 kB / 0.5294 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-06/0.09591, allocations: 0 / 0.5294 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.09604, allocations: 61.03 kB / 0.5295 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.0961, allocations: 85.41 kB / 0.5296 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.09613, allocations: 0 / 0.5296 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.09615, allocations: 0 / 0.5296 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.09617, allocations: 4 kB / 0.5296 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-06/0.09618, allocations: 4 kB / 0.5296 GB, free: 11.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.089e-05/0.09623, allocations: 75.28 kB / 0.5297 GB, free: 11.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.44e-07/0.09624, allocations: 0 / 0.5297 GB, free: 11.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.09651, allocations: 12 kB / 0.5297 GB, free: 11.28 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.0001982/0.09671, allocations: 114.3 kB / 0.5298 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.771e-05/0.09679, allocations: 4 kB / 0.5298 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.0968, allocations: 0 / 0.5298 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.284e-05/0.09682, allocations: 4 kB / 0.5298 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.954e-05/0.09693, allocations: 7.891 kB / 0.5298 GB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001834/0.09713, allocations: 78.7 kB / 0.5299 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.09749, allocations: 0.677 MB / 0.5305 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.046e-05/0.09754, allocations: 4.125 kB / 0.5305 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.09758, allocations: 11.44 kB / 0.5305 GB, free: 10.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.448e-06/0.0976, allocations: 0 / 0.5305 GB, free: 10.32 MB / 378.7 MB Notification: Performance of Templates: time 0.002595/0.1002, allocations: 435.7 kB / 0.531 GB, free: 9.898 MB / 378.7 MB