Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002522/0.002526, 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.564/1.564, allocations: 165.8 MB / 183.1 MB, free: 5.426 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.753/3.753, allocations: 410.7 MB / 0.6001 GB, free: 15.23 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.001754/0.001754, allocations: 196.6 kB / 0.6668 GB, free: 6.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004873, allocations: 16 kB / 0.7429 GB, free: 9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4136, allocations: 67.44 MB / 0.8087 GB, free: 28.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.5805, allocations: 98.89 MB / 0.9053 GB, free: 9.797 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.5809, allocations: 75.97 kB / 0.9054 GB, free: 9.723 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02192/0.6028, allocations: 4.311 MB / 0.9096 GB, free: 5.406 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6029, allocations: 4 kB / 0.9096 GB, free: 5.402 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.6029, allocations: 4 kB / 0.9096 GB, free: 5.398 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005579/0.6035, allocations: 379.1 kB / 0.91 GB, free: 4.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.6035, allocations: 8.031 kB / 0.91 GB, free: 4.973 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.6036, allocations: 4 kB / 0.91 GB, free: 4.969 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.6037, allocations: 167 kB / 0.9101 GB, free: 4.766 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.6038, allocations: 8 kB / 0.9101 GB, free: 4.758 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.6038, allocations: 4 kB / 0.9101 GB, free: 4.754 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.604, allocations: 57.67 kB / 0.9102 GB, free: 4.691 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.6041, allocations: 0 / 0.9102 GB, free: 4.691 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.6041, allocations: 3.953 kB / 0.9102 GB, free: 4.688 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6041, allocations: 0 / 0.9102 GB, free: 4.688 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.6044, allocations: 47.95 kB / 0.9102 GB, free: 4.641 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.6049, allocations: 268.9 kB / 0.9105 GB, free: 4.328 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.6052, allocations: 46.5 kB / 0.9105 GB, free: 4.273 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.6053, allocations: 28.91 kB / 0.9106 GB, free: 4.242 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009122/0.6063, allocations: 457.5 kB / 0.911 GB, free: 3.703 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.6063, allocations: 46.5 kB / 0.911 GB, free: 3.648 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.6063, allocations: 0 / 0.911 GB, free: 3.648 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0005952/0.6069, allocations: 93.66 kB / 0.9111 GB, free: 3.551 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.607, allocations: 59.34 kB / 0.9112 GB, free: 3.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.6071, allocations: 101.8 kB / 0.9113 GB, free: 3.371 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.6071, allocations: 25.7 kB / 0.9113 GB, free: 3.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.6072, allocations: 88.27 kB / 0.9114 GB, free: 3.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.6072, allocations: 15.77 kB / 0.9114 GB, free: 3.234 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.6072, allocations: 0 / 0.9114 GB, free: 3.234 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6074, allocations: 314.8 kB / 0.9117 GB, free: 2.918 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.6075, allocations: 19.98 kB / 0.9117 GB, free: 2.898 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.6077, allocations: 27.98 kB / 0.9118 GB, free: 2.871 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.6078, allocations: 23.97 kB / 0.9118 GB, free: 2.848 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6079, allocations: 3.938 kB / 0.9118 GB, free: 2.844 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003695/0.6082, allocations: 77.73 kB / 0.9119 GB, free: 2.762 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6083, allocations: 7.953 kB / 0.9119 GB, free: 2.754 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6083, allocations: 0 / 0.9119 GB, free: 2.754 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.6083, allocations: 0 / 0.9119 GB, free: 2.754 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.6085, allocations: 15.92 kB / 0.9119 GB, free: 2.738 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.6085, allocations: 4 kB / 0.9119 GB, free: 2.734 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.041e-05/0.6086, allocations: 12.02 kB / 0.9119 GB, free: 2.723 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.6086, allocations: 0 / 0.9119 GB, free: 2.723 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 (2): * Single equations (assignments): 2 * 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 9.26e-05/0.6087, allocations: 113.8 kB / 0.912 GB, free: 2.602 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.6088, allocations: 3.906 kB / 0.912 GB, free: 2.598 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.6092, allocations: 85.14 kB / 0.9121 GB, free: 2.512 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.6092, allocations: 4 kB / 0.9121 GB, free: 2.508 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6092, allocations: 0 / 0.9121 GB, free: 2.508 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6092, allocations: 3.984 kB / 0.9121 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.6094, allocations: 157.7 kB / 0.9123 GB, free: 2.301 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.6095, allocations: 0 / 0.9123 GB, free: 2.301 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.6096, allocations: 11.98 kB / 0.9123 GB, free: 2.289 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6096, allocations: 0 / 0.9123 GB, free: 2.289 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.6096, allocations: 4 kB / 0.9123 GB, free: 2.285 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6096, allocations: 12.17 kB / 0.9123 GB, free: 2.273 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6096, allocations: 0 / 0.9123 GB, free: 2.273 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.61, allocations: 171.5 kB / 0.9124 GB, free: 2.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.6101, allocations: 89.05 kB / 0.9125 GB, free: 1.984 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.6101, allocations: 0 / 0.9125 GB, free: 1.984 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.6103, allocations: 7.984 kB / 0.9125 GB, free: 1.977 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.6103, allocations: 7.953 kB / 0.9125 GB, free: 1.969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.6103, allocations: 0 / 0.9125 GB, free: 1.969 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.327e-05/0.6104, allocations: 87.27 kB / 0.9126 GB, free: 1.883 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6104, allocations: 0 / 0.9126 GB, free: 1.883 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003081/0.6107, allocations: 16 kB / 0.9126 GB, free: 1.867 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 (2): * Single equations (assignments): 2 * 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.0002061/0.6109, allocations: 115.2 kB / 0.9127 GB, free: 1.742 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.6113, allocations: 51.89 kB / 0.9128 GB, free: 1.691 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6113, allocations: 0 / 0.9128 GB, free: 1.691 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.6115, allocations: 28.05 kB / 0.9128 GB, free: 1.664 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.6118, allocations: 13.41 kB / 0.9128 GB, free: 1.652 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.6122, allocations: 108.7 kB / 0.9129 GB, free: 1.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.6125, allocations: 0.6809 MB / 0.9136 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.584e-05/0.6125, allocations: 12.03 kB / 0.9136 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.6126, allocations: 7.438 kB / 0.9136 GB, free: 0.793 MB / 458.7 MB Notification: Performance of SimCode: time 8.01e-07/0.6126, allocations: 0 / 0.9136 GB, free: 0.793 MB / 458.7 MB Notification: Performance of Templates: time 0.003397/0.616, allocations: 0.6022 MB / 0.9142 GB, free: 200 kB / 458.7 MB