Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 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.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.41/2.41, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001586/0.001586, allocations: 182.4 kB / 325.6 MB, free: 2.816 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.619/2.619, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001179/0.001178, allocations: 92.03 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005186/0.0005187, allocations: 16.56 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2178, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005535/0.2234, allocations: 3.69 MB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003468/0.2269, allocations: 1.728 MB / 0.9042 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002985/0.2273, allocations: 11.94 kB / 0.9042 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.2276, allocations: 71.52 kB / 0.9042 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006743/0.2283, allocations: 191.4 kB / 0.9044 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008184/0.2291, allocations: 185.1 kB / 0.9046 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006457/0.2297, allocations: 367.1 kB / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005149/0.2303, allocations: 388.9 kB / 0.9053 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.2306, allocations: 171.4 kB / 0.9055 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004185/0.231, allocations: 183.3 kB / 0.9057 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.264e-05/0.2311, allocations: 20 kB / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004244/0.2315, allocations: 119.9 kB / 0.9058 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.2317, allocations: 123.6 kB / 0.9059 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.828e-05/0.2318, allocations: 101.5 kB / 0.906 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006423/0.2324, allocations: 443.1 kB / 0.9064 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2324, allocations: 0 / 0.9064 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2325, allocations: 0 / 0.9064 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.2325, allocations: 0 / 0.9064 GB, free: 57.67 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001387/0.2339, allocations: 0.6666 MB / 0.9071 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2339, allocations: 8.031 kB / 0.9071 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.2354, allocations: 163.3 kB / 0.9073 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.236, allocations: 321.2 kB / 0.9076 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.236, allocations: 32.98 kB / 0.9076 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/0.2361, allocations: 39.91 kB / 0.9076 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.2372, allocations: 0.5236 MB / 0.9081 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.2373, allocations: 4 kB / 0.9081 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/0.2373, allocations: 16 kB / 0.9082 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.297e-05/0.2374, allocations: 36.58 kB / 0.9082 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008643/0.2383, allocations: 382.3 kB / 0.9086 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003241/0.2415, allocations: 2.407 MB / 0.9109 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/0.2423, allocations: 266.4 kB / 0.9112 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.2424, allocations: 4 kB / 0.9112 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.2424, allocations: 34.56 kB / 0.9112 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 2.985e-06/0.2424, allocations: 4 kB / 0.9112 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.00309/0.2455, allocations: 1.12 MB / 0.9123 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.2456, allocations: 55.41 kB / 0.9124 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003793/0.246, allocations: 300.5 kB / 0.9126 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.246, allocations: 33.7 kB / 0.9127 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.2462, allocations: 227.6 kB / 0.9129 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.2462, allocations: 78.84 kB / 0.913 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.2463, allocations: 8 kB / 0.913 GB, free: 50.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.218e-05/0.2464, allocations: 346.8 kB / 0.9133 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.2466, allocations: 100.5 kB / 0.9134 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.2469, allocations: 192.4 kB / 0.9136 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.2472, allocations: 129.1 kB / 0.9137 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2473, allocations: 4 kB / 0.9137 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001142/0.2484, allocations: 435.7 kB / 0.9141 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.2485, allocations: 8 kB / 0.9141 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2485, allocations: 7.953 kB / 0.9141 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.249, allocations: 106.6 kB / 0.9142 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/0.2496, allocations: 59.91 kB / 0.9143 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.253, allocations: 4.103 MB / 0.9183 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.2534, allocations: 8 kB / 0.9183 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.2535, allocations: 16 kB / 0.9183 GB, free: 44.52 MB / 0.6042 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.0002598/0.2538, allocations: 183 kB / 0.9185 GB, free: 44.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-05/0.2538, allocations: 35.58 kB / 0.9185 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.021e-05/0.2539, allocations: 38.31 kB / 0.9186 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2539, allocations: 0 / 0.9186 GB, free: 44.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.254, allocations: 8.062 kB / 0.9186 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.254, allocations: 0 / 0.9186 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005626/0.2545, allocations: 397.4 kB / 0.919 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2546, allocations: 0 / 0.919 GB, free: 43.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.2549, allocations: 39.91 kB / 0.919 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004951/0.2554, allocations: 102.4 kB / 0.9191 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.2555, allocations: 0 / 0.9191 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.2588, allocations: 4.091 MB / 0.9231 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2589, allocations: 256 / 0.9231 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.2602, allocations: 0.5598 MB / 0.9236 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.2605, allocations: 128.7 kB / 0.9238 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.744e-05/0.2606, allocations: 3.953 kB / 0.9238 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.2609, allocations: 16.06 kB / 0.9238 GB, free: 38.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.261, allocations: 19.97 kB / 0.9238 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.2611, allocations: 4.234 kB / 0.9238 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002649/0.2613, allocations: 211.1 kB / 0.924 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.473e-06/0.2613, allocations: 0 / 0.924 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000647/0.262, allocations: 99.94 kB / 0.9241 GB, free: 38.1 MB / 0.6042 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.0001504/0.2622, allocations: 107.2 kB / 0.9242 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.2633, allocations: 0.6002 MB / 0.9248 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2633, allocations: 4.062 kB / 0.9248 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006448/0.264, allocations: 479.7 kB / 0.9252 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/0.2647, allocations: 70.42 kB / 0.9253 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.2663, allocations: 0.8481 MB / 0.9261 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.2667, allocations: 0.8464 MB / 0.927 GB, free: 35.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003809/0.267, allocations: 58.94 kB / 0.927 GB, free: 34.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.416e-05/0.2671, allocations: 23.44 kB / 0.927 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/0.2672, allocations: 0 / 0.927 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.01231/0.2795, allocations: 4.091 MB / 0.931 GB, free: 30.89 MB / 0.6042 GB