Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.513/2.513, allocations: 285 MB / 292.5 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002195/0.002195, allocations: 184.8 kB / 360.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.3 MB / 0.6192 GB, free: 12.11 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001409/0.001408, allocations: 96.86 kB / 0.7322 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.846e-05, allocations: 4 kB / 0.8509 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7722/0.7723, allocations: 115.2 MB / 0.9634 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.273/1.045, allocations: 164.3 MB / 1.124 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/1.046, allocations: 92.88 kB / 1.124 GB, free: 7.988 MB / 0.7292 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13: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 8.0.0/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);. Notification: Performance of FrontEnd - DAE generated: time 0.04456/1.09, allocations: 11.63 MB / 1.135 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/1.09, allocations: 0 / 1.135 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.165e-05/1.09, allocations: 4 kB / 1.135 GB, free: 12.29 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000896/1.091, allocations: 494.9 kB / 1.136 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.091, allocations: 8.031 kB / 1.136 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009578/1.092, allocations: 84.84 kB / 1.136 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/1.093, allocations: 260.3 kB / 1.136 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/1.093, allocations: 12 kB / 1.136 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/1.093, allocations: 12 kB / 1.136 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004823/1.093, allocations: 168.8 kB / 1.136 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/1.094, allocations: 267.5 kB / 1.137 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/1.094, allocations: 0 / 1.137 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/1.094, allocations: 0 / 1.137 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/1.094, allocations: 20.42 kB / 1.137 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/1.096, allocations: 1.441 MB / 1.138 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/1.097, allocations: 179.7 kB / 1.138 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.85e-05/1.097, allocations: 40.84 kB / 1.138 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/1.097, allocations: 4 kB / 1.138 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/1.097, allocations: 36.94 kB / 1.138 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.465e-06/1.097, allocations: 0 / 1.138 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003935/1.097, allocations: 119.6 kB / 1.138 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/1.098, allocations: 55.41 kB / 1.138 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/1.098, allocations: 167.3 kB / 1.139 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.098, allocations: 28.23 kB / 1.139 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/1.098, allocations: 179.6 kB / 1.139 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/1.098, allocations: 27.56 kB / 1.139 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/1.098, allocations: 0 / 1.139 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.098, allocations: 334.8 kB / 1.139 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.654e-05/1.098, allocations: 28 kB / 1.139 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/1.098, allocations: 101.3 kB / 1.139 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/1.099, allocations: 49.62 kB / 1.139 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.099, allocations: 0 / 1.139 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004533/1.099, allocations: 174.2 kB / 1.139 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.099, allocations: 4 kB / 1.139 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.099, allocations: 4 kB / 1.139 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/1.099, allocations: 28.8 kB / 1.14 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/1.1, allocations: 32.2 kB / 1.14 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/1.101, allocations: 1.265 MB / 1.141 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/1.101, allocations: 23.94 kB / 1.141 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/1.101, allocations: 11.98 kB / 1.141 GB, free: 6.195 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/1.101, allocations: 108.7 kB / 1.141 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/1.101, allocations: 15.89 kB / 1.141 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.724e-05/1.101, allocations: 17.84 kB / 1.141 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/1.101, allocations: 0 / 1.141 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.101, allocations: 7.953 kB / 1.141 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/1.101, allocations: 5.172 kB / 1.141 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007342/1.102, allocations: 415.8 kB / 1.141 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.102, allocations: 0 / 1.141 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/1.102, allocations: 15.92 kB / 1.141 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/1.102, allocations: 28.8 kB / 1.141 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/1.102, allocations: 0 / 1.141 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/1.104, allocations: 1.261 MB / 1.143 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.104, allocations: 1.875 kB / 1.143 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/1.104, allocations: 216.3 kB / 1.143 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/1.104, allocations: 100.9 kB / 1.143 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/1.104, allocations: 0 / 1.143 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/1.104, allocations: 8 kB / 1.143 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/1.104, allocations: 7.984 kB / 1.143 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/1.105, allocations: 0 / 1.143 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001557/1.105, allocations: 148 kB / 1.143 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-07/1.105, allocations: 0 / 1.143 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004941/1.105, allocations: 51.75 kB / 1.143 GB, free: 3.609 MB / 0.7448 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/1.105, allocations: 95.25 kB / 1.143 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004933/1.106, allocations: 198.1 kB / 1.143 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.106, allocations: 4.125 kB / 1.143 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/1.106, allocations: 145.8 kB / 1.144 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/1.107, allocations: 31.67 kB / 1.144 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/1.107, allocations: 234 kB / 1.144 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/1.108, allocations: 0.767 MB / 1.145 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002012/1.108, allocations: 25.19 kB / 1.145 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/1.108, allocations: 15.44 kB / 1.145 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of SimCode: time 1.062e-06/1.108, allocations: 0 / 1.145 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of Templates: time 0.006648/1.115, allocations: 1.547 MB / 1.146 GB, free: 0.5469 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)