Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009151/0.009151, allocations: 110.6 kB / 15.06 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001101/0.001101, allocations: 183.3 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.901/1.901, allocations: 194.6 MB / 211.3 MB, free: 11.27 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.217/2.217, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004844, allocations: 16 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5352/0.5357, allocations: 98.7 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2148/0.7506, allocations: 150.8 MB / 0.8306 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.7509, allocations: 87.95 kB / 0.8307 GB, free: 7.406 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.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.05867/0.8096, allocations: 16.18 MB / 0.8465 GB, free: 7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.443e-06/0.8096, allocations: 0 / 0.8465 GB, free: 7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.712e-05/0.8097, allocations: 11.94 kB / 0.8465 GB, free: 6.988 MB / 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.0011/0.8108, allocations: 0.5729 MB / 0.847 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.8108, allocations: 16.02 kB / 0.847 GB, free: 6.352 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.8122, allocations: 135.5 kB / 0.8472 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.8129, allocations: 290.4 kB / 0.8475 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.8129, allocations: 20.66 kB / 0.8475 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/0.813, allocations: 31.98 kB / 0.8475 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009478/0.814, allocations: 447.6 kB / 0.8479 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.814, allocations: 0 / 0.8479 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.8141, allocations: 15.98 kB / 0.8479 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.099e-05/0.8141, allocations: 32.48 kB / 0.848 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007193/0.8149, allocations: 317.9 kB / 0.8483 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003072/0.8179, allocations: 2.185 MB / 0.8504 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.8185, allocations: 251.8 kB / 0.8507 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.8186, allocations: 0 / 0.8507 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.8186, allocations: 42.5 kB / 0.8507 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=14): time 2.726e-06/0.8186, allocations: 0 / 0.8507 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.0007911/0.8194, allocations: 311.5 kB / 0.851 GB, free: 1.957 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.8195, allocations: 55.41 kB / 0.851 GB, free: 1.891 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.8199, allocations: 233.8 kB / 0.8513 GB, free: 1.66 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.8199, allocations: 33.7 kB / 0.8513 GB, free: 1.621 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.8201, allocations: 203.8 kB / 0.8515 GB, free: 1.414 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.8202, allocations: 55.28 kB / 0.8515 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.8202, allocations: 4 kB / 0.8516 GB, free: 1.355 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.8204, allocations: 334.9 kB / 0.8519 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.8206, allocations: 60.38 kB / 0.8519 GB, free: 0.9609 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.8208, allocations: 139.2 kB / 0.8521 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.821, allocations: 90.25 kB / 0.8521 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.51e-06/0.821, allocations: 0 / 0.8521 GB, free: 0.7031 MB / 0.6667 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006535/0.8217, allocations: 270 kB / 0.8524 GB, free: 440 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.8217, allocations: 8 kB / 0.8524 GB, free: 432 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.8217, allocations: 0 / 0.8524 GB, free: 432 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/0.8219, allocations: 28.84 kB / 0.8524 GB, free: 400 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.8222, allocations: 43.92 kB / 0.8525 GB, free: 356 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00151/0.8237, allocations: 1.327 MB / 0.8538 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.824, allocations: 35.64 kB / 0.8538 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.8241, allocations: 12 kB / 0.8538 GB, free: 14.84 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0002708/0.8244, allocations: 170 kB / 0.854 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-05/0.8245, allocations: 23.8 kB / 0.854 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.86e-05/0.8246, allocations: 25.84 kB / 0.854 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.986e-06/0.8246, allocations: 3.938 kB / 0.854 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.418e-06/0.8246, allocations: 0 / 0.854 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.8246, allocations: 11.94 kB / 0.854 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.8259, allocations: 0.6311 MB / 0.8547 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.205e-06/0.8259, allocations: 4 kB / 0.8547 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.8261, allocations: 23.92 kB / 0.8547 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.8263, allocations: 24.84 kB / 0.8547 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.8263, allocations: 0 / 0.8547 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.8277, allocations: 1.335 MB / 0.856 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.8277, allocations: 4.281 kB / 0.856 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.8283, allocations: 354.3 kB / 0.8564 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.8285, allocations: 120.7 kB / 0.8565 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.8286, allocations: 4 kB / 0.8565 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.8288, allocations: 8 kB / 0.8565 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.8289, allocations: 15.98 kB / 0.8565 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.8289, allocations: 4 kB / 0.8565 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002808/0.8292, allocations: 194 kB / 0.8567 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.15e-07/0.8292, allocations: 0 / 0.8567 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005583/0.8298, allocations: 75.75 kB / 0.8568 GB, free: 11.54 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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.0001511/0.8299, allocations: 107.3 kB / 0.8569 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006326/0.8306, allocations: 280.7 kB / 0.8571 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.402e-06/0.8306, allocations: 4 kB / 0.8571 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.8309, allocations: 178.6 kB / 0.8573 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.8314, allocations: 52.97 kB / 0.8574 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.8326, allocations: 0.625 MB / 0.858 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.8332, allocations: 0.8028 MB / 0.8588 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002429/0.8335, allocations: 42.27 kB / 0.8588 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.8336, allocations: 19.44 kB / 0.8588 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of SimCode: time 1.77e-06/0.8336, allocations: 0 / 0.8588 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.008411/0.842, allocations: 2.44 MB / 0.8612 GB, free: 6.918 MB / 0.6823 GB