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.01033/0.01033, allocations: 223 kB / 15.17 MB, free: 5.926 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.001078/0.001078, allocations: 181.1 kB / 16.06 MB, free: 5.828 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 3.387/3.387, allocations: 389.1 MB / 405.9 MB, free: 67.64 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.926/3.926, allocations: 472.3 MB / 0.9018 GB, free: 87.64 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000515/0.0005152, allocations: 14.47 kB / 1.008 GB, free: 37.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1531, allocations: 98.71 MB / 1.104 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.004156/0.1573, allocations: 2.657 MB / 1.107 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002256/0.1596, allocations: 1.226 MB / 1.108 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1597, allocations: 7.938 kB / 1.108 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.1599, allocations: 27.78 kB / 1.108 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.1603, allocations: 129.7 kB / 1.108 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.1606, allocations: 95.7 kB / 1.108 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000456/0.1611, allocations: 346.9 kB / 1.108 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.1615, allocations: 212.8 kB / 1.109 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1616, allocations: 96.59 kB / 1.109 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.162, allocations: 123.6 kB / 1.109 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.162, allocations: 13.41 kB / 1.109 GB, free: 6.859 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.1622, allocations: 87.81 kB / 1.109 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.982e-05/0.1624, allocations: 67.84 kB / 1.109 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.218e-05/0.1624, allocations: 62.27 kB / 1.109 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003648/0.1628, allocations: 251.6 kB / 1.109 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.156e-06/0.1628, allocations: 1.406 kB / 1.109 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.728e-06/0.1628, allocations: 0 / 1.109 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.273e-06/0.1629, allocations: 0 / 1.109 GB, free: 6.395 MB / 0.5261 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.0008165/0.1637, allocations: 489.1 kB / 1.11 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1637, allocations: 11.97 kB / 1.11 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007655/0.1645, allocations: 89.03 kB / 1.11 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.1649, allocations: 246.3 kB / 1.11 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.1649, allocations: 16.38 kB / 1.11 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.165, allocations: 16 kB / 1.11 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.1656, allocations: 299.2 kB / 1.11 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1656, allocations: 0 / 1.11 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.1656, allocations: 7.953 kB / 1.11 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/0.1657, allocations: 24.36 kB / 1.11 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.1661, allocations: 193 kB / 1.111 GB, free: 4.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.1681, allocations: 1.468 MB / 1.112 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.1684, allocations: 171.7 kB / 1.112 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/0.1685, allocations: 36.78 kB / 1.112 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.478e-06/0.1686, allocations: 0 / 1.112 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.1686, allocations: 38.72 kB / 1.112 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.919e-06/0.1686, allocations: 0 / 1.112 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0005715/0.1692, allocations: 227.4 kB / 1.112 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.1693, allocations: 59.34 kB / 1.113 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.1695, allocations: 200.1 kB / 1.113 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1696, allocations: 25.7 kB / 1.113 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1697, allocations: 159.6 kB / 1.113 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.1698, allocations: 27.64 kB / 1.113 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.1698, allocations: 8 kB / 1.113 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.17, allocations: 322.8 kB / 1.113 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.1701, allocations: 31.98 kB / 1.113 GB, free: 1.914 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1702, allocations: 104.3 kB / 1.113 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1704, allocations: 51.92 kB / 1.113 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.73e-06/0.1704, allocations: 0 / 1.113 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004434/0.1708, allocations: 194.1 kB / 1.114 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1709, allocations: 8.094 kB / 1.114 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.651e-06/0.1709, allocations: 3.938 kB / 1.114 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.1711, allocations: 28.84 kB / 1.114 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.1712, allocations: 27.92 kB / 1.114 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.1726, allocations: 1.316 MB / 1.115 GB, free: 16 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.1728, allocations: 27.72 kB / 1.115 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1728, allocations: 4 kB / 1.115 GB, free: 15.98 MB / 0.5417 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.0001762/0.173, allocations: 149.9 kB / 1.115 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.1731, allocations: 11.91 kB / 1.115 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.1731, allocations: 21.39 kB / 1.115 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-06/0.1731, allocations: 0 / 1.115 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.38e-06/0.1732, allocations: 4 kB / 1.115 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.878e-06/0.1732, allocations: 0 / 1.115 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.1739, allocations: 451.4 kB / 1.116 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.336e-06/0.1739, allocations: 8.062 kB / 1.116 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.378e-05/0.174, allocations: 8 kB / 1.116 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.1741, allocations: 20.78 kB / 1.116 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1741, allocations: 11.94 kB / 1.116 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.1754, allocations: 1.308 MB / 1.117 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.166e-06/0.1755, allocations: 0 / 1.117 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.1758, allocations: 212.2 kB / 1.117 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1759, allocations: 105 kB / 1.117 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.1759, allocations: 0 / 1.117 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1761, allocations: 8 kB / 1.117 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.1761, allocations: 11.94 kB / 1.117 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-06/0.1762, allocations: 0 / 1.117 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001833/0.1764, allocations: 144.9 kB / 1.117 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.02e-07/0.1764, allocations: 0 / 1.117 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004416/0.1768, allocations: 55.84 kB / 1.117 GB, free: 13.24 MB / 0.5417 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.0001311/0.177, allocations: 103.2 kB / 1.118 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004316/0.1774, allocations: 202.6 kB / 1.118 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1774, allocations: 0 / 1.118 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.1777, allocations: 151.2 kB / 1.118 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.1781, allocations: 40.09 kB / 1.118 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.1789, allocations: 423.3 kB / 1.118 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.1794, allocations: 0.7517 MB / 1.119 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.1796, allocations: 29.53 kB / 1.119 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.1796, allocations: 23.31 kB / 1.119 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of SimCode: time 1.408e-06/0.1796, allocations: 0 / 1.119 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of Templates: time 0.005998/0.1856, allocations: 1.625 MB / 1.121 GB, free: 9.848 MB / 0.5417 GB