Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.438/2.438, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 175.2 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.452/2.452, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001653/0.001653, allocations: 88.3 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.00049, allocations: 13.53 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2109, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00405/0.215, allocations: 2.595 MB / 0.9014 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002452/0.2175, allocations: 1.237 MB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.2178, allocations: 7.938 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.218, allocations: 35.78 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.2184, allocations: 103.7 kB / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.2188, allocations: 95.73 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.2192, allocations: 175.5 kB / 0.903 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003227/0.2195, allocations: 208 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.2196, allocations: 91.69 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.2199, allocations: 87.67 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.22, allocations: 8 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.2202, allocations: 79.88 kB / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.227e-05/0.2203, allocations: 67.8 kB / 0.9035 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.2204, allocations: 61.64 kB / 0.9036 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003677/0.2208, allocations: 251.5 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2208, allocations: 0 / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2208, allocations: 0 / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2208, allocations: 4 kB / 0.9038 GB, free: 60.36 MB / 0.6042 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.0008302/0.2217, allocations: 479 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2217, allocations: 8.031 kB / 0.9043 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008379/0.2226, allocations: 91.58 kB / 0.9044 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.2229, allocations: 244.7 kB / 0.9046 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.223, allocations: 12.38 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.223, allocations: 20 kB / 0.9047 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.2236, allocations: 294.9 kB / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.2236, allocations: 0 / 0.9049 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.2237, allocations: 15.94 kB / 0.9049 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/0.2237, allocations: 24.36 kB / 0.905 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004468/0.2242, allocations: 192.9 kB / 0.9052 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.226, allocations: 1.456 MB / 0.9066 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.2263, allocations: 175.7 kB / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.2264, allocations: 4 kB / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.2264, allocations: 34.56 kB / 0.9068 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.2264, allocations: 3.938 kB / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006041/0.227, allocations: 235.3 kB / 0.907 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.2271, allocations: 51.41 kB / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.2273, allocations: 198.3 kB / 0.9072 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.2273, allocations: 25.7 kB / 0.9073 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.2274, allocations: 163.6 kB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.2275, allocations: 27.56 kB / 0.9075 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.2275, allocations: 4 kB / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.2276, allocations: 326.8 kB / 0.9078 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.219e-05/0.2277, allocations: 39.97 kB / 0.9078 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.2278, allocations: 98.86 kB / 0.9079 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.2279, allocations: 47.98 kB / 0.9079 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2279, allocations: 0 / 0.9079 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000416/0.2284, allocations: 194.3 kB / 0.9081 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.2284, allocations: 8 kB / 0.9081 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2285, allocations: 0 / 0.9081 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.2287, allocations: 32.83 kB / 0.9082 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.2289, allocations: 23.98 kB / 0.9082 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.2299, allocations: 1.328 MB / 0.9095 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.2301, allocations: 19.75 kB / 0.9095 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.2302, allocations: 8 kB / 0.9095 GB, free: 53.98 MB / 0.6042 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.0001617/0.2303, allocations: 153.9 kB / 0.9097 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.2304, allocations: 11.86 kB / 0.9097 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.2304, allocations: 17.41 kB / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2305, allocations: 4 kB / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2305, allocations: 0 / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.2305, allocations: 0 / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006201/0.2311, allocations: 451.1 kB / 0.9101 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2311, allocations: 4.094 kB / 0.9101 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.2312, allocations: 11.94 kB / 0.9101 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.2313, allocations: 28.83 kB / 0.9102 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2314, allocations: 0 / 0.9102 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009292/0.2323, allocations: 1.312 MB / 0.9115 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2323, allocations: 0 / 0.9115 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.2327, allocations: 220.1 kB / 0.9117 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/0.2328, allocations: 104.9 kB / 0.9118 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.2328, allocations: 8.125 kB / 0.9118 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.233, allocations: 4 kB / 0.9118 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.2331, allocations: 11.94 kB / 0.9118 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.2331, allocations: 0 / 0.9118 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001529/0.2333, allocations: 152.1 kB / 0.9119 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2333, allocations: 0 / 0.9119 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004494/0.2337, allocations: 51.84 kB / 0.912 GB, free: 51.21 MB / 0.6042 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.0001196/0.2339, allocations: 103.2 kB / 0.9121 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.2343, allocations: 206.5 kB / 0.9123 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2343, allocations: 0 / 0.9123 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.2345, allocations: 142.7 kB / 0.9124 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2349, allocations: 36.67 kB / 0.9124 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007398/0.2357, allocations: 417 kB / 0.9128 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.2359, allocations: 0.7556 MB / 0.9136 GB, free: 49.49 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.2361, allocations: 25.53 kB / 0.9136 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.2361, allocations: 15.44 kB / 0.9136 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of SimCode: time 6.82e-07/0.2362, allocations: 0 / 0.9136 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.006059/0.2422, allocations: 1.62 MB / 0.9152 GB, free: 47.86 MB / 0.6042 GB