Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.194/2.194, allocations: 252.6 MB / 265.2 MB, free: 5.766 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.001485/0.001486, allocations: 183.8 kB / 324.5 MB, free: 14.38 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 2.071/2.071, allocations: 205.4 MB / 0.5754 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.001094/0.001094, allocations: 90.31 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.158e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1897, allocations: 106.2 MB / 0.8949 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9228/1.112, allocations: 132 MB / 1.024 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/1.113, allocations: 69.78 kB / 1.024 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02083/1.134, allocations: 4.319 MB / 1.028 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.674e-06/1.134, allocations: 0 / 1.028 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.134, allocations: 0 / 1.028 GB, free: 14.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004809/1.134, allocations: 365.8 kB / 1.028 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.134, allocations: 16.03 kB / 1.028 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.54e-05/1.134, allocations: 0 / 1.028 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/1.134, allocations: 174.3 kB / 1.029 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/1.135, allocations: 3.938 kB / 1.029 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/1.135, allocations: 0 / 1.029 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/1.135, allocations: 40.31 kB / 1.029 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/1.135, allocations: 3.938 kB / 1.029 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/1.135, allocations: 0 / 1.029 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.135, allocations: 0 / 1.029 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.264e-05/1.135, allocations: 11.06 kB / 1.029 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005029/1.135, allocations: 278.6 kB / 1.029 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.649e-05/1.135, allocations: 25.52 kB / 1.029 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/1.135, allocations: 8.922 kB / 1.029 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008636/1.136, allocations: 460 kB / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/1.136, allocations: 38.5 kB / 1.029 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 2.024e-06/1.136, allocations: 4 kB / 1.029 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001871/1.137, allocations: 43.62 kB / 1.03 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/1.137, allocations: 51.41 kB / 1.03 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/1.137, allocations: 99.7 kB / 1.03 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/1.137, allocations: 25.7 kB / 1.03 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.532e-05/1.137, allocations: 87.39 kB / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/1.137, allocations: 7.891 kB / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/1.137, allocations: 0 / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001143/1.137, allocations: 318.1 kB / 1.03 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.824e-05/1.137, allocations: 4 kB / 1.03 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.563e-05/1.137, allocations: 7.5 kB / 1.03 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.17e-05/1.137, allocations: 4 kB / 1.03 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.137, allocations: 7.875 kB / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001237/1.137, allocations: 48.62 kB / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/1.137, allocations: 5.562 kB / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.137, allocations: 0 / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.137, allocations: 0 / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/1.137, allocations: 12.09 kB / 1.03 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1.137, allocations: 4 kB / 1.03 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.307e-05/1.138, allocations: 7.984 kB / 1.03 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/1.138, allocations: 3.953 kB / 1.03 GB, free: 12.38 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 (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 7.073e-05/1.138, allocations: 105 kB / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/1.138, allocations: 7.844 kB / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/1.138, allocations: 62.67 kB / 1.03 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.138, allocations: 0 / 1.03 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.138, allocations: 0 / 1.03 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/1.138, allocations: 0 / 1.03 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/1.138, allocations: 168.7 kB / 1.031 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.138, allocations: 256 / 1.031 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/1.138, allocations: 19.98 kB / 1.031 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.138, allocations: 0 / 1.031 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/1.138, allocations: 0 / 1.031 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.138, allocations: 4.031 kB / 1.031 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.138, allocations: 0 / 1.031 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/1.138, allocations: 146.6 kB / 1.031 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/1.139, allocations: 81.11 kB / 1.031 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/1.139, allocations: 0 / 1.031 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/1.139, allocations: 7.984 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/1.139, allocations: 8.031 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/1.139, allocations: 0 / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.858e-05/1.139, allocations: 82.34 kB / 1.031 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.139, allocations: 0 / 1.031 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002982/1.139, allocations: 16 kB / 1.031 GB, free: 11.61 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 (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.0001984/1.139, allocations: 121 kB / 1.031 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001032/1.139, allocations: 15.75 kB / 1.031 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.139, allocations: 0 / 1.031 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.044e-05/1.14, allocations: 11.06 kB / 1.031 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/1.14, allocations: 16.08 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/1.14, allocations: 64.58 kB / 1.031 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/1.14, allocations: 0.6809 MB / 1.032 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.427e-05/1.14, allocations: 7.922 kB / 1.032 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/1.14, allocations: 7.438 kB / 1.032 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of SimCode: time 9.42e-07/1.14, allocations: 4 kB / 1.032 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of Templates: time 0.003283/1.144, allocations: 0.6088 MB / 1.032 GB, free: 10.05 MB / 0.6511 GB