Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.178/2.178, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001529, allocations: 171.5 kB / 325.6 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.49/2.49, allocations: 205.4 MB / 0.5766 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 97.55 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004859, allocations: 19.31 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2076, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2625/0.4701, allocations: 157.5 MB / 1.053 GB, free: 3.688 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/0.4706, allocations: 95.94 kB / 1.053 GB, free: 3.594 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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.6768/1.147, allocations: 11.39 MB / 1.064 GB, free: 154.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.784e-06/1.147, allocations: 0 / 1.064 GB, free: 154.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.209e-05/1.148, allocations: 9.906 kB / 1.064 GB, free: 154.7 MB / 0.698 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.0008806/1.148, allocations: 489 kB / 1.064 GB, free: 154.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/1.148, allocations: 10.47 kB / 1.064 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009828/1.149, allocations: 80.02 kB / 1.065 GB, free: 154.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/1.15, allocations: 246.4 kB / 1.065 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/1.15, allocations: 14.58 kB / 1.065 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/1.15, allocations: 24.84 kB / 1.065 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007459/1.151, allocations: 283.2 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/1.151, allocations: 0.7812 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/1.151, allocations: 12.16 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.403e-05/1.151, allocations: 21.34 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005352/1.151, allocations: 191.3 kB / 1.065 GB, free: 154 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/1.154, allocations: 1.474 MB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/1.154, allocations: 170.3 kB / 1.067 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/1.154, allocations: 0.9062 kB / 1.067 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/1.154, allocations: 39.39 kB / 1.067 GB, free: 152.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 3.486e-06/1.154, allocations: 0.7812 kB / 1.067 GB, free: 152.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0006895/1.155, allocations: 233.5 kB / 1.067 GB, free: 152.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/1.155, allocations: 57.92 kB / 1.067 GB, free: 152.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/1.155, allocations: 176.2 kB / 1.067 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/1.155, allocations: 26.61 kB / 1.067 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/1.155, allocations: 165.2 kB / 1.068 GB, free: 152.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/1.155, allocations: 24.2 kB / 1.068 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/1.155, allocations: 8.531 kB / 1.068 GB, free: 152.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.625e-05/1.156, allocations: 323.5 kB / 1.068 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/1.156, allocations: 34.3 kB / 1.068 GB, free: 151.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/1.156, allocations: 103.2 kB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/1.156, allocations: 51.81 kB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.156, allocations: 4.781 kB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004984/1.156, allocations: 191.6 kB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.157, allocations: 5.781 kB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.157, allocations: 2.531 kB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/1.157, allocations: 34.03 kB / 1.068 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/1.157, allocations: 25.5 kB / 1.068 GB, free: 151.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/1.158, allocations: 1.32 MB / 1.07 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/1.158, allocations: 22.16 kB / 1.07 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/1.159, allocations: 6.281 kB / 1.07 GB, free: 150.4 MB / 0.698 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 () * Number of clocked 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.0002125/1.159, allocations: 150.6 kB / 1.07 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/1.159, allocations: 14.69 kB / 1.07 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/1.159, allocations: 19.45 kB / 1.07 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.159, allocations: 5.406 kB / 1.07 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.159, allocations: 1.25 kB / 1.07 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.159, allocations: 4.734 kB / 1.07 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008084/1.16, allocations: 445.9 kB / 1.07 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.16, allocations: 1.531 kB / 1.07 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/1.16, allocations: 10.97 kB / 1.07 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/1.16, allocations: 22.75 kB / 1.07 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/1.16, allocations: 0.6562 kB / 1.07 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/1.161, allocations: 1.317 MB / 1.072 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.161, allocations: 5.406 kB / 1.072 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/1.161, allocations: 221.6 kB / 1.072 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/1.162, allocations: 90.89 kB / 1.072 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/1.162, allocations: 4.391 kB / 1.072 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/1.162, allocations: 8.359 kB / 1.072 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/1.162, allocations: 5.062 kB / 1.072 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/1.162, allocations: 4.141 kB / 1.072 GB, free: 148.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000195/1.162, allocations: 148.7 kB / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.162, allocations: 0 / 1.072 GB, free: 148.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005167/1.163, allocations: 48.59 kB / 1.072 GB, free: 148.3 MB / 0.698 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 () * Number of clocked 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.0001287/1.163, allocations: 102.2 kB / 1.072 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005398/1.163, allocations: 206.6 kB / 1.072 GB, free: 148.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.163, allocations: 0 / 1.072 GB, free: 148.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/1.164, allocations: 153 kB / 1.073 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/1.164, allocations: 39.25 kB / 1.073 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009375/1.165, allocations: 422.3 kB / 1.073 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/1.165, allocations: 0.7527 MB / 1.074 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001972/1.166, allocations: 29.05 kB / 1.074 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/1.166, allocations: 14.72 kB / 1.074 GB, free: 147 MB / 0.698 GB Notification: Performance of SimCode: time 1.462e-06/1.166, allocations: 0 / 1.074 GB, free: 147 MB / 0.698 GB Notification: Performance of Templates: time 0.007047/1.173, allocations: 1.629 MB / 1.075 GB, free: 146.8 MB / 0.698 GB