Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.115/4.115, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.339e-05, allocations: 8 kB / 0.5325 GB, free: 1.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.4985, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2223/0.7208, allocations: 149.8 MB / 0.7752 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.7211, allocations: 87.89 kB / 0.7753 GB, free: 9.574 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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.03941/0.7605, allocations: 11.23 MB / 0.7863 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.16e-06/0.7606, allocations: 0 / 0.7863 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.219e-05/0.7606, allocations: 8 kB / 0.7863 GB, free: 14.18 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.0007464/0.7614, allocations: 470.3 kB / 0.7867 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.7614, allocations: 19.95 kB / 0.7868 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008208/0.7623, allocations: 79.64 kB / 0.7868 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.7627, allocations: 238.6 kB / 0.7871 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.7628, allocations: 12 kB / 0.7871 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.7628, allocations: 12 kB / 0.7871 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004252/0.7632, allocations: 164.8 kB / 0.7873 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.7638, allocations: 258.8 kB / 0.7875 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.7638, allocations: 0 / 0.7875 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.7639, allocations: 0 / 0.7875 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.082e-05/0.7639, allocations: 20.33 kB / 0.7875 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.7658, allocations: 1.415 MB / 0.7889 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.7662, allocations: 171.7 kB / 0.7891 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.389e-05/0.7663, allocations: 24.86 kB / 0.7891 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.7663, allocations: 4 kB / 0.7891 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.7664, allocations: 30.56 kB / 0.7891 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 5.149e-06/0.7664, allocations: 3.938 kB / 0.7891 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0003477/0.7667, allocations: 110.3 kB / 0.7892 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.7668, allocations: 55.36 kB / 0.7893 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.767, allocations: 154 kB / 0.7894 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.767, allocations: 25.7 kB / 0.7895 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.7672, allocations: 171.6 kB / 0.7896 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.7672, allocations: 27.64 kB / 0.7896 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.762e-06/0.7672, allocations: 0 / 0.7896 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.7674, allocations: 326.8 kB / 0.79 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.7675, allocations: 28 kB / 0.79 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.7677, allocations: 98.7 kB / 0.7901 GB, free: 9.934 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.7678, allocations: 47.97 kB / 0.7901 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.318e-06/0.7678, allocations: 0 / 0.7901 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004175/0.7682, allocations: 178.3 kB / 0.7903 GB, free: 9.703 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.7683, allocations: 4.094 kB / 0.7903 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.939e-06/0.7683, allocations: 8 kB / 0.7903 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/0.7685, allocations: 24.84 kB / 0.7903 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.7686, allocations: 31.94 kB / 0.7904 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.77, allocations: 1.262 MB / 0.7916 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.7702, allocations: 11.84 kB / 0.7916 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.7702, allocations: 8 kB / 0.7916 GB, free: 8.234 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 () * 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.0001109/0.7704, allocations: 109 kB / 0.7917 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.7704, allocations: 11.91 kB / 0.7917 GB, free: 8.109 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.257e-05/0.7705, allocations: 25.86 kB / 0.7917 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-06/0.7705, allocations: 0 / 0.7917 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.138e-06/0.7705, allocations: 3.953 kB / 0.7918 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.603e-06/0.7705, allocations: 4 kB / 0.7918 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006655/0.7712, allocations: 391.9 kB / 0.7921 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.7712, allocations: 0 / 0.7921 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.7713, allocations: 11.98 kB / 0.7921 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.7714, allocations: 28.8 kB / 0.7922 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.373e-06/0.7715, allocations: 0 / 0.7922 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.7727, allocations: 1.252 MB / 0.7934 GB, free: 6.238 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.474e-06/0.7728, allocations: 4.031 kB / 0.7934 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.7731, allocations: 196.2 kB / 0.7936 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.7732, allocations: 100.9 kB / 0.7937 GB, free: 5.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.7733, allocations: 7.938 kB / 0.7937 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.7734, allocations: 4.094 kB / 0.7937 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.7735, allocations: 11.97 kB / 0.7937 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.7735, allocations: 4 kB / 0.7937 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001483/0.7737, allocations: 124.3 kB / 0.7938 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.04e-07/0.7737, allocations: 0 / 0.7938 GB, free: 5.758 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005488/0.7742, allocations: 51.75 kB / 0.7939 GB, free: 5.707 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 () * 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.000139/0.7744, allocations: 106.5 kB / 0.794 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004179/0.7748, allocations: 189.7 kB / 0.7942 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7748, allocations: 4 kB / 0.7942 GB, free: 5.398 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.7751, allocations: 137.7 kB / 0.7943 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.7754, allocations: 24.55 kB / 0.7943 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.776, allocations: 205.6 kB / 0.7945 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.7764, allocations: 0.7516 MB / 0.7952 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.7766, allocations: 25.58 kB / 0.7953 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.7766, allocations: 15.38 kB / 0.7953 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of SimCode: time 1.46e-06/0.7766, allocations: 0 / 0.7953 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of Templates: time 0.00563/0.7823, allocations: 1.43 MB / 0.7967 GB, free: 2.773 MB / 0.6667 GB