Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Lines.Examples.Resistance.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.682/2.682, allocations: 287.9 MB / 302.9 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 185.5 kB / 371.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.4 MB / 0.6301 GB, free: 10.43 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 96.73 kB / 0.7434 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004487, allocations: 15.3 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.157, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003271/0.1603, allocations: 2.591 MB / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00196/0.1623, allocations: 1.217 MB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1624, allocations: 4 kB / 0.9825 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.1626, allocations: 35.77 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1629, allocations: 103.6 kB / 0.9826 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.1633, allocations: 99.75 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002336/0.1635, allocations: 171.6 kB / 0.9829 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.1638, allocations: 211.9 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1639, allocations: 87.67 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1642, allocations: 87.67 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.1642, allocations: 8 kB / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.1644, allocations: 87.81 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.1645, allocations: 59.89 kB / 0.9834 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.1646, allocations: 65.58 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.1649, allocations: 243.6 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.928e-06/0.1649, allocations: 3.938 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.022e-06/0.1649, allocations: 0 / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.738e-06/0.1649, allocations: 0 / 0.9837 GB, free: 23.11 MB / 0.6198 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.0006627/0.1656, allocations: 491.9 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1656, allocations: 20.02 kB / 0.9842 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007345/0.1664, allocations: 83.69 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1666, allocations: 234.7 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1667, allocations: 20.36 kB / 0.9845 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.1667, allocations: 19.94 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.1672, allocations: 291.2 kB / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1672, allocations: 0 / 0.9848 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.1673, allocations: 12 kB / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.1673, allocations: 20.31 kB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.1677, allocations: 193 kB / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.1692, allocations: 1.472 MB / 0.9864 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.1695, allocations: 179.7 kB / 0.9866 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.121e-06/0.1695, allocations: 4 kB / 0.9866 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.1695, allocations: 30.56 kB / 0.9867 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.512e-06/0.1696, allocations: 0 / 0.9867 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000522/0.1701, allocations: 223.5 kB / 0.9869 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.1701, allocations: 55.34 kB / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1703, allocations: 198.3 kB / 0.9871 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1704, allocations: 29.7 kB / 0.9871 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.735e-05/0.1704, allocations: 167.5 kB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1705, allocations: 23.7 kB / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.1705, allocations: 8 kB / 0.9873 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.1706, allocations: 318.8 kB / 0.9876 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.248e-05/0.1707, allocations: 35.98 kB / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1708, allocations: 101.8 kB / 0.9878 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.1709, allocations: 47.92 kB / 0.9878 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1709, allocations: 8 kB / 0.9878 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003806/0.1713, allocations: 194 kB / 0.988 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1713, allocations: 4 kB / 0.988 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.337e-06/0.1714, allocations: 4 kB / 0.988 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.1715, allocations: 29.12 kB / 0.988 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.1717, allocations: 27.92 kB / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009464/0.1726, allocations: 1.327 MB / 0.9894 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.1728, allocations: 15.84 kB / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.1729, allocations: 8 kB / 0.9894 GB, free: 16.73 MB / 0.6198 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.0001488/0.173, allocations: 141.8 kB / 0.9895 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.1731, allocations: 27.69 kB / 0.9895 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.1731, allocations: 21.34 kB / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.49e-06/0.1731, allocations: 4.031 kB / 0.9896 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.573e-06/0.1732, allocations: 192 / 0.9896 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.664e-06/0.1732, allocations: 4 kB / 0.9896 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006079/0.1738, allocations: 447.2 kB / 0.99 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-06/0.1738, allocations: 0 / 0.99 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.1739, allocations: 7.938 kB / 0.99 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.174, allocations: 24.84 kB / 0.99 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.491e-06/0.174, allocations: 0 / 0.99 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008684/0.1749, allocations: 1.323 MB / 0.9913 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.07e-06/0.1749, allocations: 0 / 0.9913 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1752, allocations: 212.4 kB / 0.9915 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.1753, allocations: 93 kB / 0.9916 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1753, allocations: 4 kB / 0.9916 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1755, allocations: 0 / 0.9916 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.1755, allocations: 15.92 kB / 0.9916 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1755, allocations: 4 kB / 0.9916 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001384/0.1757, allocations: 156.1 kB / 0.9918 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.32e-07/0.1757, allocations: 0 / 0.9918 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004502/0.1761, allocations: 55.75 kB / 0.9918 GB, free: 13.97 MB / 0.6198 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 9.812e-05/0.1762, allocations: 95.25 kB / 0.9919 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.1766, allocations: 206.9 kB / 0.9921 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.461e-06/0.1767, allocations: 4.188 kB / 0.9921 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.1768, allocations: 151.1 kB / 0.9923 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1772, allocations: 29.94 kB / 0.9923 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.1778, allocations: 439.4 kB / 0.9927 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.1781, allocations: 0.7517 MB / 0.9935 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.1782, allocations: 21.55 kB / 0.9935 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.1783, allocations: 15.44 kB / 0.9935 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of SimCode: time 1.398e-06/0.1783, allocations: 0 / 0.9935 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of Templates: time 0.005192/0.1835, allocations: 1.616 MB / 0.9951 GB, free: 10.6 MB / 0.6198 GB