Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") [/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.1942/0.195, allocations: 82.21 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003112/0.1981, allocations: 2.225 MB / 0.5955 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.2001, allocations: 1.319 MB / 0.5968 GB, free: 2.445 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.537e-05/0.2002, allocations: 0 / 0.5968 GB, free: 2.445 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.2003, allocations: 31.83 kB / 0.5969 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.2007, allocations: 119.6 kB / 0.597 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.201, allocations: 134.2 kB / 0.5971 GB, free: 2.168 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.2012, allocations: 155.7 kB / 0.5973 GB, free: 2.016 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005018/0.2017, allocations: 297.9 kB / 0.5975 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.2019, allocations: 71.77 kB / 0.5976 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.2021, allocations: 99.66 kB / 0.5977 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.2021, allocations: 4 kB / 0.5977 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.2023, allocations: 75.92 kB / 0.5978 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.2023, allocations: 51.83 kB / 0.5978 GB, free: 1.395 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.2024, allocations: 49.64 kB / 0.5979 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.2027, allocations: 215.6 kB / 0.5981 GB, free: 1.129 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2027, allocations: 4 kB / 0.5981 GB, free: 1.125 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2027, allocations: 0 / 0.5981 GB, free: 1.125 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.2027, allocations: 4 kB / 0.5981 GB, free: 1.121 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007369/0.2034, allocations: 470.1 kB / 0.5985 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.2035, allocations: 8.031 kB / 0.5985 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005194/0.204, allocations: 71.73 kB / 0.5986 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.2043, allocations: 239.1 kB / 0.5988 GB, free: 272 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2043, allocations: 16.27 kB / 0.5989 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.2044, allocations: 16 kB / 0.5989 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.2049, allocations: 312.3 kB / 0.5992 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2049, allocations: 0 / 0.5992 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.2049, allocations: 8 kB / 0.5992 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-05/0.205, allocations: 24.27 kB / 0.5992 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.2055, allocations: 272.5 kB / 0.5995 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.207, allocations: 1.316 MB / 0.6007 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.2074, allocations: 265 kB / 0.601 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2075, allocations: 0 / 0.601 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2075, allocations: 34.56 kB / 0.601 GB, free: 13.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.2075, allocations: 4 kB / 0.601 GB, free: 13.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007476/0.2083, allocations: 357.5 kB / 0.6014 GB, free: 13.51 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.2083, allocations: 81.23 kB / 0.6015 GB, free: 13.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.2085, allocations: 174.7 kB / 0.6016 GB, free: 13.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.2085, allocations: 29.7 kB / 0.6016 GB, free: 13.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.2086, allocations: 144 kB / 0.6018 GB, free: 13.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.2087, allocations: 55.28 kB / 0.6018 GB, free: 13 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.2087, allocations: 0 / 0.6018 GB, free: 13 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2089, allocations: 330.8 kB / 0.6022 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.2091, allocations: 107.9 kB / 0.6023 GB, free: 12.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.2093, allocations: 169 kB / 0.6024 GB, free: 12.37 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.2095, allocations: 126.2 kB / 0.6025 GB, free: 12.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2096, allocations: 0 / 0.6025 GB, free: 12.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005322/0.2101, allocations: 321.1 kB / 0.6028 GB, free: 11.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003072/0.2104, allocations: 0.7072 MB / 0.6035 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2104, allocations: 0 / 0.6035 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2104, allocations: 7.953 kB / 0.6035 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.2107, allocations: 63.83 kB / 0.6036 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2107, allocations: 4 kB / 0.6036 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.2109, allocations: 35.81 kB / 0.6036 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2109, allocations: 12 kB / 0.6037 GB, free: 11.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.283e-06/0.211, allocations: 4 kB / 0.6037 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004726/0.2114, allocations: 246.6 kB / 0.6039 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.2114, allocations: 0 / 0.6039 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.2114, allocations: 4 kB / 0.6039 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.2117, allocations: 55.89 kB / 0.6039 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.2117, allocations: 4 kB / 0.604 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.2118, allocations: 27.88 kB / 0.604 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.2118, allocations: 8 kB / 0.604 GB, free: 10.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.212, allocations: 229.1 kB / 0.6042 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.2121, allocations: 15.81 kB / 0.6042 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.2126, allocations: 279 kB / 0.6045 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2126, allocations: 12 kB / 0.6045 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2126, allocations: 0 / 0.6045 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2126, allocations: 0 / 0.6045 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009679/0.2136, allocations: 0.6927 MB / 0.6052 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2136, allocations: 0 / 0.6052 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.2138, allocations: 47.89 kB / 0.6052 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-06/0.2138, allocations: 4 kB / 0.6052 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.2139, allocations: 8 kB / 0.6052 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2139, allocations: 0 / 0.6052 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.2139, allocations: 4 kB / 0.6052 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000549/0.2144, allocations: 0.5102 MB / 0.6057 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.2146, allocations: 116.8 kB / 0.6058 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.2146, allocations: 4 kB / 0.6058 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.2148, allocations: 31.97 kB / 0.6059 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.2149, allocations: 11.94 kB / 0.6059 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.2149, allocations: 4 kB / 0.6059 GB, free: 8.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.215, allocations: 131.2 kB / 0.606 GB, free: 8.457 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.215, allocations: 0 / 0.606 GB, free: 8.457 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004214/0.2154, allocations: 83.75 kB / 0.6061 GB, free: 8.375 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001128/0.2155, allocations: 115.9 kB / 0.6062 GB, free: 8.254 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007054/0.2162, allocations: 379.5 kB / 0.6066 GB, free: 7.887 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2163, allocations: 0 / 0.6066 GB, free: 7.887 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.2165, allocations: 122.7 kB / 0.6067 GB, free: 7.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2168, allocations: 32.11 kB / 0.6067 GB, free: 7.738 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000713/0.2175, allocations: 0.5149 MB / 0.6072 GB, free: 7.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.2179, allocations: 0.7557 MB / 0.608 GB, free: 6.395 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.2181, allocations: 73.47 kB / 0.608 GB, free: 6.324 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/0.2181, allocations: 23.42 kB / 0.6081 GB, free: 6.305 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2181, allocations: 0 / 0.6081 GB, free: 6.305 MB / 462.1 MB Notification: Performance of Templates: time 0.004666/0.2228, allocations: 2.064 MB / 0.6101 GB, free: 4.285 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1) Environment - environmentSimulation: