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.1781/0.1788, allocations: 82.22 MB / 0.5941 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004039/0.1829, allocations: 3.456 MB / 0.5975 GB, free: 2.098 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.1854, allocations: 1.797 MB / 0.5992 GB, free: 296 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.1856, allocations: 7.938 kB / 0.5993 GB, free: 288 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.1858, allocations: 55.56 kB / 0.5993 GB, free: 232 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005261/0.1863, allocations: 243 kB / 0.5995 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.1868, allocations: 187.7 kB / 0.5997 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000611/0.1874, allocations: 0.6622 MB / 0.6004 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004071/0.1879, allocations: 306.6 kB / 0.6007 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.188, allocations: 155.4 kB / 0.6008 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.1884, allocations: 215.2 kB / 0.601 GB, free: 14.46 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.1885, allocations: 16 kB / 0.601 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004465/0.1889, allocations: 303.3 kB / 0.6013 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.189, allocations: 103.7 kB / 0.6014 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.1892, allocations: 180.8 kB / 0.6016 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.1897, allocations: 0.4905 MB / 0.6021 GB, free: 13.37 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1897, allocations: 0 / 0.6021 GB, free: 13.37 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1897, allocations: 0 / 0.6021 GB, free: 13.37 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1897, allocations: 0 / 0.6021 GB, free: 13.37 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.0008524/0.1906, allocations: 0.5809 MB / 0.6026 GB, free: 12.74 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1906, allocations: 8.031 kB / 0.6026 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008633/0.1915, allocations: 140.4 kB / 0.6028 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.1918, allocations: 287.7 kB / 0.603 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.1919, allocations: 25.02 kB / 0.6031 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.1919, allocations: 24.38 kB / 0.6031 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.1926, allocations: 467.9 kB / 0.6035 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1926, allocations: 3.938 kB / 0.6035 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.1927, allocations: 16 kB / 0.6036 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/0.1927, allocations: 24.55 kB / 0.6036 GB, free: 11.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.1932, allocations: 321.9 kB / 0.6039 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.1952, allocations: 1.783 MB / 0.6056 GB, free: 9.477 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.1955, allocations: 259.8 kB / 0.6059 GB, free: 9.195 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.1958, allocations: 104.8 kB / 0.606 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.1958, allocations: 4 kB / 0.606 GB, free: 9.086 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.1958, allocations: 38.56 kB / 0.606 GB, free: 9.039 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.1958, allocations: 0 / 0.606 GB, free: 9.039 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006016/0.1964, allocations: 307.5 kB / 0.6063 GB, free: 8.711 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.1965, allocations: 55.41 kB / 0.6064 GB, free: 8.645 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.1968, allocations: 270.5 kB / 0.6066 GB, free: 8.371 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1968, allocations: 29.7 kB / 0.6067 GB, free: 8.336 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.1969, allocations: 203.9 kB / 0.6068 GB, free: 8.133 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.197, allocations: 59.14 kB / 0.6069 GB, free: 8.074 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.197, allocations: 29.8 kB / 0.6069 GB, free: 8.039 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1971, allocations: 338.7 kB / 0.6073 GB, free: 7.699 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.186e-05/0.1972, allocations: 56.44 kB / 0.6073 GB, free: 7.641 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.1974, allocations: 148.8 kB / 0.6075 GB, free: 7.461 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.1976, allocations: 212.5 kB / 0.6077 GB, free: 7.215 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1976, allocations: 7.938 kB / 0.6077 GB, free: 7.207 MB / 462.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003751/0.198, allocations: 254 kB / 0.6079 GB, free: 6.949 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.198, allocations: 11.98 kB / 0.6079 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1981, allocations: 4 kB / 0.6079 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.1982, allocations: 29.22 kB / 0.6079 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1984, allocations: 47.92 kB / 0.608 GB, free: 6.855 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.1994, allocations: 1.323 MB / 0.6093 GB, free: 5.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.1996, allocations: 31.72 kB / 0.6093 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.1996, allocations: 8 kB / 0.6093 GB, free: 5.359 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.1998, allocations: 165.8 kB / 0.6095 GB, free: 5.188 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.1998, allocations: 27.66 kB / 0.6095 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.1999, allocations: 25.83 kB / 0.6095 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1999, allocations: 8.094 kB / 0.6095 GB, free: 5.133 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1999, allocations: 0 / 0.6095 GB, free: 5.133 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1999, allocations: 0 / 0.6095 GB, free: 5.133 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008135/0.2007, allocations: 0.6561 MB / 0.6102 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2008, allocations: 0 / 0.6102 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.681e-05/0.2009, allocations: 27.92 kB / 0.6102 GB, free: 4.371 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.171e-05/0.2009, allocations: 24.84 kB / 0.6102 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.201, allocations: 4 kB / 0.6102 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008309/0.2018, allocations: 1.312 MB / 0.6115 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2018, allocations: 8.016 kB / 0.6115 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.2021, allocations: 319.9 kB / 0.6118 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.2022, allocations: 116.8 kB / 0.6119 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.2023, allocations: 4 kB / 0.6119 GB, free: 2.398 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.2024, allocations: 16 kB / 0.612 GB, free: 2.383 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.2025, allocations: 11.98 kB / 0.612 GB, free: 2.371 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2025, allocations: 8 kB / 0.612 GB, free: 2.363 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.2027, allocations: 193.9 kB / 0.6122 GB, free: 2.172 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2027, allocations: 4 kB / 0.6122 GB, free: 2.168 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003833/0.2031, allocations: 83.72 kB / 0.6122 GB, free: 2.086 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001197/0.2032, allocations: 107.1 kB / 0.6123 GB, free: 1.973 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004582/0.2037, allocations: 267.1 kB / 0.6126 GB, free: 1.699 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2037, allocations: 0 / 0.6126 GB, free: 1.699 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.2039, allocations: 190.6 kB / 0.6128 GB, free: 1.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.2045, allocations: 48.53 kB / 0.6128 GB, free: 1.453 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009897/0.2055, allocations: 0.6721 MB / 0.6135 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.2059, allocations: 0.795 MB / 0.6143 GB, free: 15.92 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.2061, allocations: 46.25 kB / 0.6143 GB, free: 15.87 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.2061, allocations: 19.44 kB / 0.6143 GB, free: 15.86 MB / 478.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2061, allocations: 0 / 0.6143 GB, free: 15.86 MB / 478.1 MB Notification: Performance of Templates: time 0.005338/0.2115, allocations: 2.534 MB / 0.6168 GB, free: 13.35 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: