Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") [/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.163/0.1637, allocations: 82.22 MB / 0.5934 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003867/0.1676, allocations: 3.226 MB / 0.5965 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.1701, allocations: 1.677 MB / 0.5982 GB, free: 1.082 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.1703, allocations: 4 kB / 0.5982 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.1705, allocations: 59.62 kB / 0.5982 GB, free: 1.02 MB / 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.0004211/0.1709, allocations: 159.5 kB / 0.5984 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.1713, allocations: 170.7 kB / 0.5985 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.1716, allocations: 259.5 kB / 0.5988 GB, free: 460 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003682/0.172, allocations: 288.2 kB / 0.5991 GB, free: 152 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.1722, allocations: 135.5 kB / 0.5992 GB, free: 16 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.1724, allocations: 143.6 kB / 0.5993 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.1725, allocations: 16 kB / 0.5993 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.1727, allocations: 115.7 kB / 0.5994 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.1728, allocations: 95.73 kB / 0.5995 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.1729, allocations: 81.52 kB / 0.5996 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.1733, allocations: 371.3 kB / 0.6 GB, free: 15.2 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1733, allocations: 0 / 0.6 GB, free: 15.2 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1733, allocations: 3.938 kB / 0.6 GB, free: 15.2 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1733, allocations: 0 / 0.6 GB, free: 15.2 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009964/0.1743, allocations: 0.5808 MB / 0.6005 GB, free: 14.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1744, allocations: 8.031 kB / 0.6005 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009277/0.1753, allocations: 147.5 kB / 0.6007 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005344/0.1759, allocations: 286.4 kB / 0.601 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.1759, allocations: 20.64 kB / 0.601 GB, free: 14.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.1759, allocations: 28 kB / 0.601 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000661/0.1766, allocations: 455.5 kB / 0.6014 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1766, allocations: 4 kB / 0.6014 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.1767, allocations: 16 kB / 0.6015 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.008e-05/0.1767, allocations: 28.53 kB / 0.6015 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.1772, allocations: 317.9 kB / 0.6018 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.1798, allocations: 1.787 MB / 0.6035 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.1802, allocations: 259.7 kB / 0.6038 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1802, allocations: 0 / 0.6038 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1802, allocations: 38.5 kB / 0.6038 GB, free: 10.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.1803, allocations: 0 / 0.6038 GB, free: 10.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005907/0.1808, allocations: 311.5 kB / 0.6041 GB, free: 10.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1809, allocations: 59.41 kB / 0.6042 GB, free: 10.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.1812, allocations: 262.6 kB / 0.6044 GB, free: 10.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1812, allocations: 29.7 kB / 0.6045 GB, free: 10.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1813, allocations: 203.8 kB / 0.6046 GB, free: 10.08 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.1814, allocations: 51.3 kB / 0.6047 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/0.1814, allocations: 4 kB / 0.6047 GB, free: 10.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1815, allocations: 334.8 kB / 0.605 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.1817, allocations: 64.44 kB / 0.6051 GB, free: 9.621 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.1819, allocations: 140.8 kB / 0.6052 GB, free: 9.449 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.182, allocations: 86.06 kB / 0.6053 GB, free: 9.367 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.182, allocations: 4 kB / 0.6053 GB, free: 9.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003954/0.1824, allocations: 270 kB / 0.6056 GB, free: 9.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1825, allocations: 8 kB / 0.6056 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1825, allocations: 0 / 0.6056 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.1827, allocations: 28.84 kB / 0.6056 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.1828, allocations: 47.92 kB / 0.6056 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.1843, allocations: 1.323 MB / 0.6069 GB, free: 7.547 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.1845, allocations: 27.69 kB / 0.607 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.1845, allocations: 12.2 kB / 0.607 GB, free: 7.508 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 (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.1847, allocations: 169.8 kB / 0.6071 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.1847, allocations: 27.7 kB / 0.6072 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.1848, allocations: 25.84 kB / 0.6072 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1848, allocations: 0 / 0.6072 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1848, allocations: 0 / 0.6072 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1848, allocations: 7.984 kB / 0.6072 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007993/0.1856, allocations: 0.6389 MB / 0.6078 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1857, allocations: 4 kB / 0.6078 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.422e-05/0.1857, allocations: 16 kB / 0.6078 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.388e-05/0.1858, allocations: 28.8 kB / 0.6079 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1858, allocations: 4.125 kB / 0.6079 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.1873, allocations: 1.319 MB / 0.6092 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1874, allocations: 8.281 kB / 0.6092 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.1879, allocations: 354.2 kB / 0.6095 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-05/0.188, allocations: 108.8 kB / 0.6096 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.1881, allocations: 11.94 kB / 0.6096 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1882, allocations: 8 kB / 0.6096 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.1883, allocations: 19.92 kB / 0.6096 GB, free: 4.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-06/0.1883, allocations: 8 kB / 0.6096 GB, free: 4.469 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1885, allocations: 190 kB / 0.6098 GB, free: 4.285 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1885, allocations: 0 / 0.6098 GB, free: 4.285 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004262/0.1889, allocations: 75.75 kB / 0.6099 GB, free: 4.211 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001068/0.189, allocations: 98.38 kB / 0.61 GB, free: 4.109 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005592/0.1896, allocations: 278.8 kB / 0.6103 GB, free: 3.824 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1896, allocations: 0 / 0.6103 GB, free: 3.824 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.1898, allocations: 182.6 kB / 0.6104 GB, free: 3.633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.1902, allocations: 50.8 kB / 0.6105 GB, free: 3.586 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008842/0.1911, allocations: 0.6403 MB / 0.6111 GB, free: 2.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007024/0.1918, allocations: 0.8028 MB / 0.6119 GB, free: 2.078 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.1919, allocations: 42.27 kB / 0.6119 GB, free: 2.035 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.192, allocations: 19.44 kB / 0.612 GB, free: 2.02 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.192, allocations: 3.938 kB / 0.612 GB, free: 2.016 MB / 462.1 MB Notification: Performance of Templates: time 0.005724/0.1977, allocations: 2.406 MB / 0.6143 GB, free: 15.64 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) Environment - environmentSimulation: