Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.593/2.593, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 188.1 kB / 360.8 MB, free: 7.234 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 93.5 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.629e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8194/0.8195, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2976/1.117, allocations: 163.1 MB / 1.123 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004198/1.118, allocations: 91.28 kB / 1.123 GB, free: 9.215 MB / 0.7292 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.09892/1.217, allocations: 11.25 MB / 1.134 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.395e-06/1.217, allocations: 0 / 1.134 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.735e-05/1.217, allocations: 4 kB / 1.134 GB, free: 13.94 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.001257/1.218, allocations: 474.2 kB / 1.134 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/1.218, allocations: 10.75 kB / 1.134 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/1.22, allocations: 80.84 kB / 1.134 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007449/1.22, allocations: 242.6 kB / 1.135 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/1.22, allocations: 12 kB / 1.135 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.098e-05/1.22, allocations: 8 kB / 1.135 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006882/1.221, allocations: 164.8 kB / 1.135 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008419/1.222, allocations: 259.9 kB / 1.135 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/1.222, allocations: 3.938 kB / 1.135 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/1.222, allocations: 4 kB / 1.135 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.385e-05/1.222, allocations: 16.36 kB / 1.135 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002917/1.225, allocations: 1.416 MB / 1.136 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/1.226, allocations: 171.7 kB / 1.137 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/1.226, allocations: 28.86 kB / 1.137 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/1.226, allocations: 0 / 1.137 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/1.226, allocations: 34.56 kB / 1.137 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/1.226, allocations: 0 / 1.137 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0005056/1.226, allocations: 106.4 kB / 1.137 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/1.226, allocations: 51.41 kB / 1.137 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/1.227, allocations: 161.9 kB / 1.137 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/1.227, allocations: 25.7 kB / 1.137 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/1.227, allocations: 163.7 kB / 1.137 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/1.227, allocations: 27.64 kB / 1.137 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/1.227, allocations: 0 / 1.137 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.227, allocations: 330.8 kB / 1.137 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/1.227, allocations: 31.98 kB / 1.137 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/1.228, allocations: 101.5 kB / 1.138 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/1.228, allocations: 43.73 kB / 1.138 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/1.228, allocations: 4 kB / 1.138 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006409/1.229, allocations: 166.4 kB / 1.138 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/1.229, allocations: 8 kB / 1.138 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.229, allocations: 3.938 kB / 1.138 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/1.229, allocations: 24.84 kB / 1.138 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/1.229, allocations: 27.98 kB / 1.138 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/1.231, allocations: 1.264 MB / 1.139 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/1.231, allocations: 15.8 kB / 1.139 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/1.231, allocations: 4 kB / 1.139 GB, free: 8.016 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 0.0001473/1.232, allocations: 116.9 kB / 1.139 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-05/1.232, allocations: 15.81 kB / 1.139 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/1.232, allocations: 21.83 kB / 1.139 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/1.232, allocations: 0 / 1.139 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.232, allocations: 0 / 1.139 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/1.232, allocations: 0 / 1.139 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/1.233, allocations: 400 kB / 1.14 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.233, allocations: 0 / 1.14 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/1.233, allocations: 4 kB / 1.14 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/1.233, allocations: 28.84 kB / 1.14 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/1.233, allocations: 0 / 1.14 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/1.235, allocations: 1.261 MB / 1.141 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/1.235, allocations: 1.438 kB / 1.141 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004925/1.236, allocations: 200.2 kB / 1.141 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/1.236, allocations: 100.9 kB / 1.141 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/1.236, allocations: 3.953 kB / 1.141 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/1.236, allocations: 12.08 kB / 1.141 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/1.236, allocations: 4 kB / 1.141 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/1.236, allocations: 3.938 kB / 1.141 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002086/1.236, allocations: 127.2 kB / 1.141 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.02e-07/1.236, allocations: 1.781 kB / 1.141 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007393/1.237, allocations: 47.84 kB / 1.141 GB, free: 5.484 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.0002191/1.237, allocations: 99.23 kB / 1.141 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005881/1.238, allocations: 191 kB / 1.142 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.238, allocations: 4 kB / 1.142 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002757/1.238, allocations: 133.8 kB / 1.142 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/1.239, allocations: 24.55 kB / 1.142 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/1.24, allocations: 222.1 kB / 1.142 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/1.24, allocations: 0.7514 MB / 1.143 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000215/1.24, allocations: 21.2 kB / 1.143 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/1.241, allocations: 11.44 kB / 1.143 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/1.241, allocations: 1.406 kB / 1.143 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of Templates: time 0.008171/1.249, allocations: 1.432 MB / 1.144 GB, free: 2.602 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)