Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.502/2.502, allocations: 252.6 MB / 265.2 MB, free: 5.742 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 177.4 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.4 MB / 0.5753 GB, free: 10.48 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 109.6 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.032e-05/4.05e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2019, allocations: 106.2 MB / 0.8949 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8389/1.041, allocations: 131.3 MB / 1.023 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/1.041, allocations: 74.45 kB / 1.023 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01964/1.061, allocations: 4.01 MB / 1.027 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.673e-06/1.061, allocations: 4 kB / 1.027 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.37e-06/1.061, allocations: 0 / 1.027 GB, free: 15.67 MB / 0.6511 GB 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.0003383/1.061, allocations: 330.5 kB / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.061, allocations: 8.031 kB / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/1.061, allocations: 4 kB / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/1.062, allocations: 163 kB / 1.028 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/1.062, allocations: 7.438 kB / 1.028 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/1.062, allocations: 3.938 kB / 1.028 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.531e-05/1.062, allocations: 33.64 kB / 1.028 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.062, allocations: 3.984 kB / 1.028 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/1.062, allocations: 0 / 1.028 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/1.062, allocations: 4 kB / 1.028 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.245e-05/1.062, allocations: 0 / 1.028 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/1.062, allocations: 149.5 kB / 1.028 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.789e-05/1.062, allocations: 22.55 kB / 1.028 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/1.062, allocations: 12.8 kB / 1.028 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006512/1.063, allocations: 424.9 kB / 1.028 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/1.063, allocations: 30.56 kB / 1.028 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.903e-06/1.063, allocations: 0 / 1.028 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001543/1.063, allocations: 33.69 kB / 1.028 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/1.063, allocations: 55.44 kB / 1.028 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.494e-05/1.063, allocations: 85 kB / 1.028 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/1.063, allocations: 29.7 kB / 1.028 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/1.063, allocations: 84.12 kB / 1.029 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/1.063, allocations: 0 / 1.029 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/1.063, allocations: 3.438 kB / 1.029 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.063, allocations: 310.8 kB / 1.029 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/1.063, allocations: 0 / 1.029 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/1.063, allocations: 11.94 kB / 1.029 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.294e-05/1.063, allocations: 3.953 kB / 1.029 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.063, allocations: 0 / 1.029 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.59e-05/1.063, allocations: 33.64 kB / 1.029 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.063, allocations: 11.98 kB / 1.029 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.063, allocations: 0 / 1.029 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.064, allocations: 0 / 1.029 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.695e-05/1.064, allocations: 0 / 1.029 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/1.064, allocations: 4 kB / 1.029 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/1.064, allocations: 96 / 1.029 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/1.064, allocations: 4 kB / 1.029 GB, free: 13.55 MB / 0.6511 GB 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 () * 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.017e-05/1.064, allocations: 104.9 kB / 1.029 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/1.064, allocations: 0 / 1.029 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/1.064, allocations: 52.52 kB / 1.029 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.064, allocations: 3.938 kB / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.064, allocations: 0 / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/1.064, allocations: 0 / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/1.064, allocations: 141.7 kB / 1.029 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.064, allocations: 7.984 kB / 1.029 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/1.064, allocations: 4 kB / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.064, allocations: 0 / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/1.064, allocations: 3.984 kB / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.064, allocations: 0 / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.064, allocations: 0 / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/1.064, allocations: 64.69 kB / 1.029 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/1.064, allocations: 85.09 kB / 1.029 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/1.064, allocations: 0 / 1.029 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.678e-05/1.064, allocations: 4 kB / 1.029 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/1.064, allocations: 3.984 kB / 1.029 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/1.064, allocations: 4 kB / 1.029 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.916e-05/1.064, allocations: 75.28 kB / 1.029 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/1.064, allocations: 0 / 1.029 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002507/1.065, allocations: 11.94 kB / 1.029 GB, free: 12.9 MB / 0.6511 GB 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 () * 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.0002284/1.065, allocations: 118.6 kB / 1.03 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.693e-05/1.065, allocations: 4 kB / 1.03 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.065, allocations: 0 / 1.03 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-06/1.065, allocations: 0 / 1.03 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/1.065, allocations: 5.766 kB / 1.03 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001586/1.065, allocations: 49.44 kB / 1.03 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/1.066, allocations: 0.6731 MB / 1.03 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.29e-05/1.066, allocations: 12.59 kB / 1.03 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/1.066, allocations: 7.438 kB / 1.03 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of SimCode: time 7.62e-07/1.066, allocations: 3.938 kB / 1.03 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of Templates: time 0.002862/1.069, allocations: 424.8 kB / 1.031 GB, free: 11.58 MB / 0.6511 GB