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.1647/0.1669, allocations: 80.83 MB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.005938/0.1729, allocations: 4.308 MB / 0.6748 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002927/0.1759, allocations: 1.956 MB / 0.6767 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.1761, allocations: 11.94 kB / 0.6767 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.1777, allocations: 0.5953 MB / 0.6773 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006413/0.1784, allocations: 282.5 kB / 0.6776 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.1791, allocations: 247 kB / 0.6778 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007499/0.1799, allocations: 0.6112 MB / 0.6784 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007706/0.1806, allocations: 462.8 kB / 0.6789 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.1809, allocations: 247.1 kB / 0.6791 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004989/0.1814, allocations: 275 kB / 0.6794 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.1815, allocations: 40 kB / 0.6794 GB, free: 9 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.182, allocations: 259.4 kB / 0.6796 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.1822, allocations: 147.6 kB / 0.6798 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.1824, allocations: 215 kB / 0.68 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007213/0.1831, allocations: 0.6035 MB / 0.6806 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.1832, allocations: 0 / 0.6806 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1832, allocations: 4 kB / 0.6806 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.1832, allocations: 0 / 0.6806 GB, free: 7.781 MB / 0.5137 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.001354/0.1846, allocations: 0.7174 MB / 0.6813 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1846, allocations: 8.031 kB / 0.6813 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009584/0.1856, allocations: 152.2 kB / 0.6814 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.1861, allocations: 342.4 kB / 0.6818 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.1861, allocations: 29.38 kB / 0.6818 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/0.1862, allocations: 32.31 kB / 0.6818 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.187, allocations: 0.5356 MB / 0.6823 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.187, allocations: 0 / 0.6823 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.187, allocations: 20 kB / 0.6824 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/0.1871, allocations: 28.64 kB / 0.6824 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005891/0.1877, allocations: 394.2 kB / 0.6828 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.1901, allocations: 1.944 MB / 0.6847 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.1906, allocations: 258.5 kB / 0.6849 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.1908, allocations: 112.8 kB / 0.685 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.623e-05/0.1909, allocations: 3.984 kB / 0.685 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1909, allocations: 38.56 kB / 0.6851 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.1909, allocations: 0 / 0.6851 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.002114/0.193, allocations: 1.118 MB / 0.6862 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1931, allocations: 51.41 kB / 0.6862 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.1934, allocations: 312.3 kB / 0.6865 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.1935, allocations: 33.7 kB / 0.6865 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.1936, allocations: 231.6 kB / 0.6868 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.1937, allocations: 78.86 kB / 0.6868 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.1938, allocations: 61.94 kB / 0.6869 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.194, allocations: 342.8 kB / 0.6872 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.1941, allocations: 96.61 kB / 0.6873 GB, free: 500 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.1944, allocations: 191.8 kB / 0.6875 GB, free: 268 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.1948, allocations: 315.5 kB / 0.6878 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.1948, allocations: 4 kB / 0.6878 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007181/0.1955, allocations: 445.9 kB / 0.6882 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.1956, allocations: 10.19 kB / 0.6882 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.1956, allocations: 0 / 0.6882 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/0.1959, allocations: 94.48 kB / 0.6883 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.1962, allocations: 71.97 kB / 0.6884 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003441/0.1997, allocations: 4.395 MB / 0.6927 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.1999, allocations: 8 kB / 0.6927 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.1999, allocations: 16 kB / 0.6927 GB, free: 10.45 MB / 0.5294 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.0001843/0.2001, allocations: 174.4 kB / 0.6929 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.74e-05/0.2002, allocations: 35.56 kB / 0.6929 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.814e-05/0.2002, allocations: 42.38 kB / 0.6929 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2002, allocations: 4 kB / 0.693 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.2003, allocations: 0 / 0.693 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.2003, allocations: 7.922 kB / 0.693 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.2007, allocations: 401.3 kB / 0.6933 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2007, allocations: 3.938 kB / 0.6933 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.2009, allocations: 35.92 kB / 0.6934 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002873/0.2012, allocations: 98.44 kB / 0.6935 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.2012, allocations: 0 / 0.6935 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/0.2043, allocations: 4.383 MB / 0.6978 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2043, allocations: 3.984 kB / 0.6978 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.2051, allocations: 0.5688 MB / 0.6983 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.2053, allocations: 120.8 kB / 0.6984 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.2053, allocations: 7.984 kB / 0.6984 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.2055, allocations: 8 kB / 0.6984 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.2055, allocations: 19.97 kB / 0.6985 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.2056, allocations: 12.06 kB / 0.6985 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002012/0.2058, allocations: 207.1 kB / 0.6987 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2058, allocations: 0 / 0.6987 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004332/0.2062, allocations: 99.94 kB / 0.6988 GB, free: 3.707 MB / 0.5294 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.000135/0.2064, allocations: 107.2 kB / 0.6989 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008347/0.2072, allocations: 0.6128 MB / 0.6995 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2072, allocations: 0 / 0.6995 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.2077, allocations: 468.6 kB / 0.6999 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.2081, allocations: 72.39 kB / 0.7 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.2093, allocations: 0.7322 MB / 0.7007 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.2097, allocations: 0.835 MB / 0.7015 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001706/0.2099, allocations: 58.92 kB / 0.7016 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.589e-05/0.21, allocations: 27.44 kB / 0.7016 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.21, allocations: 0 / 0.7016 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of Templates: time 0.008334/0.2183, allocations: 4.55 MB / 0.706 GB, free: 12.16 MB / 0.545 GB 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)