Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.186/2.186, allocations: 251.1 MB / 266.1 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001523, allocations: 173.4 kB / 325.6 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.315/2.315, allocations: 205.4 MB / 0.5766 GB, free: 21.12 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.001148/0.001148, allocations: 92.55 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004703, allocations: 16.28 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2219, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2534/0.4754, allocations: 153.5 MB / 1.049 GB, free: 8.188 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/0.4758, allocations: 91.94 kB / 1.049 GB, free: 8.098 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.6197/1.096, allocations: 9.567 MB / 1.058 GB, free: 153.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/1.096, allocations: 0 / 1.058 GB, free: 153.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.713e-05/1.096, allocations: 4.656 kB / 1.058 GB, free: 153.2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007048/1.096, allocations: 430.2 kB / 1.059 GB, free: 152.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.096, allocations: 9.719 kB / 1.059 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000656/1.097, allocations: 56.02 kB / 1.059 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/1.097, allocations: 212.9 kB / 1.059 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/1.097, allocations: 11.94 kB / 1.059 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/1.097, allocations: 11.97 kB / 1.059 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/1.098, allocations: 222.5 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/1.098, allocations: 1.531 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/1.098, allocations: 9.188 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.023e-05/1.098, allocations: 15.98 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/1.098, allocations: 142 kB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/1.1, allocations: 1.147 MB / 1.06 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/1.1, allocations: 31.16 kB / 1.06 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/1.1, allocations: 0 / 1.06 GB, free: 151.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/1.1, allocations: 31.22 kB / 1.06 GB, free: 151.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 3.045e-06/1.1, allocations: 1.078 kB / 1.06 GB, free: 151.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002195/1.1, allocations: 69.12 kB / 1.061 GB, free: 151.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/1.1, allocations: 52.67 kB / 1.061 GB, free: 151.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/1.1, allocations: 160.1 kB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/1.101, allocations: 25.7 kB / 1.061 GB, free: 151.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/1.101, allocations: 145 kB / 1.061 GB, free: 151.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/1.101, allocations: 15.17 kB / 1.061 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/1.101, allocations: 3 kB / 1.061 GB, free: 151.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/1.101, allocations: 321.4 kB / 1.061 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/1.101, allocations: 25.47 kB / 1.061 GB, free: 150.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.607e-05/1.101, allocations: 84.77 kB / 1.061 GB, free: 150.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/1.101, allocations: 39.11 kB / 1.061 GB, free: 150.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.101, allocations: 0 / 1.061 GB, free: 150.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002862/1.101, allocations: 146.3 kB / 1.062 GB, free: 150.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002177/1.102, allocations: 0.9598 MB / 1.062 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.102, allocations: 2.531 kB / 1.062 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/1.102, allocations: 5.297 kB / 1.062 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/1.102, allocations: 28.19 kB / 1.062 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.102, allocations: 4 kB / 1.062 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/1.102, allocations: 16.47 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/1.102, allocations: 5 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/1.102, allocations: 8.438 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002255/1.102, allocations: 96.83 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/1.102, allocations: 2.562 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/1.102, allocations: 5.062 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/1.102, allocations: 27.03 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.102, allocations: 5.75 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.036e-05/1.103, allocations: 21.52 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/1.103, allocations: 9.469 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 0.0001539/1.103, allocations: 214.2 kB / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/1.103, allocations: 6.688 kB / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/1.103, allocations: 19.23 kB / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/1.103, allocations: 0.75 kB / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.103, allocations: 0 / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.103, allocations: 0 / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/1.103, allocations: 454.7 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.103, allocations: 5.438 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/1.103, allocations: 3.562 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/1.103, allocations: 3.609 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/1.104, allocations: 0.6094 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.104, allocations: 2.109 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.104, allocations: 7.328 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/1.104, allocations: 128 kB / 1.063 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/1.104, allocations: 92.38 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/1.104, allocations: 4.5 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/1.104, allocations: 7.578 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/1.104, allocations: 5.266 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/1.104, allocations: 6.188 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001245/1.104, allocations: 128.1 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.104, allocations: 0 / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004807/1.105, allocations: 53.78 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.000113/1.105, allocations: 103.9 kB / 1.064 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002775/1.105, allocations: 106.2 kB / 1.064 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.105, allocations: 0 / 1.064 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.397e-05/1.105, allocations: 16.83 kB / 1.064 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/1.105, allocations: 22.7 kB / 1.064 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/1.106, allocations: 309.3 kB / 1.064 GB, free: 148.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/1.106, allocations: 0.7296 MB / 1.065 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001582/1.106, allocations: 30.12 kB / 1.065 GB, free: 147.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/1.106, allocations: 12.41 kB / 1.065 GB, free: 147.6 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/1.106, allocations: 0 / 1.065 GB, free: 147.6 MB / 0.698 GB Notification: Performance of Templates: time 0.004515/1.111, allocations: 0.7626 MB / 1.066 GB, free: 147.6 MB / 0.698 GB