Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.667/1.667, 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.001152/0.001152, allocations: 180.9 kB / 361.4 MB, free: 6.848 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.536/1.536, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009057/0.0009054, allocations: 96.12 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.78e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5927/0.5927, allocations: 115.3 MB / 0.9644 GB, free: 79.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.7898, allocations: 163.4 MB / 1.124 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003511/0.7902, allocations: 90.83 kB / 1.124 GB, free: 8.258 MB / 0.7292 GB [/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/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/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.05909/0.8493, allocations: 16 MB / 1.14 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8494, allocations: 8 kB / 1.14 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.549e-05/0.8494, allocations: 4 kB / 1.14 GB, free: 8.18 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00122/0.8506, allocations: 0.553 MB / 1.14 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.8507, allocations: 8.031 kB / 1.14 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.8525, allocations: 140.4 kB / 1.14 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006719/0.8532, allocations: 286.9 kB / 1.141 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.8532, allocations: 12 kB / 1.141 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.755e-05/0.8533, allocations: 16 kB / 1.141 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007076/0.854, allocations: 269.5 kB / 1.141 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008956/0.8549, allocations: 412 kB / 1.141 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.855, allocations: 4 kB / 1.141 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/0.855, allocations: 0 / 1.141 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-05/0.8551, allocations: 24.55 kB / 1.141 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/0.8581, allocations: 2.11 MB / 1.143 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005121/0.8586, allocations: 239.8 kB / 1.144 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.859, allocations: 106.7 kB / 1.144 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.859, allocations: 11.92 kB / 1.144 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.859, allocations: 38.5 kB / 1.144 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.859, allocations: 0 / 1.144 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0004964/0.8596, allocations: 156.6 kB / 1.144 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.8596, allocations: 51.41 kB / 1.144 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.8599, allocations: 183.2 kB / 1.144 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.8599, allocations: 25.7 kB / 1.144 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.8601, allocations: 219.3 kB / 1.144 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.801e-05/0.8602, allocations: 47.28 kB / 1.144 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.8602, allocations: 4 kB / 1.144 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.8604, allocations: 326.8 kB / 1.145 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.8606, allocations: 52.45 kB / 1.145 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.8608, allocations: 138.1 kB / 1.145 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.861, allocations: 63.97 kB / 1.145 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.861, allocations: 4 kB / 1.145 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005958/0.8616, allocations: 237.1 kB / 1.145 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.8617, allocations: 12 kB / 1.145 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.8617, allocations: 4 kB / 1.145 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001957/0.8619, allocations: 24.84 kB / 1.145 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.8622, allocations: 47.92 kB / 1.145 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.8636, allocations: 1.26 MB / 1.147 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.8639, allocations: 25.8 kB / 1.147 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.8639, allocations: 12 kB / 1.147 GB, free: 0.5664 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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.000115/0.864, allocations: 115.5 kB / 1.147 GB, free: 460 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-05/0.8641, allocations: 23.91 kB / 1.147 GB, free: 436 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.8642, allocations: 17.97 kB / 1.147 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8642, allocations: 0 / 1.147 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.8642, allocations: 7.984 kB / 1.147 GB, free: 412 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8642, allocations: 0 / 1.147 GB, free: 412 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.8655, allocations: 0.6366 MB / 1.147 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.8655, allocations: 4 kB / 1.147 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.8657, allocations: 24.77 kB / 1.147 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001288/0.8658, allocations: 24.84 kB / 1.147 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.8659, allocations: 4.188 kB / 1.147 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.8672, allocations: 1.258 MB / 1.149 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.196e-05/0.8672, allocations: 8.172 kB / 1.149 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.8677, allocations: 371.4 kB / 1.149 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.8679, allocations: 112.8 kB / 1.149 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.8679, allocations: 9.172 kB / 1.149 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.8682, allocations: 12 kB / 1.149 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.8683, allocations: 11.98 kB / 1.149 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.8683, allocations: 8 kB / 1.149 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001978/0.8685, allocations: 149.6 kB / 1.149 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8685, allocations: 0 / 1.149 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006719/0.8692, allocations: 75.69 kB / 1.149 GB, free: 13.43 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.0001519/0.8694, allocations: 107 kB / 1.149 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005837/0.87, allocations: 245.6 kB / 1.15 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.87, allocations: 0 / 1.15 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.8703, allocations: 174.7 kB / 1.15 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.8708, allocations: 54.27 kB / 1.15 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009382/0.8718, allocations: 361.2 kB / 1.15 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.8724, allocations: 0.8025 MB / 1.151 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.8726, allocations: 38.05 kB / 1.151 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.8727, allocations: 19.44 kB / 1.151 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of SimCode: time 4.11e-07/0.8727, allocations: 0 / 1.151 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of Templates: time 0.007712/0.8804, allocations: 2.12 MB / 1.153 GB, free: 9.492 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)