Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.9246/0.9246, allocations: 133.7 MB / 148.6 MB, free: 13.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001067/0.001067, allocations: 176 kB / 180.9 MB, free: 15.12 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.592/1.592, allocations: 170.7 MB / 383.7 MB, free: 16.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001835/0.001834, allocations: 127.1 kB / 454.6 MB, free: 9.75 MB / 346.7 MB [/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.1866/0.1872, allocations: 73.41 MB / 0.6812 GB, free: 5.551 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.544/0.7312, allocations: 120.7 MB / 0.7991 GB, free: 9.773 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.7316, allocations: 96.47 kB / 0.7992 GB, free: 9.719 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02549/0.7571, allocations: 12 MB / 0.8109 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7572, allocations: 0 / 0.8109 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.7572, allocations: 4 kB / 0.8109 GB, free: 14.96 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006322/0.7578, allocations: 465.6 kB / 0.8113 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.7579, allocations: 16.03 kB / 0.8113 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.7584, allocations: 63.73 kB / 0.8114 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.7587, allocations: 234.1 kB / 0.8116 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.7588, allocations: 8 kB / 0.8116 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.7588, allocations: 15.98 kB / 0.8116 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.7592, allocations: 282.8 kB / 0.8119 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.7593, allocations: 0 / 0.8119 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.7593, allocations: 8 kB / 0.8119 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.7593, allocations: 8.234 kB / 0.8119 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.7597, allocations: 216.3 kB / 0.8121 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.7614, allocations: 1.383 MB / 0.8135 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.7615, allocations: 73.12 kB / 0.8136 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.7615, allocations: 4.125 kB / 0.8136 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.7616, allocations: 34.56 kB / 0.8136 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 3.347e-06/0.7616, allocations: 0 / 0.8136 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.000538/0.7621, allocations: 220.6 kB / 0.8138 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.7622, allocations: 77.11 kB / 0.8139 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.7624, allocations: 201.7 kB / 0.8141 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.7624, allocations: 33.64 kB / 0.8141 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.7625, allocations: 159.5 kB / 0.8143 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.7626, allocations: 27.64 kB / 0.8143 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.7626, allocations: 8 kB / 0.8143 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7627, allocations: 330.7 kB / 0.8146 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.7628, allocations: 75.67 kB / 0.8147 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.763, allocations: 166.8 kB / 0.8148 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.7632, allocations: 109.3 kB / 0.8149 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7632, allocations: 0 / 0.8149 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004233/0.7636, allocations: 281.4 kB / 0.8152 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004893/0.7641, allocations: 1.13 MB / 0.8163 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.7641, allocations: 4 kB / 0.8163 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.7642, allocations: 4 kB / 0.8163 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.7644, allocations: 55.91 kB / 0.8164 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.7644, allocations: 7.938 kB / 0.8164 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.7647, allocations: 27.92 kB / 0.8164 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.7647, allocations: 11.98 kB / 0.8164 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.7647, allocations: 4 kB / 0.8164 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003175/0.765, allocations: 219.2 kB / 0.8166 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.765, allocations: 4 kB / 0.8166 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.7651, allocations: 4 kB / 0.8166 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.7652, allocations: 48.16 kB / 0.8167 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.7653, allocations: 7.938 kB / 0.8167 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.7654, allocations: 27.89 kB / 0.8167 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.7654, allocations: 11.98 kB / 0.8167 GB, free: 8.566 MB / 0.4948 GB 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 (25): * Single equations (assignments): 25 * 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.0001614/0.7656, allocations: 220.9 kB / 0.8169 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.7657, allocations: 15.86 kB / 0.817 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.7659, allocations: 122.6 kB / 0.8171 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7659, allocations: 4 kB / 0.8171 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.7659, allocations: 0 / 0.8171 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.7659, allocations: 0 / 0.8171 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007493/0.7667, allocations: 0.6274 MB / 0.8177 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.7667, allocations: 4 kB / 0.8177 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.789e-05/0.7668, allocations: 19.92 kB / 0.8177 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.7668, allocations: 4 kB / 0.8177 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7668, allocations: 0 / 0.8177 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.7668, allocations: 7.984 kB / 0.8177 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7668, allocations: 0 / 0.8177 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.7671, allocations: 416 kB / 0.8181 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.7673, allocations: 112.8 kB / 0.8182 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.7673, allocations: 0 / 0.8182 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.7675, allocations: 11.98 kB / 0.8182 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.7675, allocations: 19.88 kB / 0.8183 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.7675, allocations: 11.94 kB / 0.8183 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000161/0.7677, allocations: 159.2 kB / 0.8184 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7677, allocations: 0 / 0.8184 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004937/0.7682, allocations: 80 kB / 0.8185 GB, free: 6.566 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.0001787/0.7684, allocations: 119.2 kB / 0.8186 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004263/0.7688, allocations: 275.6 kB / 0.8189 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7688, allocations: 0 / 0.8189 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.953e-05/0.7689, allocations: 45.47 kB / 0.8189 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.7692, allocations: 31.34 kB / 0.8189 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006946/0.7699, allocations: 464.2 kB / 0.8194 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.7702, allocations: 0.744 MB / 0.8201 GB, free: 4.844 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.7704, allocations: 81.48 kB / 0.8202 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.7705, allocations: 15.44 kB / 0.8202 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of SimCode: time 3.11e-07/0.7705, allocations: 0 / 0.8202 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of Templates: time 0.004121/0.7746, allocations: 1.533 MB / 0.8217 GB, free: 3.227 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)