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.1775/0.1784, allocations: 82.22 MB / 0.5935 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004856/0.1833, allocations: 3.317 MB / 0.5967 GB, free: 2.652 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.1861, allocations: 1.708 MB / 0.5984 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.1864, allocations: 8 kB / 0.5984 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.1866, allocations: 63.48 kB / 0.5984 GB, free: 0.8633 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.0006452/0.1873, allocations: 175.2 kB / 0.5986 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.1878, allocations: 159 kB / 0.5988 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005871/0.1884, allocations: 0.5296 MB / 0.5993 GB, free: 8 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.1888, allocations: 285.2 kB / 0.5996 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.1891, allocations: 151.4 kB / 0.5997 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006081/0.1897, allocations: 211.2 kB / 0.5999 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.559e-05/0.1898, allocations: 16 kB / 0.5999 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/0.1902, allocations: 111.8 kB / 0.6 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.1904, allocations: 111.7 kB / 0.6001 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.1906, allocations: 89.45 kB / 0.6002 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007034/0.1913, allocations: 379.3 kB / 0.6006 GB, free: 14.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.1913, allocations: 3.938 kB / 0.6006 GB, free: 14.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1914, allocations: 0 / 0.6006 GB, free: 14.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.1914, allocations: 0 / 0.6006 GB, free: 14.65 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.001348/0.1927, allocations: 0.573 MB / 0.6011 GB, free: 14.03 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.1928, allocations: 8.031 kB / 0.6011 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.1938, allocations: 131.5 kB / 0.6013 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.1943, allocations: 286.4 kB / 0.6015 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.1943, allocations: 24.66 kB / 0.6016 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.1944, allocations: 31.98 kB / 0.6016 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.1952, allocations: 455.5 kB / 0.602 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1952, allocations: 4 kB / 0.602 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.1952, allocations: 15.98 kB / 0.602 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/0.1953, allocations: 28.55 kB / 0.6021 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005758/0.1959, allocations: 321.9 kB / 0.6024 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/0.1981, allocations: 1.783 MB / 0.6041 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.1985, allocations: 247.8 kB / 0.6044 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.1988, allocations: 116.7 kB / 0.6045 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1988, allocations: 0 / 0.6045 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/0.1989, allocations: 34.81 kB / 0.6045 GB, free: 10.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.1989, allocations: 3.938 kB / 0.6045 GB, free: 10.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006516/0.1995, allocations: 307.3 kB / 0.6048 GB, free: 10.01 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1996, allocations: 51.41 kB / 0.6049 GB, free: 9.949 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.1999, allocations: 266.6 kB / 0.6051 GB, free: 9.684 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.2, allocations: 29.7 kB / 0.6051 GB, free: 9.648 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.2001, allocations: 215.8 kB / 0.6053 GB, free: 9.434 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.2002, allocations: 43.3 kB / 0.6054 GB, free: 9.391 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.2002, allocations: 12 kB / 0.6054 GB, free: 9.379 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.2004, allocations: 334.8 kB / 0.6057 GB, free: 9.043 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.2005, allocations: 60.38 kB / 0.6058 GB, free: 8.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.2007, allocations: 141.7 kB / 0.6059 GB, free: 8.805 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2008, allocations: 75.92 kB / 0.606 GB, free: 8.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.2008, allocations: 7.984 kB / 0.606 GB, free: 8.723 MB / 462.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004397/0.2013, allocations: 257.9 kB / 0.6062 GB, free: 8.461 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.2013, allocations: 10.5 kB / 0.6062 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2013, allocations: 0 / 0.6062 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001863/0.2015, allocations: 33.31 kB / 0.6063 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.2017, allocations: 55.84 kB / 0.6063 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.2029, allocations: 1.315 MB / 0.6076 GB, free: 6.914 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.2031, allocations: 31.64 kB / 0.6076 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.2031, allocations: 16 kB / 0.6077 GB, free: 6.867 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0001724/0.2033, allocations: 161.8 kB / 0.6078 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.2034, allocations: 19.72 kB / 0.6078 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/0.2034, allocations: 29.83 kB / 0.6079 GB, free: 6.652 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2034, allocations: 4.094 kB / 0.6079 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.2034, allocations: 4 kB / 0.6079 GB, free: 6.645 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2034, allocations: 3.938 kB / 0.6079 GB, free: 6.641 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009517/0.2044, allocations: 0.6523 MB / 0.6085 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2044, allocations: 4 kB / 0.6085 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/0.2045, allocations: 31.92 kB / 0.6085 GB, free: 5.875 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.059e-05/0.2046, allocations: 20.84 kB / 0.6086 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.2046, allocations: 4 kB / 0.6086 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009149/0.2055, allocations: 1.312 MB / 0.6098 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2056, allocations: 7.969 kB / 0.6099 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.2059, allocations: 320.2 kB / 0.6102 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.876e-05/0.206, allocations: 108.8 kB / 0.6103 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.206, allocations: 15.98 kB / 0.6103 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.2062, allocations: 4 kB / 0.6103 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.2062, allocations: 15.98 kB / 0.6103 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.2063, allocations: 4 kB / 0.6103 GB, free: 3.879 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.2064, allocations: 193.9 kB / 0.6105 GB, free: 3.691 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2065, allocations: 3.938 kB / 0.6105 GB, free: 3.688 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.2069, allocations: 79.84 kB / 0.6106 GB, free: 3.609 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0001515/0.2071, allocations: 99.19 kB / 0.6107 GB, free: 3.504 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005113/0.2076, allocations: 274.9 kB / 0.6109 GB, free: 3.223 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2076, allocations: 192 / 0.6109 GB, free: 3.223 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.2078, allocations: 186.5 kB / 0.6111 GB, free: 3.027 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.2083, allocations: 52.75 kB / 0.6111 GB, free: 2.977 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.2093, allocations: 0.6424 MB / 0.6118 GB, free: 2.293 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.2098, allocations: 0.7913 MB / 0.6125 GB, free: 1.473 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.2099, allocations: 46.25 kB / 0.6126 GB, free: 1.426 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.21, allocations: 27.38 kB / 0.6126 GB, free: 1.402 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.21, allocations: 0 / 0.6126 GB, free: 1.402 MB / 462.1 MB Notification: Performance of Templates: time 0.00634/0.2163, allocations: 2.475 MB / 0.615 GB, free: 14.96 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: