Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009053/0.009053, allocations: 110.5 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.001137/0.001137, allocations: 185.3 kB / 15.95 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.938/1.938, allocations: 194.6 MB / 211.3 MB, free: 11.29 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.225/2.225, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004691, allocations: 16 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.552/0.5525, allocations: 98.71 MB / 0.6833 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/0.7866, allocations: 150.6 MB / 0.8304 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.787, allocations: 99.94 kB / 0.8305 GB, free: 7.418 MB / 0.6511 GB [/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/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/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.03962/0.8266, allocations: 11.37 MB / 0.8416 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.312e-06/0.8267, allocations: 0 / 0.8416 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2e-05/0.8267, allocations: 4 kB / 0.8416 GB, free: 11.88 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008132/0.8275, allocations: 486.9 kB / 0.8421 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.8276, allocations: 8.031 kB / 0.8421 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/0.8285, allocations: 91.58 kB / 0.8422 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.8289, allocations: 243.3 kB / 0.8424 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.829, allocations: 12.38 kB / 0.8424 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.829, allocations: 23.98 kB / 0.8424 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.8296, allocations: 287.2 kB / 0.8427 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.8296, allocations: 0 / 0.8427 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.8297, allocations: 8 kB / 0.8427 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/0.8297, allocations: 16.38 kB / 0.8427 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.8302, allocations: 196.9 kB / 0.8429 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.8322, allocations: 1.468 MB / 0.8443 GB, free: 8.793 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.8326, allocations: 175.7 kB / 0.8445 GB, free: 8.594 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.8326, allocations: 0 / 0.8445 GB, free: 8.594 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.8327, allocations: 38.56 kB / 0.8446 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 2.284e-06/0.8327, allocations: 0 / 0.8446 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0005816/0.8333, allocations: 227.5 kB / 0.8448 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.8333, allocations: 55.36 kB / 0.8448 GB, free: 8.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.8336, allocations: 174.2 kB / 0.845 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.8336, allocations: 29.7 kB / 0.845 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.8338, allocations: 167.5 kB / 0.8452 GB, free: 7.848 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.8338, allocations: 31.56 kB / 0.8452 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.8338, allocations: 4 kB / 0.8452 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.834, allocations: 322.8 kB / 0.8455 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.31e-05/0.8341, allocations: 39.97 kB / 0.8456 GB, free: 7.449 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.8343, allocations: 104.6 kB / 0.8457 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.8344, allocations: 43.94 kB / 0.8457 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.134e-06/0.8344, allocations: 0 / 0.8457 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004526/0.8349, allocations: 186.2 kB / 0.8459 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.8349, allocations: 11.98 kB / 0.8459 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.606e-06/0.8349, allocations: 0 / 0.8459 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/0.8351, allocations: 32.8 kB / 0.8459 GB, free: 7.039 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.8353, allocations: 23.94 kB / 0.8459 GB, free: 7.016 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.8367, allocations: 1.339 MB / 0.8472 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.837, allocations: 16.09 kB / 0.8473 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.837, allocations: 15.94 kB / 0.8473 GB, free: 5.516 MB / 0.6667 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.000217/0.8372, allocations: 149.7 kB / 0.8474 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.8373, allocations: 15.81 kB / 0.8474 GB, free: 5.344 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.8373, allocations: 17.39 kB / 0.8475 GB, free: 5.324 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.8374, allocations: 3.953 kB / 0.8475 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.094e-06/0.8374, allocations: 0 / 0.8475 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.285e-06/0.8374, allocations: 48 / 0.8475 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007462/0.8381, allocations: 455.5 kB / 0.8479 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.8382, allocations: 3.938 kB / 0.8479 GB, free: 4.812 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.8382, allocations: 8 kB / 0.8479 GB, free: 4.805 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.8384, allocations: 20.84 kB / 0.8479 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.8384, allocations: 4 kB / 0.8479 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.8398, allocations: 1.315 MB / 0.8492 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8398, allocations: 80 / 0.8492 GB, free: 3.328 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.8402, allocations: 216.5 kB / 0.8494 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.8403, allocations: 96.86 kB / 0.8495 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.8403, allocations: 3.984 kB / 0.8495 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.8405, allocations: 4 kB / 0.8495 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.8405, allocations: 11.94 kB / 0.8495 GB, free: 2.965 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.8406, allocations: 4 kB / 0.8495 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000188/0.8408, allocations: 144.3 kB / 0.8497 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.18e-07/0.8408, allocations: 0 / 0.8497 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004712/0.8413, allocations: 55.84 kB / 0.8497 GB, free: 2.766 MB / 0.6667 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.0001383/0.8414, allocations: 103.2 kB / 0.8498 GB, free: 2.656 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.8419, allocations: 206.5 kB / 0.85 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.498e-06/0.8419, allocations: 0.5625 kB / 0.85 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.8421, allocations: 146.7 kB / 0.8502 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.8425, allocations: 37.83 kB / 0.8502 GB, free: 2.246 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008298/0.8434, allocations: 431.5 kB / 0.8506 GB, free: 1.793 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.8438, allocations: 0.7556 MB / 0.8513 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.844, allocations: 25.53 kB / 0.8514 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.8441, allocations: 11.44 kB / 0.8514 GB, free: 0.9727 MB / 0.6667 GB Notification: Performance of SimCode: time 1.823e-06/0.8441, allocations: 0 / 0.8514 GB, free: 0.9727 MB / 0.6667 GB Notification: Performance of Templates: time 0.006443/0.8505, allocations: 1.626 MB / 0.853 GB, free: 15.36 MB / 0.6823 GB