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.683/1.683, allocations: 288.4 MB / 304.3 MB, free: 8.07 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.001028/0.001027, allocations: 190.2 kB / 373 MB, free: 10.12 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.574/1.574, allocations: 205.4 MB / 0.6317 GB, free: 9.883 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.0007136/0.0007136, allocations: 84.08 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003856, allocations: 16.09 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2484, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6336/0.882, allocations: 164 MB / 1.141 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.8822, allocations: 94.39 kB / 1.141 GB, free: 13.93 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.02268/0.9049, allocations: 11.4 MB / 1.152 GB, free: 24.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/0.905, allocations: 3.938 kB / 1.152 GB, free: 24.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.905, allocations: 8 kB / 1.152 GB, free: 24.71 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.0006503/0.9056, allocations: 485.8 kB / 1.153 GB, free: 24.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.9057, allocations: 12.03 kB / 1.153 GB, free: 24.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006786/0.9064, allocations: 80.58 kB / 1.153 GB, free: 24.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.9067, allocations: 251.8 kB / 1.153 GB, free: 23.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.9067, allocations: 12.69 kB / 1.153 GB, free: 23.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.9067, allocations: 16.06 kB / 1.153 GB, free: 23.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.9071, allocations: 292.3 kB / 1.153 GB, free: 23.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.9071, allocations: 192 / 1.153 GB, free: 23.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.9071, allocations: 15.44 kB / 1.153 GB, free: 23.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.9072, allocations: 16.36 kB / 1.153 GB, free: 23.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.9074, allocations: 197.1 kB / 1.153 GB, free: 23.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.9088, allocations: 1.479 MB / 1.155 GB, free: 21.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.909, allocations: 172.8 kB / 1.155 GB, free: 21.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.9091, allocations: 31.41 kB / 1.155 GB, free: 21.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.9091, allocations: 7.938 kB / 1.155 GB, free: 21.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.9092, allocations: 34.56 kB / 1.155 GB, free: 21.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.9092, allocations: 0 / 1.155 GB, free: 21.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004137/0.9096, allocations: 228.6 kB / 1.155 GB, free: 21.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.9096, allocations: 55.03 kB / 1.155 GB, free: 21.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.9098, allocations: 185.6 kB / 1.156 GB, free: 21.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.9098, allocations: 28.64 kB / 1.156 GB, free: 21.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.9099, allocations: 173.3 kB / 1.156 GB, free: 21.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.9099, allocations: 31.5 kB / 1.156 GB, free: 20.99 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.9099, allocations: 4 kB / 1.156 GB, free: 20.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.91, allocations: 325.6 kB / 1.156 GB, free: 20.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.047e-05/0.9101, allocations: 34.61 kB / 1.156 GB, free: 20.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.9102, allocations: 104.4 kB / 1.156 GB, free: 20.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.9103, allocations: 149.9 kB / 1.156 GB, free: 20.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.9103, allocations: 0 / 1.156 GB, free: 20.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002421/0.9106, allocations: 187.4 kB / 1.157 GB, free: 20.23 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.9106, allocations: 12.28 kB / 1.157 GB, free: 20.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9106, allocations: 0 / 1.157 GB, free: 20.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.9107, allocations: 24.84 kB / 1.157 GB, free: 20.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.9109, allocations: 31.8 kB / 1.157 GB, free: 20.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008967/0.9118, allocations: 1.314 MB / 1.158 GB, free: 18.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.9119, allocations: 23.3 kB / 1.158 GB, free: 18.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/0.9119, allocations: 8 kB / 1.158 GB, free: 18.73 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.0001207/0.912, allocations: 154.6 kB / 1.158 GB, free: 18.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.9121, allocations: 12 kB / 1.158 GB, free: 18.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.9121, allocations: 27.92 kB / 1.158 GB, free: 18.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.9121, allocations: 4 kB / 1.158 GB, free: 18.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.9121, allocations: 0 / 1.158 GB, free: 18.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.9121, allocations: 0 / 1.158 GB, free: 18.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.9125, allocations: 443.6 kB / 1.159 GB, free: 18.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.9126, allocations: 7.984 kB / 1.159 GB, free: 18.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.9126, allocations: 7.938 kB / 1.159 GB, free: 18.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.776e-05/0.9127, allocations: 28.47 kB / 1.159 GB, free: 18.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.9127, allocations: 0 / 1.159 GB, free: 18.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007866/0.9135, allocations: 1.312 MB / 1.16 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9135, allocations: 0 / 1.16 GB, free: 16.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.9137, allocations: 212.5 kB / 1.16 GB, free: 16.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.9138, allocations: 92.91 kB / 1.16 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.9138, allocations: 3.5 kB / 1.16 GB, free: 16.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.9139, allocations: 12.03 kB / 1.16 GB, free: 16.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.9139, allocations: 7.984 kB / 1.16 GB, free: 16.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.9139, allocations: 0 / 1.16 GB, free: 16.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001024/0.914, allocations: 157.4 kB / 1.16 GB, free: 16.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.914, allocations: 0 / 1.16 GB, free: 16.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002945/0.9143, allocations: 50.53 kB / 1.16 GB, free: 16.17 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 0.0001022/0.9145, allocations: 96.75 kB / 1.161 GB, free: 16.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000324/0.9148, allocations: 213.2 kB / 1.161 GB, free: 15.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9148, allocations: 0 / 1.161 GB, free: 15.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.9149, allocations: 145.3 kB / 1.161 GB, free: 15.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.9153, allocations: 33.16 kB / 1.161 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.9158, allocations: 428.7 kB / 1.161 GB, free: 15.28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.9161, allocations: 0.7502 MB / 1.162 GB, free: 14.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.949e-05/0.9162, allocations: 21.53 kB / 1.162 GB, free: 14.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.9162, allocations: 15.44 kB / 1.162 GB, free: 14.47 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.9162, allocations: 4 kB / 1.162 GB, free: 14.47 MB / 0.698 GB Notification: Performance of Templates: time 0.003557/0.9198, allocations: 1.648 MB / 1.164 GB, free: 12.85 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)