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.1504/0.1511, allocations: 82.22 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004162/0.1553, allocations: 3.67 MB / 0.5969 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.1579, allocations: 1.798 MB / 0.5987 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.1581, allocations: 7.938 kB / 0.5987 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.1583, allocations: 71.53 kB / 0.5988 GB, free: 452 kB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:29:54-29:70:writable] Warning: 'each' used when modifying non-array element P. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:30:13-30:21:writable] Warning: 'each' used when modifying non-array element P. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:29:54-29:70:writable] Warning: 'each' used when modifying non-array element P. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:30:13-30:21:writable] Warning: 'each' used when modifying non-array element P. Notification: Performance of NFTyping.typeBindings: time 0.0005372/0.1589, allocations: 199.4 kB / 0.599 GB, free: 252 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.1594, allocations: 183.5 kB / 0.5991 GB, free: 68 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.1599, allocations: 355.3 kB / 0.5995 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004357/0.1603, allocations: 380.9 kB / 0.5998 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.1605, allocations: 175.4 kB / 0.6 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.1608, allocations: 187.3 kB / 0.6002 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.1609, allocations: 20 kB / 0.6002 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.1611, allocations: 119.8 kB / 0.6003 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1612, allocations: 123.6 kB / 0.6004 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.854e-05/0.1613, allocations: 97.52 kB / 0.6005 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.1618, allocations: 451.1 kB / 0.601 GB, free: 14.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1618, allocations: 0 / 0.601 GB, free: 14.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1618, allocations: 0 / 0.601 GB, free: 14.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1618, allocations: 0 / 0.601 GB, free: 14.16 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.000949/0.1627, allocations: 0.6696 MB / 0.6016 GB, free: 13.44 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.1628, allocations: 8.031 kB / 0.6016 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009529/0.1637, allocations: 159.4 kB / 0.6018 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.1642, allocations: 329.2 kB / 0.6021 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.1643, allocations: 32.98 kB / 0.6021 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.1643, allocations: 32 kB / 0.6022 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007022/0.1651, allocations: 0.5236 MB / 0.6027 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.1651, allocations: 4 kB / 0.6027 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.1651, allocations: 12 kB / 0.6027 GB, free: 12.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.1652, allocations: 28.64 kB / 0.6027 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005328/0.1657, allocations: 390.2 kB / 0.6031 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.1679, allocations: 1.959 MB / 0.605 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.1684, allocations: 262.2 kB / 0.6052 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1684, allocations: 4 kB / 0.6052 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.1685, allocations: 34.56 kB / 0.6053 GB, free: 9.488 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.1685, allocations: 4 kB / 0.6053 GB, free: 9.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=23): time 0.001988/0.1705, allocations: 1.116 MB / 0.6064 GB, free: 8.273 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.1705, allocations: 59.36 kB / 0.6064 GB, free: 8.203 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.1708, allocations: 308.3 kB / 0.6067 GB, free: 7.898 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1709, allocations: 33.7 kB / 0.6068 GB, free: 7.859 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.171, allocations: 223.6 kB / 0.607 GB, free: 7.637 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.1711, allocations: 86.83 kB / 0.6071 GB, free: 7.551 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.1711, allocations: 4 kB / 0.6071 GB, free: 7.547 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1712, allocations: 342.8 kB / 0.6074 GB, free: 7.203 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.1714, allocations: 104.6 kB / 0.6075 GB, free: 7.098 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.1716, allocations: 188.8 kB / 0.6077 GB, free: 6.875 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.1718, allocations: 134.7 kB / 0.6078 GB, free: 6.746 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1718, allocations: 4 kB / 0.6078 GB, free: 6.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006752/0.1725, allocations: 442.1 kB / 0.6082 GB, free: 6.297 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1725, allocations: 8 kB / 0.6082 GB, free: 6.289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1725, allocations: 4 kB / 0.6082 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003297/0.1729, allocations: 94.69 kB / 0.6083 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.1732, allocations: 63.91 kB / 0.6084 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003002/0.1762, allocations: 4.111 MB / 0.6124 GB, free: 1.602 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.1764, allocations: 12 kB / 0.6124 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.1764, allocations: 12 kB / 0.6124 GB, free: 1.578 MB / 462.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 (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.0001976/0.1766, allocations: 173.8 kB / 0.6126 GB, free: 1.398 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.1767, allocations: 31.62 kB / 0.6126 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.915e-05/0.1768, allocations: 42.31 kB / 0.6127 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1768, allocations: 96 / 0.6127 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.1768, allocations: 8 kB / 0.6127 GB, free: 1.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1768, allocations: 7.938 kB / 0.6127 GB, free: 1.312 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.1772, allocations: 401.3 kB / 0.6131 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1772, allocations: 0 / 0.6131 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.1774, allocations: 31.92 kB / 0.6131 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002708/0.1777, allocations: 94.5 kB / 0.6132 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.1777, allocations: 4 kB / 0.6132 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/0.1805, allocations: 4.103 MB / 0.6172 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1805, allocations: 320 / 0.6172 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007364/0.1813, allocations: 0.5558 MB / 0.6177 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.1814, allocations: 117.1 kB / 0.6178 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.1815, allocations: 7.984 kB / 0.6178 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.1816, allocations: 16.06 kB / 0.6179 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.1817, allocations: 15.97 kB / 0.6179 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.1817, allocations: 11.98 kB / 0.6179 GB, free: 11.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.1819, allocations: 203.1 kB / 0.6181 GB, free: 11.27 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1819, allocations: 0 / 0.6181 GB, free: 11.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004308/0.1824, allocations: 100 kB / 0.6182 GB, free: 11.17 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 (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.000116/0.1825, allocations: 115.1 kB / 0.6183 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007489/0.1832, allocations: 0.5916 MB / 0.6189 GB, free: 10.42 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1833, allocations: 8 kB / 0.6189 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.1837, allocations: 479.8 kB / 0.6193 GB, free: 9.906 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1841, allocations: 72.59 kB / 0.6194 GB, free: 9.832 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1852, allocations: 0.8648 MB / 0.6202 GB, free: 8.945 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.1857, allocations: 0.8386 MB / 0.6211 GB, free: 8.078 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.1859, allocations: 58.94 kB / 0.6211 GB, free: 8.016 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.1859, allocations: 23.44 kB / 0.6211 GB, free: 7.992 MB / 478.1 MB Notification: Performance of SimCode: time 2.11e-07/0.186, allocations: 0 / 0.6211 GB, free: 7.992 MB / 478.1 MB Notification: Performance of Templates: time 0.007217/0.1932, allocations: 4.067 MB / 0.6251 GB, free: 3.977 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: