Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 187.8 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007193/0.0007193, allocations: 98.22 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 8.219 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2274, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004006/0.2314, allocations: 3.814 MB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.2337, allocations: 1.758 MB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.2339, allocations: 8 kB / 0.9063 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.2341, allocations: 67.42 kB / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.2346, allocations: 210.9 kB / 0.9065 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.2351, allocations: 179.6 kB / 0.9067 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000448/0.2355, allocations: 0.6891 MB / 0.9074 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.2359, allocations: 376.9 kB / 0.9077 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.2361, allocations: 199.2 kB / 0.9079 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003791/0.2365, allocations: 255.1 kB / 0.9082 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.2366, allocations: 24 kB / 0.9082 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.2368, allocations: 123.8 kB / 0.9083 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.208e-05/0.2369, allocations: 127.7 kB / 0.9084 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.237, allocations: 101.5 kB / 0.9085 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.2374, allocations: 463 kB / 0.909 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2374, allocations: 0 / 0.909 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2374, allocations: 0 / 0.909 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.2374, allocations: 0 / 0.909 GB, free: 55.45 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.0009993/0.2384, allocations: 0.655 MB / 0.9096 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2384, allocations: 8.031 kB / 0.9096 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009101/0.2394, allocations: 159.3 kB / 0.9098 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.2398, allocations: 325.3 kB / 0.9101 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.2399, allocations: 28.94 kB / 0.9101 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.2399, allocations: 32 kB / 0.9102 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007613/0.2407, allocations: 0.5275 MB / 0.9107 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.2407, allocations: 0 / 0.9107 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.2408, allocations: 12 kB / 0.9107 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/0.2408, allocations: 36.62 kB / 0.9107 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.2414, allocations: 390.2 kB / 0.9111 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.2437, allocations: 2.415 MB / 0.9134 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.2441, allocations: 254.8 kB / 0.9137 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.2443, allocations: 117.3 kB / 0.9138 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.2443, allocations: 0 / 0.9138 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.2443, allocations: 38.56 kB / 0.9138 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.2443, allocations: 0 / 0.9138 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.001948/0.2463, allocations: 1.128 MB / 0.9149 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.2464, allocations: 55.41 kB / 0.915 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.2466, allocations: 292.5 kB / 0.9153 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.2467, allocations: 33.69 kB / 0.9153 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/0.2468, allocations: 227.6 kB / 0.9155 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.2468, allocations: 78.84 kB / 0.9156 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.2468, allocations: 8 kB / 0.9156 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.2469, allocations: 338.8 kB / 0.9159 GB, free: 47.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.2471, allocations: 104.6 kB / 0.916 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.2472, allocations: 188.4 kB / 0.9162 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.2474, allocations: 125.8 kB / 0.9163 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2474, allocations: 4 kB / 0.9163 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006062/0.248, allocations: 444.1 kB / 0.9168 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.2481, allocations: 14.61 kB / 0.9168 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.2481, allocations: 4 kB / 0.9168 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003238/0.2484, allocations: 102.7 kB / 0.9169 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.2487, allocations: 63.91 kB / 0.9169 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/0.2509, allocations: 4.072 MB / 0.9209 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.2511, allocations: 8 kB / 0.9209 GB, free: 42.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.2512, allocations: 16 kB / 0.9209 GB, free: 42.25 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.0002101/0.2514, allocations: 184.4 kB / 0.9211 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.2514, allocations: 39.67 kB / 0.9211 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.771e-05/0.2515, allocations: 42.31 kB / 0.9212 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2515, allocations: 0 / 0.9212 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.2515, allocations: 4 kB / 0.9212 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2515, allocations: 3.984 kB / 0.9212 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.252, allocations: 389.4 kB / 0.9216 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.252, allocations: 0 / 0.9216 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.2523, allocations: 47.86 kB / 0.9216 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000332/0.2526, allocations: 90.5 kB / 0.9217 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.2526, allocations: 8 kB / 0.9217 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/0.2551, allocations: 4.056 MB / 0.9257 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2551, allocations: 0 / 0.9257 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.2558, allocations: 0.5585 MB / 0.9262 GB, free: 36.35 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.256, allocations: 132.8 kB / 0.9263 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.256, allocations: 4 kB / 0.9263 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.2562, allocations: 11.98 kB / 0.9263 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.2563, allocations: 19.92 kB / 0.9264 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.2563, allocations: 8 kB / 0.9264 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000169/0.2565, allocations: 207.1 kB / 0.9266 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2565, allocations: 0 / 0.9266 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004615/0.2569, allocations: 96 kB / 0.9267 GB, free: 35.86 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.0001456/0.2571, allocations: 107.2 kB / 0.9268 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007413/0.2578, allocations: 0.6055 MB / 0.9274 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2579, allocations: 3.938 kB / 0.9274 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.2582, allocations: 474.5 kB / 0.9278 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.2588, allocations: 76.75 kB / 0.9279 GB, free: 34.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.2599, allocations: 0.8911 MB / 0.9288 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.2601, allocations: 0.8385 MB / 0.9296 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.2602, allocations: 27.44 kB / 0.9296 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.2602, allocations: 0 / 0.9296 GB, free: 32.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.008586/0.2688, allocations: 8.63 MB / 0.938 GB, free: 24.09 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)