Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Lines.Examples.RCModel.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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.645/2.645, allocations: 287.9 MB / 302.9 MB, free: 8.336 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.001414/0.001414, allocations: 183.1 kB / 371.4 MB, free: 10.69 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.047/2.047, allocations: 205.4 MB / 0.6301 GB, free: 10.44 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.001019/0.001018, allocations: 96.16 kB / 0.7434 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004671/0.0004674, allocations: 14.91 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1589, allocations: 115.2 MB / 0.9787 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004436/0.1634, allocations: 3.694 MB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.1662, allocations: 1.724 MB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.1665, allocations: 8 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.1667, allocations: 75.52 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005721/0.1673, allocations: 187.4 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006227/0.168, allocations: 189.4 kB / 0.9845 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004539/0.1684, allocations: 359.2 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.1689, allocations: 384.9 kB / 0.9852 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.1691, allocations: 171.4 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.1694, allocations: 191.3 kB / 0.9855 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.324e-05/0.1695, allocations: 20 kB / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.1698, allocations: 115.8 kB / 0.9857 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.17, allocations: 115.7 kB / 0.9858 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.838e-05/0.1701, allocations: 97.52 kB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.1706, allocations: 455.1 kB / 0.9863 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.129e-06/0.1706, allocations: 0 / 0.9863 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.994e-06/0.1706, allocations: 0 / 0.9863 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.902e-06/0.1706, allocations: 7.875 kB / 0.9863 GB, free: 20.44 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.00105/0.1717, allocations: 0.6589 MB / 0.9869 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1717, allocations: 12.02 kB / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.173, allocations: 171.2 kB / 0.9871 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.1735, allocations: 321.4 kB / 0.9874 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.1735, allocations: 25 kB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.1736, allocations: 32 kB / 0.9875 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008912/0.1745, allocations: 0.5353 MB / 0.988 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1745, allocations: 0 / 0.988 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/0.1746, allocations: 12 kB / 0.988 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-05/0.1747, allocations: 32.64 kB / 0.988 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007543/0.1754, allocations: 390.2 kB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.1781, allocations: 2.411 MB / 0.9908 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006139/0.1787, allocations: 257.1 kB / 0.991 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1787, allocations: 11.89 kB / 0.991 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.4e-05/0.1788, allocations: 46.48 kB / 0.9911 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 3.635e-06/0.1788, allocations: 0 / 0.9911 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002452/0.1813, allocations: 1.125 MB / 0.9922 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.1813, allocations: 51.41 kB / 0.9922 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.1817, allocations: 300.5 kB / 0.9925 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1817, allocations: 29.7 kB / 0.9925 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1818, allocations: 227.5 kB / 0.9927 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/0.1819, allocations: 82.84 kB / 0.9928 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/0.1819, allocations: 4 kB / 0.9928 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/0.182, allocations: 338.8 kB / 0.9932 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.1822, allocations: 108.6 kB / 0.9933 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.1825, allocations: 179.8 kB / 0.9934 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.1828, allocations: 141.1 kB / 0.9936 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1828, allocations: 0 / 0.9936 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009654/0.1838, allocations: 442 kB / 0.994 GB, free: 12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1838, allocations: 4 kB / 0.994 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.431e-06/0.1838, allocations: 7.984 kB / 0.994 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004406/0.1843, allocations: 102.7 kB / 0.9941 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.1846, allocations: 63.91 kB / 0.9942 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.1877, allocations: 4.107 MB / 0.9982 GB, free: 7.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.1881, allocations: 8 kB / 0.9982 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.1882, allocations: 12 kB / 0.9982 GB, free: 7.281 MB / 0.6198 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 (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.1884, allocations: 173.8 kB / 0.9984 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.1885, allocations: 39.78 kB / 0.9984 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.943e-05/0.1886, allocations: 50.25 kB / 0.9984 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.461e-06/0.1886, allocations: 4 kB / 0.9984 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.29e-06/0.1886, allocations: 0 / 0.9984 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.805e-06/0.1886, allocations: 0 / 0.9984 GB, free: 7.012 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.1891, allocations: 397.4 kB / 0.9988 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.158e-06/0.1891, allocations: 0 / 0.9988 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.1894, allocations: 31.98 kB / 0.9988 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004019/0.1898, allocations: 98.42 kB / 0.9989 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.1898, allocations: 7.953 kB / 0.999 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.1928, allocations: 4.103 MB / 1.003 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1928, allocations: 4 kB / 1.003 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.1938, allocations: 0.5446 MB / 1.003 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.194, allocations: 125 kB / 1.004 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.1941, allocations: 11.95 kB / 1.004 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.1944, allocations: 15.94 kB / 1.004 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.1944, allocations: 19.97 kB / 1.004 GB, free: 1.168 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.1945, allocations: 4 kB / 1.004 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002355/0.1947, allocations: 211.1 kB / 1.004 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.82e-07/0.1947, allocations: 0 / 1.004 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006203/0.1953, allocations: 96 kB / 1.004 GB, free: 0.8672 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/0.1955, allocations: 107.2 kB / 1.004 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000952/0.1964, allocations: 0.6054 MB / 1.005 GB, free: 112 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.902e-06/0.1965, allocations: 4 kB / 1.005 GB, free: 108 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006891/0.1972, allocations: 464 kB / 1.005 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.1977, allocations: 70.61 kB / 1.005 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.1994, allocations: 0.8608 MB / 1.006 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.2, allocations: 0.8465 MB / 1.007 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003263/0.2004, allocations: 58.92 kB / 1.007 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.2005, allocations: 23.44 kB / 1.007 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.874e-06/0.2005, allocations: 0 / 1.007 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.01204/0.2125, allocations: 4.095 MB / 1.011 GB, free: 9.664 MB / 0.6355 GB