Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.287/2.287, allocations: 253.2 MB / 260.6 MB, free: 7.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 171.3 kB / 319.9 MB, free: 3.074 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.101/2.101, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001166/0.001165, allocations: 92.28 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.296e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1986, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9663/1.165, allocations: 157.9 MB / 1.043 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005053/1.166, allocations: 92.75 kB / 1.043 GB, free: 13.5 MB / 0.6667 GB [/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/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/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.07499/1.241, allocations: 16.02 MB / 1.059 GB, free: 324 kB / 0.6667 GB Notification: Performance of FrontEnd: time 2.896e-06/1.241, allocations: 0 / 1.059 GB, free: 324 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.923e-05/1.241, allocations: 8 kB / 1.059 GB, free: 316 kB / 0.6667 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.001379/1.242, allocations: 0.5496 MB / 1.059 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.242, allocations: 12.02 kB / 1.059 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/1.244, allocations: 138.9 kB / 1.059 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000712/1.244, allocations: 297.3 kB / 1.06 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/1.245, allocations: 8 kB / 1.06 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/1.245, allocations: 16 kB / 1.06 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007456/1.245, allocations: 279.3 kB / 1.06 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009058/1.246, allocations: 406.5 kB / 1.06 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/1.246, allocations: 0 / 1.06 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/1.246, allocations: 0 / 1.06 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.06e-05/1.246, allocations: 28.11 kB / 1.06 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/1.25, allocations: 2.107 MB / 1.062 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/1.25, allocations: 230.8 kB / 1.063 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/1.251, allocations: 119.7 kB / 1.063 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/1.251, allocations: 0 / 1.063 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/1.251, allocations: 34.56 kB / 1.063 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 4.769e-06/1.251, allocations: 3.984 kB / 1.063 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0005185/1.251, allocations: 149.7 kB / 1.063 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.251, allocations: 55.41 kB / 1.063 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/1.252, allocations: 188.5 kB / 1.063 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/1.252, allocations: 29.64 kB / 1.063 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/1.252, allocations: 208.1 kB / 1.063 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/1.252, allocations: 49.61 kB / 1.063 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/1.252, allocations: 0 / 1.063 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.252, allocations: 336.5 kB / 1.064 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/1.253, allocations: 49.52 kB / 1.064 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/1.253, allocations: 137.4 kB / 1.064 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/1.253, allocations: 71.23 kB / 1.064 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.253, allocations: 3.938 kB / 1.064 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006407/1.254, allocations: 232 kB / 1.064 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.254, allocations: 8 kB / 1.064 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.254, allocations: 4 kB / 1.064 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/1.254, allocations: 23.97 kB / 1.064 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/1.254, allocations: 56.22 kB / 1.064 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/1.256, allocations: 1.263 MB / 1.065 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/1.256, allocations: 23.94 kB / 1.065 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/1.256, allocations: 11.94 kB / 1.065 GB, free: 9.391 MB / 0.6823 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.0001359/1.256, allocations: 109.4 kB / 1.066 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/1.256, allocations: 23.72 kB / 1.066 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.536e-05/1.256, allocations: 25.2 kB / 1.066 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.256, allocations: 4 kB / 1.066 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.256, allocations: 0 / 1.066 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.256, allocations: 0 / 1.066 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/1.258, allocations: 0.6364 MB / 1.066 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/1.258, allocations: 4.188 kB / 1.066 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/1.258, allocations: 20 kB / 1.066 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001448/1.258, allocations: 31.86 kB / 1.066 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/1.258, allocations: 4 kB / 1.066 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/1.26, allocations: 1.25 MB / 1.068 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/1.26, allocations: 8.016 kB / 1.068 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006331/1.26, allocations: 381.4 kB / 1.068 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/1.261, allocations: 112 kB / 1.068 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/1.261, allocations: 4 kB / 1.068 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/1.261, allocations: 15.98 kB / 1.068 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/1.261, allocations: 18.98 kB / 1.068 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/1.261, allocations: 8 kB / 1.068 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001965/1.261, allocations: 152.9 kB / 1.068 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/1.261, allocations: 0 / 1.068 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006037/1.262, allocations: 75.69 kB / 1.068 GB, free: 6.453 MB / 0.6823 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.0001828/1.262, allocations: 104.1 kB / 1.068 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006598/1.263, allocations: 240 kB / 1.069 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.263, allocations: 4.312 kB / 1.069 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003026/1.263, allocations: 170.3 kB / 1.069 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005301/1.264, allocations: 46.41 kB / 1.069 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/1.265, allocations: 375.2 kB / 1.069 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/1.265, allocations: 0.8001 MB / 1.07 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002906/1.265, allocations: 34.06 kB / 1.07 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/1.266, allocations: 19.44 kB / 1.07 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of SimCode: time 1.332e-06/1.266, allocations: 0 / 1.07 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of Templates: time 0.00852/1.274, allocations: 2.117 MB / 1.072 GB, free: 2.598 MB / 0.6823 GB