Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2227/0.2246, allocations: 80.83 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.00647/0.2311, allocations: 4.346 MB / 0.5939 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.2349, allocations: 1.96 MB / 0.5958 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000402/0.2354, allocations: 8 kB / 0.5958 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.2371, allocations: 0.5607 MB / 0.5964 GB, free: 216 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008762/0.238, allocations: 258.8 kB / 0.5966 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007621/0.2388, allocations: 231 kB / 0.5969 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008645/0.2397, allocations: 0.8336 MB / 0.5977 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004864/0.2402, allocations: 307.2 kB / 0.598 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.2404, allocations: 215.2 kB / 0.5982 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000471/0.2409, allocations: 286.9 kB / 0.5984 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.241, allocations: 27.94 kB / 0.5985 GB, free: 14.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005761/0.2416, allocations: 315.3 kB / 0.5988 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.2417, allocations: 139.6 kB / 0.5989 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.2419, allocations: 207 kB / 0.5991 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006957/0.2426, allocations: 0.6035 MB / 0.5997 GB, free: 12.83 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2427, allocations: 0 / 0.5997 GB, free: 12.83 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2427, allocations: 0 / 0.5997 GB, free: 12.83 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.2427, allocations: 4 kB / 0.5997 GB, free: 12.82 MB / 462.1 MB 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.001667/0.2444, allocations: 0.7246 MB / 0.6004 GB, free: 12.05 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.2444, allocations: 8.031 kB / 0.6004 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.2455, allocations: 148.3 kB / 0.6006 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.246, allocations: 330.5 kB / 0.6009 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.2461, allocations: 29.38 kB / 0.6009 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-05/0.2462, allocations: 28.38 kB / 0.6009 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/0.247, allocations: 0.5318 MB / 0.6014 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.2471, allocations: 0 / 0.6014 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.2471, allocations: 12 kB / 0.6015 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.496e-05/0.2472, allocations: 36.62 kB / 0.6015 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.2478, allocations: 386.3 kB / 0.6019 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.2504, allocations: 1.955 MB / 0.6038 GB, free: 8.418 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.2511, allocations: 258.5 kB / 0.604 GB, free: 8.156 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.2512, allocations: 108.8 kB / 0.6041 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.2513, allocations: 4 kB / 0.6041 GB, free: 8.043 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.2513, allocations: 34.56 kB / 0.6042 GB, free: 8 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 3.236e-06/0.2513, allocations: 0 / 0.6042 GB, free: 8 MB / 462.1 MB Notification: Performance of matching and sorting (n=23): time 0.002417/0.2537, allocations: 1.138 MB / 0.6053 GB, free: 6.762 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.2538, allocations: 51.41 kB / 0.6053 GB, free: 6.699 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.2541, allocations: 300.5 kB / 0.6056 GB, free: 6.402 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.2542, allocations: 37.7 kB / 0.6056 GB, free: 6.359 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.2544, allocations: 227.5 kB / 0.6059 GB, free: 6.133 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.297e-05/0.2544, allocations: 82.84 kB / 0.6059 GB, free: 6.051 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.2546, allocations: 65.88 kB / 0.606 GB, free: 5.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2547, allocations: 338.8 kB / 0.6063 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.2549, allocations: 100.6 kB / 0.6064 GB, free: 5.543 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.2552, allocations: 192.8 kB / 0.6066 GB, free: 5.316 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004113/0.2556, allocations: 320.9 kB / 0.6069 GB, free: 4.969 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2556, allocations: 4 kB / 0.6069 GB, free: 4.965 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007633/0.2564, allocations: 437.8 kB / 0.6073 GB, free: 4.523 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.2564, allocations: 6.375 kB / 0.6073 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2564, allocations: 11.94 kB / 0.6073 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.2568, allocations: 90.5 kB / 0.6074 GB, free: 4.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.2572, allocations: 63.91 kB / 0.6075 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.2607, allocations: 4.076 MB / 0.6115 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.261, allocations: 15.98 kB / 0.6115 GB, free: 15.85 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.2611, allocations: 12 kB / 0.6115 GB, free: 15.84 MB / 478.1 MB 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.000307/0.2614, allocations: 182.4 kB / 0.6117 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.2614, allocations: 31.62 kB / 0.6117 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.777e-05/0.2615, allocations: 42.31 kB / 0.6117 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2615, allocations: 4 kB / 0.6117 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.2616, allocations: 0 / 0.6117 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2616, allocations: 0 / 0.6117 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/0.2621, allocations: 401.3 kB / 0.6121 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2621, allocations: 0 / 0.6121 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.2623, allocations: 35.97 kB / 0.6122 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.2626, allocations: 94.44 kB / 0.6123 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.2626, allocations: 8 kB / 0.6123 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00321/0.2659, allocations: 4.064 MB / 0.6162 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.2659, allocations: 7.969 kB / 0.6162 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.2669, allocations: 0.5483 MB / 0.6168 GB, free: 9.949 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.2671, allocations: 132.7 kB / 0.6169 GB, free: 9.801 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.2672, allocations: 8 kB / 0.6169 GB, free: 9.793 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.2674, allocations: 11.98 kB / 0.6169 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.2675, allocations: 15.92 kB / 0.6169 GB, free: 9.766 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.2675, allocations: 12 kB / 0.6169 GB, free: 9.754 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002622/0.2678, allocations: 207.1 kB / 0.6171 GB, free: 9.555 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2678, allocations: 0 / 0.6171 GB, free: 9.555 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005934/0.2684, allocations: 100 kB / 0.6172 GB, free: 9.457 MB / 478.1 MB 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.0001959/0.2686, allocations: 107.2 kB / 0.6173 GB, free: 9.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.2697, allocations: 0.6054 MB / 0.6179 GB, free: 8.695 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2697, allocations: 0 / 0.6179 GB, free: 8.695 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.2702, allocations: 468 kB / 0.6184 GB, free: 8.199 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.2708, allocations: 84.78 kB / 0.6185 GB, free: 8.113 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.2723, allocations: 0.8826 MB / 0.6193 GB, free: 7.211 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.2728, allocations: 0.8309 MB / 0.6201 GB, free: 6.352 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002427/0.2731, allocations: 58.94 kB / 0.6202 GB, free: 6.289 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.898e-05/0.2732, allocations: 27.42 kB / 0.6202 GB, free: 6.262 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.2732, allocations: 0 / 0.6202 GB, free: 6.262 MB / 478.1 MB Notification: Performance of Templates: time 0.009768/0.2829, allocations: 4.251 MB / 0.6244 GB, free: 2.062 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)