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.191/2.191, allocations: 253.2 MB / 260.6 MB, free: 7.473 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.001991/0.001991, allocations: 184.8 kB / 319.9 MB, free: 3.094 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.19/2.19, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001569/0.001569, allocations: 97.12 kB / 0.6751 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.809e-05/1.818e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2209, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9406/1.162, allocations: 153.7 MB / 1.039 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.162, allocations: 83.89 kB / 1.039 GB, free: 1.559 MB / 0.6511 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.04207/1.204, allocations: 9.45 MB / 1.048 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.543e-06/1.204, allocations: 0 / 1.048 GB, free: 9.938 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.32e-05/1.204, allocations: 7.938 kB / 1.048 GB, free: 9.93 MB / 0.6667 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.0007932/1.205, allocations: 412.9 kB / 1.048 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.205, allocations: 8.031 kB / 1.048 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000854/1.206, allocations: 56.06 kB / 1.049 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/1.206, allocations: 220.2 kB / 1.049 GB, free: 9.18 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/1.206, allocations: 4 kB / 1.049 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/1.206, allocations: 8 kB / 1.049 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000458/1.207, allocations: 123.9 kB / 1.049 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/1.207, allocations: 205.7 kB / 1.049 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/1.207, allocations: 0 / 1.049 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/1.208, allocations: 3.938 kB / 1.049 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.615e-05/1.208, allocations: 16.27 kB / 1.049 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/1.21, allocations: 1.086 MB / 1.05 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.279e-05/1.21, allocations: 33.84 kB / 1.05 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.076e-05/1.21, allocations: 11.73 kB / 1.05 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/1.21, allocations: 0 / 1.05 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/1.21, allocations: 38.64 kB / 1.05 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 2.344e-06/1.21, allocations: 0 / 1.05 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002389/1.21, allocations: 52.97 kB / 1.05 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/1.21, allocations: 51.41 kB / 1.05 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/1.21, allocations: 138.8 kB / 1.05 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/1.21, allocations: 25.7 kB / 1.05 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/1.211, allocations: 145.6 kB / 1.051 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/1.211, allocations: 19.11 kB / 1.051 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-06/1.211, allocations: 4 kB / 1.051 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001767/1.211, allocations: 318.3 kB / 1.051 GB, free: 6.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.79e-05/1.211, allocations: 15.55 kB / 1.051 GB, free: 6.898 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/1.211, allocations: 84.58 kB / 1.051 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/1.211, allocations: 38.72 kB / 1.051 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.211, allocations: 0 / 1.051 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004169/1.212, allocations: 119.3 kB / 1.051 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000604/1.212, allocations: 0.9666 MB / 1.052 GB, free: 5.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/1.212, allocations: 4 kB / 1.052 GB, free: 5.625 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/1.212, allocations: 4 kB / 1.052 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/1.213, allocations: 23.98 kB / 1.052 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.213, allocations: 4 kB / 1.052 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/1.213, allocations: 19.84 kB / 1.052 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/1.213, allocations: 7.938 kB / 1.052 GB, free: 5.566 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.213, allocations: 4 kB / 1.052 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002964/1.213, allocations: 78.02 kB / 1.052 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/1.213, allocations: 4.312 kB / 1.052 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/1.213, allocations: 4 kB / 1.052 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/1.213, allocations: 23.69 kB / 1.052 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/1.214, allocations: 11.92 kB / 1.052 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/1.214, allocations: 11.92 kB / 1.052 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/1.214, allocations: 8 kB / 1.052 GB, free: 5.438 MB / 0.6667 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 () * 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.0001223/1.214, allocations: 104.9 kB / 1.052 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/1.214, allocations: 7.906 kB / 1.052 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/1.214, allocations: 11.53 kB / 1.052 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.214, allocations: 0 / 1.052 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.214, allocations: 4 kB / 1.052 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.214, allocations: 0 / 1.052 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007244/1.215, allocations: 420.9 kB / 1.053 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.215, allocations: 0 / 1.053 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/1.215, allocations: 7.938 kB / 1.053 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/1.215, allocations: 0 / 1.053 GB, free: 4.855 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/1.215, allocations: 4.094 kB / 1.053 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.215, allocations: 4 kB / 1.053 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.215, allocations: 0 / 1.053 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/1.215, allocations: 124.6 kB / 1.053 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/1.215, allocations: 92.02 kB / 1.053 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/1.215, allocations: 3.984 kB / 1.053 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/1.216, allocations: 3.953 kB / 1.053 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/1.216, allocations: 7.938 kB / 1.053 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/1.216, allocations: 3.938 kB / 1.053 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001424/1.216, allocations: 106.4 kB / 1.053 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.71e-07/1.216, allocations: 0 / 1.053 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008268/1.217, allocations: 55.78 kB / 1.053 GB, free: 4.426 MB / 0.6667 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 () * 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.0001805/1.217, allocations: 99.25 kB / 1.053 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003376/1.217, allocations: 87.91 kB / 1.053 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.217, allocations: 0 / 1.053 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.377e-05/1.217, allocations: 10.5 kB / 1.053 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/1.218, allocations: 17.98 kB / 1.053 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/1.218, allocations: 176.4 kB / 1.054 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/1.219, allocations: 0.7198 MB / 1.054 GB, free: 3.293 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000221/1.219, allocations: 32.52 kB / 1.054 GB, free: 3.262 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/1.219, allocations: 11.44 kB / 1.054 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of SimCode: time 1.042e-06/1.219, allocations: 0 / 1.054 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of Templates: time 0.005093/1.224, allocations: 0.7213 MB / 1.055 GB, free: 2.543 MB / 0.6667 GB