Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 107.2 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 187.9 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.909/1.909, allocations: 292.3 MB / 0.5495 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001429, allocations: 70.88 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2393, allocations: 114.6 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.4058/0.6452, allocations: 4.302 MB / 0.7883 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002565/0.6478, allocations: 1.865 MB / 0.7901 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.648, allocations: 9.125 kB / 0.7901 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.6493, allocations: 0.6046 MB / 0.7907 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004922/0.6499, allocations: 267.5 kB / 0.791 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.6504, allocations: 247.9 kB / 0.7912 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004757/0.6509, allocations: 0.607 MB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005695/0.6515, allocations: 464.2 kB / 0.7922 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.6517, allocations: 248.4 kB / 0.7925 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.6521, allocations: 267 kB / 0.7927 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.6521, allocations: 38.19 kB / 0.7928 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.6525, allocations: 260.7 kB / 0.793 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.6526, allocations: 149.3 kB / 0.7931 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.6528, allocations: 215.7 kB / 0.7933 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.6533, allocations: 0.6109 MB / 0.7939 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6533, allocations: 0 / 0.7939 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6533, allocations: 0 / 0.7939 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.6534, allocations: 3.281 kB / 0.7939 GB, free: 45.7 MB / 0.6544 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.001031/0.6544, allocations: 0.7256 MB / 0.7947 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.6544, allocations: 12.88 kB / 0.7947 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009062/0.6553, allocations: 147.3 kB / 0.7948 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.6557, allocations: 329.9 kB / 0.7951 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.6557, allocations: 27.38 kB / 0.7951 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/0.6558, allocations: 31.41 kB / 0.7952 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.6564, allocations: 0.533 MB / 0.7957 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.6564, allocations: 4.234 kB / 0.7957 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.6565, allocations: 17.56 kB / 0.7957 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/0.6565, allocations: 32.84 kB / 0.7958 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005182/0.6571, allocations: 387.8 kB / 0.7961 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.6591, allocations: 2.404 MB / 0.7985 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004653/0.6595, allocations: 259.4 kB / 0.7987 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.6597, allocations: 112.5 kB / 0.7988 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.6597, allocations: 6.219 kB / 0.7988 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.6597, allocations: 38.56 kB / 0.7989 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.6598, allocations: 0 / 0.7989 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.001902/0.6617, allocations: 1.124 MB / 0.8 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.6617, allocations: 57.45 kB / 0.8 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.662, allocations: 301.1 kB / 0.8003 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.662, allocations: 33.08 kB / 0.8003 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.6622, allocations: 226.8 kB / 0.8006 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.6622, allocations: 82.34 kB / 0.8006 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.6623, allocations: 60.38 kB / 0.8007 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.091e-05/0.6624, allocations: 340.4 kB / 0.801 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.6625, allocations: 106.8 kB / 0.8011 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.6627, allocations: 188.2 kB / 0.8013 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.6631, allocations: 315.8 kB / 0.8016 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6631, allocations: 3.156 kB / 0.8016 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006967/0.6638, allocations: 443.1 kB / 0.802 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.6638, allocations: 10.12 kB / 0.802 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.6638, allocations: 2.719 kB / 0.802 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.6642, allocations: 103.4 kB / 0.8021 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.6644, allocations: 62.8 kB / 0.8022 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/0.6668, allocations: 4.393 MB / 0.8065 GB, free: 36.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.667, allocations: 12.72 kB / 0.8065 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.6671, allocations: 9.844 kB / 0.8065 GB, free: 36.54 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001929/0.6673, allocations: 182.7 kB / 0.8067 GB, free: 36.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.6673, allocations: 36.75 kB / 0.8067 GB, free: 36.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.59e-05/0.6674, allocations: 40.39 kB / 0.8068 GB, free: 36.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.6674, allocations: 2.719 kB / 0.8068 GB, free: 36.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.6674, allocations: 2.266 kB / 0.8068 GB, free: 36.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.6675, allocations: 2.984 kB / 0.8068 GB, free: 36.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.6679, allocations: 397 kB / 0.8071 GB, free: 36.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6679, allocations: 0.7031 kB / 0.8071 GB, free: 36.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.6681, allocations: 39.83 kB / 0.8072 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003109/0.6685, allocations: 91.12 kB / 0.8073 GB, free: 36.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.6685, allocations: 10.62 kB / 0.8073 GB, free: 36.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002463/0.671, allocations: 4.388 MB / 0.8116 GB, free: 31.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.671, allocations: 0.5938 kB / 0.8116 GB, free: 31.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008841/0.6719, allocations: 0.5603 MB / 0.8121 GB, free: 31.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.672, allocations: 124 kB / 0.8122 GB, free: 31.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.6721, allocations: 8.391 kB / 0.8122 GB, free: 31.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.6723, allocations: 12 kB / 0.8122 GB, free: 31.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.6723, allocations: 22.28 kB / 0.8123 GB, free: 31.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.6724, allocations: 4.625 kB / 0.8123 GB, free: 31.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002476/0.6726, allocations: 213.9 kB / 0.8125 GB, free: 31.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.142e-06/0.6726, allocations: 0 / 0.8125 GB, free: 31.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005168/0.6731, allocations: 103.2 kB / 0.8126 GB, free: 31.14 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.6733, allocations: 109.8 kB / 0.8127 GB, free: 31.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008794/0.6742, allocations: 0.6015 MB / 0.8133 GB, free: 30.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6742, allocations: 0.6875 kB / 0.8133 GB, free: 30.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.6746, allocations: 476.4 kB / 0.8137 GB, free: 30.24 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004947/0.6751, allocations: 78.5 kB / 0.8138 GB, free: 30.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.6763, allocations: 0.7124 MB / 0.8145 GB, free: 29.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.6767, allocations: 0.8355 MB / 0.8153 GB, free: 29.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000211/0.677, allocations: 62.41 kB / 0.8154 GB, free: 29.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.677, allocations: 23.72 kB / 0.8154 GB, free: 29.07 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.677, allocations: 0 / 0.8154 GB, free: 29.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.00967/0.6867, allocations: 4.43 MB / 0.8197 GB, free: 28.87 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)