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.22/2.22, allocations: 252.6 MB / 265.2 MB, free: 5.656 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.001521/0.00152, allocations: 181.2 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.211/2.211, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001172/0.001172, allocations: 102.1 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.621e-05, allocations: 7.938 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2112, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9893/1.201, allocations: 157.6 MB / 1.049 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005161/1.201, allocations: 87.45 kB / 1.049 GB, free: 10.88 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.1025/1.304, allocations: 16.09 MB / 1.065 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.487e-06/1.304, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.263e-05/1.304, allocations: 8 kB / 1.065 GB, free: 13.54 MB / 0.6823 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.002379/1.306, allocations: 0.5496 MB / 1.065 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.063e-05/1.306, allocations: 8.031 kB / 1.065 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/1.308, allocations: 139.5 kB / 1.065 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007042/1.309, allocations: 287.3 kB / 1.066 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/1.309, allocations: 23.08 kB / 1.066 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.041e-05/1.309, allocations: 26.25 kB / 1.066 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/1.31, allocations: 454.6 kB / 1.066 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/1.31, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/1.31, allocations: 10.81 kB / 1.066 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-05/1.31, allocations: 31.73 kB / 1.066 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008268/1.311, allocations: 313.6 kB / 1.066 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003334/1.314, allocations: 2.187 MB / 1.069 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005634/1.315, allocations: 248.4 kB / 1.069 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/1.315, allocations: 117.2 kB / 1.069 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/1.315, allocations: 0 / 1.069 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.315, allocations: 30.56 kB / 1.069 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/1.315, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0005253/1.316, allocations: 169.9 kB / 1.069 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/1.316, allocations: 55.41 kB / 1.069 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/1.316, allocations: 238.3 kB / 1.069 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/1.317, allocations: 29.14 kB / 1.069 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/1.317, allocations: 201.8 kB / 1.07 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/1.317, allocations: 53.8 kB / 1.07 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/1.317, allocations: 6.562 kB / 1.07 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.317, allocations: 337.6 kB / 1.07 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/1.317, allocations: 54.2 kB / 1.07 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/1.317, allocations: 144.9 kB / 1.07 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/1.318, allocations: 73.17 kB / 1.07 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.318, allocations: 0 / 1.07 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006664/1.318, allocations: 266.2 kB / 1.07 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/1.318, allocations: 8 kB / 1.07 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.318, allocations: 0 / 1.07 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/1.319, allocations: 28.28 kB / 1.07 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/1.319, allocations: 52.28 kB / 1.071 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/1.32, allocations: 1.324 MB / 1.072 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/1.321, allocations: 27.41 kB / 1.072 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/1.321, allocations: 12 kB / 1.072 GB, free: 6.344 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.0001275/1.321, allocations: 116 kB / 1.072 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/1.321, allocations: 23.72 kB / 1.072 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.813e-05/1.321, allocations: 32.02 kB / 1.072 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.321, allocations: 3.984 kB / 1.072 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.321, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/1.321, allocations: 7.938 kB / 1.072 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/1.323, allocations: 0.7113 MB / 1.073 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.323, allocations: 192 / 1.073 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/1.323, allocations: 27.98 kB / 1.073 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001522/1.323, allocations: 27.34 kB / 1.073 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/1.323, allocations: 6.688 kB / 1.073 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/1.324, allocations: 1.306 MB / 1.074 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.324, allocations: 4.031 kB / 1.074 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/1.325, allocations: 385.6 kB / 1.074 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/1.325, allocations: 112.6 kB / 1.075 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/1.325, allocations: 7.188 kB / 1.075 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/1.326, allocations: 15.3 kB / 1.075 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/1.326, allocations: 11.95 kB / 1.075 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/1.326, allocations: 11.55 kB / 1.075 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002903/1.326, allocations: 189.4 kB / 1.075 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.3e-07/1.326, allocations: 0 / 1.075 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005722/1.327, allocations: 78.97 kB / 1.075 GB, free: 3.227 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.0001645/1.327, allocations: 102.5 kB / 1.075 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006974/1.327, allocations: 277.6 kB / 1.075 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.327, allocations: 0 / 1.075 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/1.328, allocations: 173.9 kB / 1.075 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009088/1.329, allocations: 52.64 kB / 1.075 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/1.33, allocations: 376.6 kB / 1.076 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008132/1.331, allocations: 0.7998 MB / 1.077 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000528/1.332, allocations: 42.05 kB / 1.077 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/1.332, allocations: 23.66 kB / 1.077 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of SimCode: time 2.375e-06/1.332, allocations: 0 / 1.077 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of Templates: time 0.01489/1.347, allocations: 2.501 MB / 1.079 GB, free: 14.95 MB / 0.698 GB