Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.767/1.767, allocations: 288.3 MB / 303.2 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 181 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 90.86 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004202, allocations: 14.75 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2447, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7336/0.9784, allocations: 164 MB / 1.14 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.9786, allocations: 98.8 kB / 1.14 GB, free: 14.02 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.02292/1.002, allocations: 11.39 MB / 1.151 GB, free: 25.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.072e-06/1.002, allocations: 0 / 1.151 GB, free: 25.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.173e-05/1.002, allocations: 3.875 kB / 1.151 GB, free: 25.13 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005739/1.002, allocations: 487.1 kB / 1.151 GB, free: 24.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/1.002, allocations: 16.02 kB / 1.151 GB, free: 24.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005482/1.003, allocations: 75.66 kB / 1.151 GB, free: 24.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/1.003, allocations: 254 kB / 1.152 GB, free: 24.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/1.003, allocations: 8.125 kB / 1.152 GB, free: 24.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/1.003, allocations: 23.19 kB / 1.152 GB, free: 24.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/1.003, allocations: 288.8 kB / 1.152 GB, free: 24.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/1.003, allocations: 3.938 kB / 1.152 GB, free: 24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/1.004, allocations: 7.375 kB / 1.152 GB, free: 24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/1.004, allocations: 15.23 kB / 1.152 GB, free: 23.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/1.004, allocations: 198.3 kB / 1.152 GB, free: 23.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/1.005, allocations: 1.47 MB / 1.154 GB, free: 22.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/1.005, allocations: 171.7 kB / 1.154 GB, free: 22.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/1.005, allocations: 3.938 kB / 1.154 GB, free: 22.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/1.005, allocations: 38.5 kB / 1.154 GB, free: 22.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/1.005, allocations: 0 / 1.154 GB, free: 22.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004101/1.006, allocations: 230.4 kB / 1.154 GB, free: 21.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/1.006, allocations: 55.41 kB / 1.154 GB, free: 21.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/1.006, allocations: 176.2 kB / 1.154 GB, free: 21.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/1.006, allocations: 29.7 kB / 1.154 GB, free: 21.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/1.006, allocations: 160.7 kB / 1.154 GB, free: 21.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/1.006, allocations: 30.39 kB / 1.154 GB, free: 21.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/1.006, allocations: 3.938 kB / 1.154 GB, free: 21.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.006, allocations: 330.7 kB / 1.155 GB, free: 21.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/1.006, allocations: 35.73 kB / 1.155 GB, free: 21.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/1.006, allocations: 97.78 kB / 1.155 GB, free: 21.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.768e-05/1.006, allocations: 59.48 kB / 1.155 GB, free: 20.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.006, allocations: 0 / 1.155 GB, free: 20.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002331/1.007, allocations: 187.4 kB / 1.155 GB, free: 20.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.007, allocations: 9.594 kB / 1.155 GB, free: 20.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.007, allocations: 4 kB / 1.155 GB, free: 20.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/1.007, allocations: 20.84 kB / 1.155 GB, free: 20.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/1.007, allocations: 35.61 kB / 1.155 GB, free: 20.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000866/1.008, allocations: 1.323 MB / 1.156 GB, free: 19.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/1.008, allocations: 22.94 kB / 1.156 GB, free: 19.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/1.008, allocations: 4 kB / 1.156 GB, free: 19.32 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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.0001158/1.008, allocations: 143.2 kB / 1.157 GB, free: 19.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/1.008, allocations: 19.89 kB / 1.157 GB, free: 19.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/1.008, allocations: 16.41 kB / 1.157 GB, free: 19.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/1.008, allocations: 0 / 1.157 GB, free: 19.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/1.008, allocations: 0 / 1.157 GB, free: 19.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.008, allocations: 4.016 kB / 1.157 GB, free: 19.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/1.009, allocations: 452.5 kB / 1.157 GB, free: 18.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.009, allocations: 0 / 1.157 GB, free: 18.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/1.009, allocations: 8 kB / 1.157 GB, free: 18.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.58e-05/1.009, allocations: 30.92 kB / 1.157 GB, free: 18.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/1.009, allocations: 3.125 kB / 1.157 GB, free: 18.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007623/1.009, allocations: 1.313 MB / 1.158 GB, free: 17.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.009, allocations: 3.938 kB / 1.158 GB, free: 17.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/1.01, allocations: 213.8 kB / 1.159 GB, free: 17.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/1.01, allocations: 96.91 kB / 1.159 GB, free: 16.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/1.01, allocations: 3.812 kB / 1.159 GB, free: 16.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/1.01, allocations: 8.188 kB / 1.159 GB, free: 16.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/1.01, allocations: 3.984 kB / 1.159 GB, free: 16.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/1.01, allocations: 4.094 kB / 1.159 GB, free: 16.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.655e-05/1.01, allocations: 153.9 kB / 1.159 GB, free: 16.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/1.01, allocations: 0 / 1.159 GB, free: 16.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002909/1.01, allocations: 55.34 kB / 1.159 GB, free: 16.75 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 9.643e-05/1.01, allocations: 103.2 kB / 1.159 GB, free: 16.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000299/1.011, allocations: 203.5 kB / 1.159 GB, free: 16.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/1.011, allocations: 4 kB / 1.159 GB, free: 16.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/1.011, allocations: 147.7 kB / 1.159 GB, free: 16.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/1.011, allocations: 40.06 kB / 1.159 GB, free: 16.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/1.012, allocations: 429.2 kB / 1.16 GB, free: 15.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/1.012, allocations: 0.7574 MB / 1.161 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.55e-05/1.012, allocations: 17.55 kB / 1.161 GB, free: 15.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/1.012, allocations: 15.44 kB / 1.161 GB, free: 15.04 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/1.012, allocations: 4 kB / 1.161 GB, free: 15.03 MB / 0.698 GB Notification: Performance of Templates: time 0.003742/1.016, allocations: 1.631 MB / 1.162 GB, free: 13.43 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)