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.0008818/0.0008817, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001076/0.001076, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.676/1.676, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005336/0.0005336, allocations: 15.12 kB / 0.6735 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2812, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004782/0.2861, allocations: 3.678 MB / 0.7907 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.2887, allocations: 1.724 MB / 0.7924 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.2889, allocations: 15.94 kB / 0.7924 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.2891, allocations: 67.53 kB / 0.7925 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004637/0.2896, allocations: 187.4 kB / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.2901, allocations: 191.2 kB / 0.7928 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.2905, allocations: 359.2 kB / 0.7932 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00046/0.291, allocations: 384.9 kB / 0.7935 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.2912, allocations: 175.4 kB / 0.7937 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.2915, allocations: 179.3 kB / 0.7939 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.2915, allocations: 20 kB / 0.7939 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.2918, allocations: 119.7 kB / 0.794 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2919, allocations: 127.6 kB / 0.7941 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.862e-05/0.292, allocations: 97.52 kB / 0.7942 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004369/0.2925, allocations: 455.1 kB / 0.7947 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2925, allocations: 0 / 0.7947 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2925, allocations: 0 / 0.7947 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.2925, allocations: 0 / 0.7947 GB, free: 4.176 MB / 0.6075 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.001063/0.2936, allocations: 0.655 MB / 0.7953 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2936, allocations: 15.97 kB / 0.7953 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009652/0.2946, allocations: 171.2 kB / 0.7955 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.295, allocations: 317.4 kB / 0.7958 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.2951, allocations: 28.98 kB / 0.7958 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.2951, allocations: 28 kB / 0.7958 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007121/0.2959, allocations: 0.5314 MB / 0.7964 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.2959, allocations: 0 / 0.7964 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.2959, allocations: 12 kB / 0.7964 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.313e-05/0.296, allocations: 40.58 kB / 0.7964 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005398/0.2965, allocations: 382.3 kB / 0.7968 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.299, allocations: 2.415 MB / 0.7991 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.2995, allocations: 258.5 kB / 0.7994 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.2995, allocations: 8.344 kB / 0.7994 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2995, allocations: 38.52 kB / 0.7994 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=20): time 1.532e-06/0.2995, allocations: 0 / 0.7994 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.00204/0.3016, allocations: 1.125 MB / 0.8005 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.3016, allocations: 51.41 kB / 0.8006 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.3019, allocations: 308.4 kB / 0.8009 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.302, allocations: 25.7 kB / 0.8009 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.3021, allocations: 231.5 kB / 0.8011 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.3022, allocations: 82.83 kB / 0.8012 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/0.3022, allocations: 8 kB / 0.8012 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3023, allocations: 342.8 kB / 0.8015 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.3025, allocations: 100.6 kB / 0.8016 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.3027, allocations: 179.8 kB / 0.8018 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.3029, allocations: 141.1 kB / 0.8019 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3029, allocations: 0 / 0.8019 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006615/0.3035, allocations: 441.9 kB / 0.8023 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3036, allocations: 6.812 kB / 0.8024 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3036, allocations: 4 kB / 0.8024 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003394/0.3039, allocations: 94.84 kB / 0.8024 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.3042, allocations: 67.84 kB / 0.8025 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.3071, allocations: 4.115 MB / 0.8065 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.3073, allocations: 8 kB / 0.8065 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.3073, allocations: 16 kB / 0.8066 GB, free: 7.023 MB / 0.6231 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.0002063/0.3076, allocations: 173.9 kB / 0.8067 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.3076, allocations: 31.72 kB / 0.8068 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.399e-05/0.3077, allocations: 42.27 kB / 0.8068 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3077, allocations: 4 kB / 0.8068 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3077, allocations: 0 / 0.8068 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3077, allocations: 7.922 kB / 0.8068 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.3082, allocations: 397.4 kB / 0.8072 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3082, allocations: 0 / 0.8072 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.3083, allocations: 35.92 kB / 0.8072 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/0.3086, allocations: 94.5 kB / 0.8073 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3087, allocations: 0 / 0.8073 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002723/0.3114, allocations: 4.119 MB / 0.8113 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3114, allocations: 0 / 0.8113 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007358/0.3121, allocations: 0.5469 MB / 0.8119 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.3123, allocations: 120.8 kB / 0.812 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.3123, allocations: 7.984 kB / 0.812 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.3125, allocations: 15.95 kB / 0.812 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.3126, allocations: 19.97 kB / 0.812 GB, free: 0.9141 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3126, allocations: 4 kB / 0.812 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001926/0.3128, allocations: 211.1 kB / 0.8122 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3128, allocations: 0 / 0.8122 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004448/0.3133, allocations: 96.06 kB / 0.8123 GB, free: 0.6133 MB / 0.6231 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.0001362/0.3134, allocations: 111.4 kB / 0.8124 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008043/0.3142, allocations: 0.6094 MB / 0.813 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3142, allocations: 0 / 0.813 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004531/0.3147, allocations: 464 kB / 0.8135 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.3151, allocations: 76.84 kB / 0.8135 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.3162, allocations: 0.8637 MB / 0.8144 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.3166, allocations: 0.8425 MB / 0.8152 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.3168, allocations: 54.94 kB / 0.8153 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.3169, allocations: 23.44 kB / 0.8153 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.3169, allocations: 4 kB / 0.8153 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of Templates: time 0.007517/0.3244, allocations: 4.082 MB / 0.8193 GB, free: 9.406 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: