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.626/1.626, allocations: 285.4 MB / 298 MB, free: 5.957 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.001259/0.001259, allocations: 172.9 kB / 366.4 MB, free: 2.082 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.418/1.418, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0008113/0.0008111, allocations: 94 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.063e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6185/0.6186, allocations: 115.3 MB / 0.9709 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2079/0.8266, allocations: 164.1 MB / 1.131 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.8268, allocations: 95.94 kB / 1.131 GB, free: 3.508 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.03747/0.8643, allocations: 16.07 MB / 1.147 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8643, allocations: 0 / 1.147 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.836e-05/0.8644, allocations: 8 kB / 1.147 GB, free: 3.359 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.0007595/0.8651, allocations: 0.5413 MB / 1.147 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.8652, allocations: 12.03 kB / 1.147 GB, free: 2.762 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/0.8661, allocations: 151.4 kB / 1.148 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.8666, allocations: 286.9 kB / 1.148 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.8666, allocations: 24.77 kB / 1.148 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.8667, allocations: 24 kB / 1.148 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.8673, allocations: 455.6 kB / 1.148 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.8674, allocations: 0 / 1.148 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.8674, allocations: 15.94 kB / 1.148 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/0.8675, allocations: 28.55 kB / 1.148 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/0.8679, allocations: 306 kB / 1.149 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.87, allocations: 2.189 MB / 1.151 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.8704, allocations: 243.8 kB / 1.151 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.8706, allocations: 116.8 kB / 1.151 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.8706, allocations: 4.188 kB / 1.151 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.8707, allocations: 34.56 kB / 1.151 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.8707, allocations: 0 / 1.151 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of matching and sorting (n=14): time 0.0003744/0.871, allocations: 168 kB / 1.151 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.8711, allocations: 55.41 kB / 1.151 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.8714, allocations: 246.8 kB / 1.152 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.8714, allocations: 25.7 kB / 1.152 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.8715, allocations: 203.6 kB / 1.152 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.8716, allocations: 51.3 kB / 1.152 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.8716, allocations: 4 kB / 1.152 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8717, allocations: 338.8 kB / 1.152 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.8719, allocations: 52.45 kB / 1.152 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.872, allocations: 144.7 kB / 1.152 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.8722, allocations: 78.3 kB / 1.153 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8722, allocations: 0 / 1.153 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004027/0.8726, allocations: 258 kB / 1.153 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.8726, allocations: 8 kB / 1.153 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.8726, allocations: 0 / 1.153 GB, free: 12.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001872/0.8728, allocations: 28.84 kB / 1.153 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.873, allocations: 47.92 kB / 1.153 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.8741, allocations: 1.321 MB / 1.154 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.8743, allocations: 27.69 kB / 1.154 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.8743, allocations: 20.11 kB / 1.154 GB, free: 11.32 MB / 0.7605 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 9.3e-05/0.8744, allocations: 112.9 kB / 1.154 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.8744, allocations: 27.66 kB / 1.154 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/0.8745, allocations: 29.95 kB / 1.154 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.8745, allocations: 0 / 1.154 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.8745, allocations: 0 / 1.154 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8745, allocations: 0 / 1.154 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008671/0.8754, allocations: 0.7141 MB / 1.155 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.8754, allocations: 3.953 kB / 1.155 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.8755, allocations: 31.3 kB / 1.155 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.647e-05/0.8756, allocations: 20.86 kB / 1.155 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.8756, allocations: 10.33 kB / 1.155 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009554/0.8766, allocations: 1.308 MB / 1.156 GB, free: 8.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8766, allocations: 4.031 kB / 1.156 GB, free: 8.836 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.877, allocations: 380.6 kB / 1.157 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.8771, allocations: 120.7 kB / 1.157 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.8771, allocations: 4 kB / 1.157 GB, free: 8.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.8773, allocations: 12 kB / 1.157 GB, free: 8.238 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.8773, allocations: 15.92 kB / 1.157 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.8773, allocations: 4 kB / 1.157 GB, free: 8.219 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001772/0.8775, allocations: 191.1 kB / 1.157 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8775, allocations: 4 kB / 1.157 GB, free: 8.031 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003672/0.8779, allocations: 83.75 kB / 1.157 GB, free: 7.949 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.0001184/0.878, allocations: 99.25 kB / 1.157 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.8784, allocations: 271 kB / 1.158 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8785, allocations: 0 / 1.158 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.8787, allocations: 182.5 kB / 1.158 GB, free: 7.375 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.879, allocations: 54.16 kB / 1.158 GB, free: 7.328 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/0.8796, allocations: 379.4 kB / 1.158 GB, free: 6.922 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.88, allocations: 0.7991 MB / 1.159 GB, free: 6.094 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.8802, allocations: 46.03 kB / 1.159 GB, free: 6.047 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.8802, allocations: 23.42 kB / 1.159 GB, free: 6.023 MB / 0.7605 GB Notification: Performance of SimCode: time 2.71e-07/0.8802, allocations: 3.938 kB / 1.159 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of Templates: time 0.005372/0.8856, allocations: 2.499 MB / 1.161 GB, free: 3.602 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)