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.001057/0.001057, allocations: 104 kB / 16.36 MB, free: 6.301 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.001073/0.001073, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.785/1.785, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001447/0.001447, allocations: 63.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2357, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.4065/0.6422, allocations: 4.326 MB / 0.789 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.6446, allocations: 1.858 MB / 0.7908 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.6448, allocations: 12.88 kB / 0.7908 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.6462, allocations: 0.5906 MB / 0.7914 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004646/0.6467, allocations: 270.6 kB / 0.7917 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.6472, allocations: 250.4 kB / 0.7919 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.6477, allocations: 0.6109 MB / 0.7925 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005647/0.6482, allocations: 461.1 kB / 0.7929 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.6485, allocations: 245.7 kB / 0.7932 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/0.6488, allocations: 276.4 kB / 0.7934 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.748e-05/0.6489, allocations: 41.38 kB / 0.7935 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003306/0.6492, allocations: 258.3 kB / 0.7937 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.6493, allocations: 145.1 kB / 0.7939 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.6495, allocations: 224.2 kB / 0.7941 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.65, allocations: 0.6051 MB / 0.7947 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.65, allocations: 3.531 kB / 0.7947 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.65, allocations: 2.062 kB / 0.7947 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.65, allocations: 0 / 0.7947 GB, free: 46.14 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.001029/0.6511, allocations: 0.7217 MB / 0.7954 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.6511, allocations: 14.53 kB / 0.7954 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009405/0.6521, allocations: 151.5 kB / 0.7955 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.6524, allocations: 338.5 kB / 0.7959 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.6525, allocations: 24.62 kB / 0.7959 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.514e-05/0.6525, allocations: 34.02 kB / 0.7959 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.6532, allocations: 0.5351 MB / 0.7964 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.6532, allocations: 2.531 kB / 0.7964 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/0.6532, allocations: 14.97 kB / 0.7964 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/0.6533, allocations: 33.62 kB / 0.7965 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000501/0.6538, allocations: 387.6 kB / 0.7969 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.6557, allocations: 2.396 MB / 0.7992 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.6562, allocations: 270.6 kB / 0.7994 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.6564, allocations: 114 kB / 0.7996 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.6564, allocations: 4.125 kB / 0.7996 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.6564, allocations: 34.03 kB / 0.7996 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.6564, allocations: 0 / 0.7996 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.001852/0.6583, allocations: 1.121 MB / 0.8007 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.6583, allocations: 54.91 kB / 0.8007 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.6586, allocations: 305.9 kB / 0.801 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.6586, allocations: 31.95 kB / 0.8011 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.6587, allocations: 228.4 kB / 0.8013 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.6588, allocations: 82.89 kB / 0.8014 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.6589, allocations: 65.75 kB / 0.8014 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.272e-05/0.6589, allocations: 342.2 kB / 0.8018 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.6591, allocations: 104.8 kB / 0.8019 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.6593, allocations: 189.9 kB / 0.802 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.6596, allocations: 320.5 kB / 0.8023 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6597, allocations: 1.031 kB / 0.8023 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006905/0.6604, allocations: 441.4 kB / 0.8028 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.6604, allocations: 6.125 kB / 0.8028 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.6604, allocations: 4.984 kB / 0.8028 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.6608, allocations: 97.88 kB / 0.8029 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.6611, allocations: 65.64 kB / 0.8029 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.6635, allocations: 4.386 MB / 0.8072 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.6637, allocations: 8.266 kB / 0.8072 GB, free: 36.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.6638, allocations: 18.03 kB / 0.8072 GB, free: 36.45 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.0002006/0.664, allocations: 181.7 kB / 0.8074 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.6641, allocations: 35.34 kB / 0.8074 GB, free: 36.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.283e-05/0.6641, allocations: 38.09 kB / 0.8075 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.6641, allocations: 2.094 kB / 0.8075 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.6642, allocations: 4.938 kB / 0.8075 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6642, allocations: 2.359 kB / 0.8075 GB, free: 36.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.6646, allocations: 400 kB / 0.8079 GB, free: 35.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6647, allocations: 2.75 kB / 0.8079 GB, free: 35.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.6649, allocations: 36.48 kB / 0.8079 GB, free: 35.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003094/0.6652, allocations: 95.88 kB / 0.808 GB, free: 35.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.6652, allocations: 1.156 kB / 0.808 GB, free: 35.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002371/0.6676, allocations: 4.393 MB / 0.8123 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6676, allocations: 0.6562 kB / 0.8123 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009109/0.6685, allocations: 0.5639 MB / 0.8128 GB, free: 31.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.6687, allocations: 124 kB / 0.813 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.6687, allocations: 6.531 kB / 0.813 GB, free: 31.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.6689, allocations: 15.39 kB / 0.813 GB, free: 31.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.669, allocations: 14.41 kB / 0.813 GB, free: 31.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.669, allocations: 9 kB / 0.813 GB, free: 31.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002334/0.6692, allocations: 213.6 kB / 0.8132 GB, free: 31.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6693, allocations: 0 / 0.8132 GB, free: 31.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005281/0.6698, allocations: 102.4 kB / 0.8133 GB, free: 31.03 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.0001129/0.6699, allocations: 109.7 kB / 0.8134 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008266/0.6707, allocations: 0.6015 MB / 0.814 GB, free: 30.51 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6708, allocations: 0.75 kB / 0.814 GB, free: 30.51 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004655/0.6712, allocations: 471.7 kB / 0.8144 GB, free: 30.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.6718, allocations: 80.05 kB / 0.8145 GB, free: 30.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.6731, allocations: 0.7531 MB / 0.8153 GB, free: 29.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.6734, allocations: 0.8315 MB / 0.8161 GB, free: 28.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.6735, allocations: 27.33 kB / 0.8161 GB, free: 28.94 MB / 0.6544 GB Notification: Performance of SimCode: time 7.02e-07/0.6735, allocations: 0 / 0.8161 GB, free: 28.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.01452/0.6881, allocations: 8.672 MB / 0.8246 GB, free: 28.4 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)