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.65/1.65, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001092/0.001092, allocations: 176.9 kB / 361.4 MB, free: 6.832 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.462/1.462, allocations: 205.2 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008957/0.0008957, allocations: 98.23 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.833e-05, allocations: 4 kB / 0.8517 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6435/0.6436, allocations: 115.3 MB / 0.9644 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.214/0.8577, allocations: 163.3 MB / 1.124 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.8581, allocations: 83.95 kB / 1.124 GB, free: 8.477 MB / 0.7292 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.02644/0.8845, allocations: 11.25 MB / 1.135 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.684e-06/0.8846, allocations: 0 / 1.135 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.8846, allocations: 4 kB / 1.135 GB, free: 13.2 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006202/0.8852, allocations: 478.2 kB / 1.135 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.8853, allocations: 8.031 kB / 1.135 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005988/0.8859, allocations: 84.67 kB / 1.135 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.8862, allocations: 241 kB / 1.136 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.8863, allocations: 4 kB / 1.136 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.8863, allocations: 14.72 kB / 1.136 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002894/0.8866, allocations: 172.8 kB / 1.136 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.887, allocations: 258.8 kB / 1.136 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.887, allocations: 0 / 1.136 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.887, allocations: 0 / 1.136 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.8871, allocations: 16.36 kB / 1.136 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.8884, allocations: 1.411 MB / 1.137 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.8887, allocations: 175.7 kB / 1.138 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.8887, allocations: 28.86 kB / 1.138 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.8888, allocations: 0 / 1.138 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.8888, allocations: 40.67 kB / 1.138 GB, free: 10 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.8888, allocations: 3.938 kB / 1.138 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002713/0.8891, allocations: 98.38 kB / 1.138 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.8891, allocations: 55.41 kB / 1.138 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.8893, allocations: 162 kB / 1.138 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.8893, allocations: 25.7 kB / 1.138 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.8894, allocations: 167.7 kB / 1.138 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.8894, allocations: 23.66 kB / 1.138 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.8894, allocations: 0 / 1.138 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8896, allocations: 326.8 kB / 1.139 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.038e-05/0.8896, allocations: 31.98 kB / 1.139 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-05/0.8897, allocations: 100.4 kB / 1.139 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.119e-05/0.8898, allocations: 45.3 kB / 1.139 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8898, allocations: 4 kB / 1.139 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000255/0.8901, allocations: 162.2 kB / 1.139 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.8901, allocations: 4 kB / 1.139 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.8901, allocations: 8.281 kB / 1.139 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.8903, allocations: 24.84 kB / 1.139 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.8904, allocations: 27.98 kB / 1.139 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009568/0.8913, allocations: 1.264 MB / 1.14 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.8915, allocations: 13.81 kB / 1.14 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.8915, allocations: 7.953 kB / 1.14 GB, free: 7.27 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 (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 8.163e-05/0.8916, allocations: 112.9 kB / 1.14 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.8916, allocations: 15.81 kB / 1.14 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.8916, allocations: 19.73 kB / 1.14 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.8917, allocations: 4 kB / 1.14 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.8917, allocations: 0 / 1.14 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.8917, allocations: 0 / 1.14 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.8921, allocations: 400 kB / 1.141 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8922, allocations: 0 / 1.141 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.8922, allocations: 4 kB / 1.141 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.381e-05/0.8923, allocations: 28.84 kB / 1.141 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.8923, allocations: 0 / 1.141 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007865/0.8931, allocations: 1.261 MB / 1.142 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.8931, allocations: 7.891 kB / 1.142 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.8933, allocations: 192.3 kB / 1.142 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.8934, allocations: 100.9 kB / 1.142 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.8934, allocations: 7.922 kB / 1.142 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.8935, allocations: 7.953 kB / 1.142 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.8935, allocations: 8.062 kB / 1.142 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.8935, allocations: 0 / 1.142 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.19e-05/0.8936, allocations: 138.6 kB / 1.142 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8937, allocations: 0 / 1.142 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003145/0.894, allocations: 47.84 kB / 1.142 GB, free: 4.738 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 (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.0001207/0.8941, allocations: 103 kB / 1.143 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003059/0.8944, allocations: 193.9 kB / 1.143 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8944, allocations: 0 / 1.143 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.8946, allocations: 141.7 kB / 1.143 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.8948, allocations: 22.33 kB / 1.143 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.8952, allocations: 213.5 kB / 1.143 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.8956, allocations: 0.7556 MB / 1.144 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.366e-05/0.8957, allocations: 21.2 kB / 1.144 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.8957, allocations: 11.44 kB / 1.144 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of SimCode: time 2.11e-07/0.8957, allocations: 0 / 1.144 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of Templates: time 0.003753/0.8995, allocations: 1.434 MB / 1.145 GB, free: 1.848 MB / 0.7448 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)