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.4647/0.4656, allocations: 82.19 MB / 0.5935 GB, free: 21.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002945/0.4686, allocations: 2.261 MB / 0.5957 GB, free: 19.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.4707, allocations: 1.35 MB / 0.597 GB, free: 17.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.4709, allocations: 4 kB / 0.597 GB, free: 17.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.4711, allocations: 23.78 kB / 0.597 GB, free: 17.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004747/0.4716, allocations: 139.4 kB / 0.5972 GB, free: 17.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.472, allocations: 139.1 kB / 0.5973 GB, free: 17.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.4723, allocations: 295.1 kB / 0.5976 GB, free: 17.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004483/0.4727, allocations: 283.3 kB / 0.5978 GB, free: 17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.4729, allocations: 95.61 kB / 0.5979 GB, free: 16.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.4731, allocations: 131.6 kB / 0.5981 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.4731, allocations: 9.812 kB / 0.5981 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.4733, allocations: 67.89 kB / 0.5981 GB, free: 16.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.4734, allocations: 59.81 kB / 0.5982 GB, free: 16.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.4734, allocations: 49.64 kB / 0.5982 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.4736, allocations: 217.9 kB / 0.5984 GB, free: 16.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4737, allocations: 1.281 kB / 0.5984 GB, free: 16.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4737, allocations: 3.938 kB / 0.5985 GB, free: 16.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.4737, allocations: 0 / 0.5985 GB, free: 16.37 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.0006501/0.4743, allocations: 480.8 kB / 0.5989 GB, free: 15.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.4744, allocations: 8.031 kB / 0.5989 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004703/0.4749, allocations: 72.48 kB / 0.599 GB, free: 15.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.4751, allocations: 242.5 kB / 0.5992 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.4752, allocations: 13.23 kB / 0.5992 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.4752, allocations: 12 kB / 0.5992 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.4756, allocations: 311.9 kB / 0.5995 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4757, allocations: 0 / 0.5995 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.4757, allocations: 8.906 kB / 0.5995 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-05/0.4757, allocations: 24.25 kB / 0.5996 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.4762, allocations: 271.3 kB / 0.5998 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.4774, allocations: 1.313 MB / 0.6011 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.4779, allocations: 254.7 kB / 0.6014 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.4781, allocations: 135.3 kB / 0.6015 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.4781, allocations: 1.094 kB / 0.6015 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.4782, allocations: 41.59 kB / 0.6015 GB, free: 13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.4782, allocations: 0 / 0.6015 GB, free: 13 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006647/0.4788, allocations: 358.5 kB / 0.6019 GB, free: 12.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.4789, allocations: 77.11 kB / 0.6019 GB, free: 12.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.4791, allocations: 174.6 kB / 0.6021 GB, free: 12.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.4791, allocations: 33.7 kB / 0.6021 GB, free: 12.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.4792, allocations: 140 kB / 0.6023 GB, free: 12.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.4792, allocations: 55.25 kB / 0.6023 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.4792, allocations: 4 kB / 0.6023 GB, free: 12.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.875e-05/0.4793, allocations: 330.8 kB / 0.6026 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.4795, allocations: 107.9 kB / 0.6027 GB, free: 11.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.4797, allocations: 172.1 kB / 0.6029 GB, free: 11.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.4799, allocations: 134.4 kB / 0.603 GB, free: 11.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4799, allocations: 0 / 0.603 GB, free: 11.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004535/0.4804, allocations: 317.3 kB / 0.6033 GB, free: 11.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/0.4804, allocations: 143.1 kB / 0.6035 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4804, allocations: 0 / 0.6035 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4805, allocations: 4 kB / 0.6035 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.4807, allocations: 55.89 kB / 0.6035 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4807, allocations: 7.953 kB / 0.6035 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.4809, allocations: 35.81 kB / 0.6036 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.4809, allocations: 15.94 kB / 0.6036 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.481, allocations: 14.12 kB / 0.6036 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003783/0.4813, allocations: 240.6 kB / 0.6038 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.4814, allocations: 0 / 0.6038 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-06/0.4814, allocations: 8.219 kB / 0.6038 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.4816, allocations: 55.89 kB / 0.6039 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.4816, allocations: 4 kB / 0.6039 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.4817, allocations: 31.81 kB / 0.6039 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.4817, allocations: 8 kB / 0.6039 GB, free: 10.42 MB / 446.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.0001125/0.4818, allocations: 221 kB / 0.6041 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.4819, allocations: 19.81 kB / 0.6042 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.4824, allocations: 279 kB / 0.6044 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4824, allocations: 0 / 0.6044 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4824, allocations: 4 kB / 0.6044 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4824, allocations: 0 / 0.6044 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008134/0.4832, allocations: 0.6849 MB / 0.6051 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4832, allocations: 8.125 kB / 0.6051 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.4834, allocations: 55.83 kB / 0.6052 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4835, allocations: 4 kB / 0.6052 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.4835, allocations: 4 kB / 0.6052 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4835, allocations: 4 kB / 0.6052 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4835, allocations: 0 / 0.6052 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.4839, allocations: 463.8 kB / 0.6056 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.484, allocations: 116.8 kB / 0.6057 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.484, allocations: 8 kB / 0.6057 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.4842, allocations: 19.97 kB / 0.6058 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.466e-05/0.4843, allocations: 15.98 kB / 0.6058 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.4843, allocations: 7.953 kB / 0.6058 GB, free: 8.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.644e-05/0.4844, allocations: 131.2 kB / 0.6059 GB, free: 8.273 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4844, allocations: 0 / 0.6059 GB, free: 8.273 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004427/0.4849, allocations: 83.84 kB / 0.606 GB, free: 8.191 MB / 446.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.0001081/0.485, allocations: 114.3 kB / 0.6061 GB, free: 8.074 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006051/0.4856, allocations: 383.8 kB / 0.6065 GB, free: 7.699 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.4856, allocations: 3.938 kB / 0.6065 GB, free: 7.695 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.4858, allocations: 116.7 kB / 0.6066 GB, free: 7.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.4863, allocations: 37.56 kB / 0.6066 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000746/0.487, allocations: 0.5143 MB / 0.6071 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.4872, allocations: 0.7441 MB / 0.6078 GB, free: 6.215 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.4874, allocations: 81.39 kB / 0.6079 GB, free: 6.137 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.4875, allocations: 27.42 kB / 0.6079 GB, free: 6.113 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4875, allocations: 0 / 0.6079 GB, free: 6.113 MB / 446.1 MB Notification: Performance of Templates: time 0.004461/0.492, allocations: 2.051 MB / 0.6099 GB, free: 4.098 MB / 446.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: