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.594/1.594, allocations: 285.4 MB / 298 MB, free: 5.98 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.00108/0.00108, allocations: 184.8 kB / 366.4 MB, free: 2.117 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.348/1.348, allocations: 205.1 MB / 0.6248 GB, free: 7.766 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.0008509/0.000851, allocations: 96.73 kB / 0.738 GB, free: 40.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.647e-05, allocations: 0 / 0.8583 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6267/0.6268, allocations: 115.3 MB / 0.9709 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.8246, allocations: 163.9 MB / 1.131 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.8249, allocations: 88.62 kB / 1.131 GB, free: 3.762 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.02683/0.8518, allocations: 11.3 MB / 1.142 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8518, allocations: 0 / 1.142 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.8518, allocations: 4 kB / 1.142 GB, free: 8.43 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.0005857/0.8524, allocations: 482.1 kB / 1.143 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.8524, allocations: 8.031 kB / 1.143 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005976/0.853, allocations: 79.64 kB / 1.143 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.8534, allocations: 238.7 kB / 1.143 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.8534, allocations: 16.38 kB / 1.143 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.8534, allocations: 20 kB / 1.143 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.8539, allocations: 283.2 kB / 1.143 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.8539, allocations: 0 / 1.143 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.8539, allocations: 11.98 kB / 1.143 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.854, allocations: 16.36 kB / 1.143 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.8543, allocations: 192.8 kB / 1.143 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.8557, allocations: 1.464 MB / 1.145 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.8559, allocations: 179.7 kB / 1.145 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.364e-05/0.856, allocations: 32.86 kB / 1.145 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.856, allocations: 4 kB / 1.145 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.856, allocations: 30.56 kB / 1.145 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 3.146e-06/0.856, allocations: 0 / 1.145 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002732/0.8563, allocations: 118.4 kB / 1.145 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.8564, allocations: 55.41 kB / 1.145 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.8566, allocations: 185.5 kB / 1.145 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.8566, allocations: 25.7 kB / 1.145 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.8567, allocations: 159.6 kB / 1.146 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.8567, allocations: 27.64 kB / 1.146 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.8567, allocations: 7.375 kB / 1.146 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.8568, allocations: 326.8 kB / 1.146 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.445e-05/0.8569, allocations: 35.98 kB / 1.146 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.857, allocations: 101.7 kB / 1.146 GB, free: 4 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.054e-05/0.8571, allocations: 51.92 kB / 1.146 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8571, allocations: 0 / 1.146 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000291/0.8574, allocations: 186.4 kB / 1.146 GB, free: 3.758 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.8575, allocations: 4 kB / 1.146 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8575, allocations: 4 kB / 1.146 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/0.8576, allocations: 24.84 kB / 1.146 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.8577, allocations: 31.92 kB / 1.146 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009962/0.8587, allocations: 1.315 MB / 1.148 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.8589, allocations: 19.88 kB / 1.148 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.8589, allocations: 4 kB / 1.148 GB, free: 2.219 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 7.702e-05/0.859, allocations: 114.9 kB / 1.148 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.859, allocations: 19.75 kB / 1.148 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.859, allocations: 19.34 kB / 1.148 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.8591, allocations: 0 / 1.148 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.8591, allocations: 7.938 kB / 1.148 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.8591, allocations: 0 / 1.148 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.8596, allocations: 436.5 kB / 1.148 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8596, allocations: 1.781 kB / 1.148 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.8596, allocations: 19.88 kB / 1.148 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.756e-05/0.8597, allocations: 20.84 kB / 1.148 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.8597, allocations: 8 kB / 1.148 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008941/0.8606, allocations: 1.313 MB / 1.15 GB, free: 80 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8606, allocations: 0 / 1.15 GB, free: 80 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.8609, allocations: 208.1 kB / 1.15 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.861, allocations: 92.95 kB / 1.15 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.861, allocations: 7.984 kB / 1.15 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.8611, allocations: 12.03 kB / 1.15 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.8611, allocations: 0 / 1.15 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.8611, allocations: 6.438 kB / 1.15 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001267/0.8613, allocations: 144.3 kB / 1.15 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8613, allocations: 3.938 kB / 1.15 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002839/0.8616, allocations: 55.84 kB / 1.15 GB, free: 15.52 MB / 0.7605 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.0001269/0.8617, allocations: 99.25 kB / 1.15 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003391/0.862, allocations: 221.7 kB / 1.15 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8621, allocations: 0 / 1.15 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.8622, allocations: 138.6 kB / 1.151 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.8625, allocations: 36.67 kB / 1.151 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.8628, allocations: 203.5 kB / 1.151 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.8631, allocations: 0.7556 MB / 1.151 GB, free: 14 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.102e-05/0.8632, allocations: 25.31 kB / 1.152 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.8632, allocations: 15.44 kB / 1.152 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of SimCode: time 2.41e-07/0.8632, allocations: 0 / 1.152 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of Templates: time 0.003959/0.8672, allocations: 1.635 MB / 1.153 GB, free: 12.39 MB / 0.7605 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)