Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.903/4.903, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002635/0.002634, allocations: 356.1 kB / 0.6446 GB, free: 21.62 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.365/4.365, allocations: 410.7 MB / 1.113 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001814/0.001814, allocations: 177.1 kB / 1.226 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0006399/0.0006401, allocations: 11.98 kB / 1.349 GB, free: 321.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.214, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/0.4418, allocations: 164 MB / 1.621 GB, free: 56.48 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000341/0.4422, allocations: 99.94 kB / 1.622 GB, free: 56.38 MB / 0.8073 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0-master/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 9.0.0-master/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.05629/0.4985, allocations: 16.17 MB / 1.637 GB, free: 40.07 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4985, allocations: 0.9375 kB / 1.637 GB, free: 40.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.095e-05/0.4986, allocations: 8 kB / 1.637 GB, free: 40.06 MB / 0.8073 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.001075/0.4997, allocations: 0.5798 MB / 1.638 GB, free: 39.44 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 7.82e-05/0.4997, allocations: 12.69 kB / 1.638 GB, free: 39.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.5013, allocations: 141.5 kB / 1.638 GB, free: 39.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/0.5018, allocations: 291.6 kB / 1.638 GB, free: 38.97 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.5018, allocations: 24.64 kB / 1.638 GB, free: 38.94 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.5019, allocations: 24 kB / 1.638 GB, free: 38.92 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000899/0.5028, allocations: 456.8 kB / 1.639 GB, free: 38.44 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.5028, allocations: 0 / 1.639 GB, free: 38.44 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/0.5029, allocations: 16 kB / 1.639 GB, free: 38.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/0.503, allocations: 32.42 kB / 1.639 GB, free: 38.39 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/0.5037, allocations: 317.9 kB / 1.639 GB, free: 38.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.5063, allocations: 2.187 MB / 1.641 GB, free: 35.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005072/0.5069, allocations: 243.8 kB / 1.642 GB, free: 35.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.5072, allocations: 119.8 kB / 1.642 GB, free: 35.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.5073, allocations: 256 / 1.642 GB, free: 35.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.5073, allocations: 42.55 kB / 1.642 GB, free: 35.27 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 2.054e-06/0.5073, allocations: 1.125 kB / 1.642 GB, free: 35.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0008081/0.5081, allocations: 305.8 kB / 1.642 GB, free: 34.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.5082, allocations: 55.41 kB / 1.642 GB, free: 34.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.5085, allocations: 266.5 kB / 1.642 GB, free: 34.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.5086, allocations: 29.7 kB / 1.642 GB, free: 34.58 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5087, allocations: 199.8 kB / 1.643 GB, free: 34.38 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.5088, allocations: 52.73 kB / 1.643 GB, free: 34.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.348e-05/0.5088, allocations: 4 kB / 1.643 GB, free: 34.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.5089, allocations: 334.8 kB / 1.643 GB, free: 33.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.509, allocations: 63.44 kB / 1.643 GB, free: 33.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.5092, allocations: 136.5 kB / 1.643 GB, free: 33.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.5094, allocations: 85.56 kB / 1.643 GB, free: 33.69 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5094, allocations: 4 kB / 1.643 GB, free: 33.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005761/0.51, allocations: 267.2 kB / 1.643 GB, free: 33.42 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.5101, allocations: 11.73 kB / 1.643 GB, free: 33.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5101, allocations: 7.938 kB / 1.643 GB, free: 33.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/0.5103, allocations: 24.84 kB / 1.644 GB, free: 33.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.5106, allocations: 47.92 kB / 1.644 GB, free: 33.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.5117, allocations: 1.32 MB / 1.645 GB, free: 31.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.512, allocations: 27.69 kB / 1.645 GB, free: 31.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.5121, allocations: 8 kB / 1.645 GB, free: 31.84 MB / 0.8073 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 () * Number of clocked 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.0002229/0.5123, allocations: 167 kB / 1.645 GB, free: 31.67 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.5124, allocations: 24.81 kB / 1.645 GB, free: 31.65 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.5125, allocations: 29.83 kB / 1.645 GB, free: 31.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5125, allocations: 2.281 kB / 1.645 GB, free: 31.62 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5125, allocations: 0 / 1.645 GB, free: 31.62 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.5125, allocations: 3.953 kB / 1.645 GB, free: 31.61 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.5136, allocations: 0.7092 MB / 1.646 GB, free: 30.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.5137, allocations: 8.656 kB / 1.646 GB, free: 30.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.5138, allocations: 16 kB / 1.646 GB, free: 30.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.514, allocations: 27.84 kB / 1.646 GB, free: 30.77 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.514, allocations: 11.98 kB / 1.646 GB, free: 30.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009193/0.5149, allocations: 1.312 MB / 1.647 GB, free: 29.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5149, allocations: 4.031 kB / 1.647 GB, free: 29.31 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.5154, allocations: 319 kB / 1.647 GB, free: 28.97 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.5155, allocations: 112.8 kB / 1.648 GB, free: 28.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.5156, allocations: 0 / 1.648 GB, free: 28.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.5158, allocations: 15.98 kB / 1.648 GB, free: 28.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.5159, allocations: 20.48 kB / 1.648 GB, free: 28.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.5159, allocations: 8.516 kB / 1.648 GB, free: 28.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000227/0.5162, allocations: 188.6 kB / 1.648 GB, free: 28.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5162, allocations: 0 / 1.648 GB, free: 28.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005146/0.5167, allocations: 71.84 kB / 1.648 GB, free: 28.55 MB / 0.8073 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 () * Number of clocked 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.0001154/0.5168, allocations: 115.1 kB / 1.648 GB, free: 28.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005834/0.5174, allocations: 271.5 kB / 1.648 GB, free: 28.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5174, allocations: 4.062 kB / 1.648 GB, free: 28.15 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.5177, allocations: 178.5 kB / 1.648 GB, free: 27.96 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.5184, allocations: 64.44 kB / 1.648 GB, free: 27.9 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.5195, allocations: 0.6387 MB / 1.649 GB, free: 27.21 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5198, allocations: 0.7991 MB / 1.65 GB, free: 26.39 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002421/0.5201, allocations: 42.27 kB / 1.65 GB, free: 26.35 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.5201, allocations: 23.38 kB / 1.65 GB, free: 26.32 MB / 0.8073 GB Notification: Performance of SimCode: time 7.22e-07/0.5201, allocations: 3.938 kB / 1.65 GB, free: 26.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.007982/0.5281, allocations: 2.496 MB / 1.652 GB, free: 23.86 MB / 0.8073 GB