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.6774/0.6774, allocations: 132.3 MB / 144.9 MB, free: 10.7 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.0009863/0.000986, allocations: 173 kB / 176.9 MB, free: 2.223 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.167/1.167, allocations: 170.5 MB / 379.3 MB, free: 11.93 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.001535/0.001535, allocations: 113.7 kB / 450 MB, free: 5.836 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.4619/0.4619, allocations: 73.39 MB / 0.6736 GB, free: 47.6 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.6159, allocations: 120.6 MB / 0.7914 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.6162, allocations: 91.94 kB / 0.7915 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02772/0.6439, allocations: 11.9 MB / 0.8031 GB, free: 60 kB / 0.4948 GB Notification: Performance of FrontEnd: time 2.655e-06/0.644, allocations: 0 / 0.8031 GB, free: 60 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.644, allocations: 4 kB / 0.8031 GB, free: 56 kB / 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.0006841/0.6447, allocations: 456.4 kB / 0.8035 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.6448, allocations: 12.03 kB / 0.8036 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006285/0.6454, allocations: 67.72 kB / 0.8036 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.6457, allocations: 225.5 kB / 0.8038 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.6457, allocations: 15.94 kB / 0.8039 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.6458, allocations: 12 kB / 0.8039 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.6462, allocations: 269.5 kB / 0.8041 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.6462, allocations: 11.94 kB / 0.8041 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.6463, allocations: 3.609 kB / 0.8041 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.6463, allocations: 20.22 kB / 0.8042 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.6466, allocations: 202.2 kB / 0.8044 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.6482, allocations: 1.379 MB / 0.8057 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.6483, allocations: 69.2 kB / 0.8058 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.6484, allocations: 49.81 kB / 0.8058 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.6484, allocations: 0 / 0.8058 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.6485, allocations: 42.44 kB / 0.8059 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.6485, allocations: 0 / 0.8059 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0004547/0.6489, allocations: 180.7 kB / 0.806 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.649, allocations: 81.2 kB / 0.8061 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.6492, allocations: 206.5 kB / 0.8063 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.6493, allocations: 25.7 kB / 0.8063 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.6494, allocations: 163.5 kB / 0.8065 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.6494, allocations: 31.62 kB / 0.8065 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.6494, allocations: 4 kB / 0.8065 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6496, allocations: 326.8 kB / 0.8068 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.6497, allocations: 71.97 kB / 0.8069 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.6498, allocations: 165.9 kB / 0.8071 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.65, allocations: 99.94 kB / 0.8071 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.65, allocations: 0 / 0.8071 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003869/0.6504, allocations: 286.3 kB / 0.8074 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004403/0.6509, allocations: 1.126 MB / 0.8085 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.6509, allocations: 4 kB / 0.8085 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.6509, allocations: 7.984 kB / 0.8085 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.6511, allocations: 55.91 kB / 0.8086 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.6512, allocations: 4 kB / 0.8086 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.6513, allocations: 27.92 kB / 0.8086 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.6514, allocations: 8.5 kB / 0.8086 GB, free: 10 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.6514, allocations: 4 kB / 0.8086 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002993/0.6517, allocations: 217.1 kB / 0.8088 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6517, allocations: 4 kB / 0.8088 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.6517, allocations: 4 kB / 0.8088 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.6519, allocations: 53.77 kB / 0.8089 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.6519, allocations: 4 kB / 0.8089 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.652, allocations: 23.91 kB / 0.8089 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.6521, allocations: 8.375 kB / 0.8089 GB, free: 9.691 MB / 0.5105 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 () * 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 8.2e-05/0.6522, allocations: 124.8 kB / 0.809 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.6522, allocations: 19.77 kB / 0.8091 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.6524, allocations: 118.6 kB / 0.8092 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.6524, allocations: 0 / 0.8092 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6525, allocations: 0 / 0.8092 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6525, allocations: 0 / 0.8092 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00071/0.6532, allocations: 0.6274 MB / 0.8098 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6532, allocations: 4 kB / 0.8098 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.052e-05/0.6533, allocations: 15.98 kB / 0.8098 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.6533, allocations: 7.062 kB / 0.8098 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.6533, allocations: 8 kB / 0.8098 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.6533, allocations: 8.188 kB / 0.8098 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6533, allocations: 4 kB / 0.8098 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.6536, allocations: 407.6 kB / 0.8102 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/0.6537, allocations: 108.9 kB / 0.8103 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.6538, allocations: 12 kB / 0.8103 GB, free: 8.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.6539, allocations: 7.984 kB / 0.8103 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.654, allocations: 7.953 kB / 0.8104 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.654, allocations: 8 kB / 0.8104 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001506/0.6541, allocations: 167.1 kB / 0.8105 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6541, allocations: 0 / 0.8105 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004708/0.6546, allocations: 83.94 kB / 0.8106 GB, free: 7.797 MB / 0.5105 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 () * 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.0001659/0.6548, allocations: 132.8 kB / 0.8107 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003978/0.6552, allocations: 265.3 kB / 0.811 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6552, allocations: 0 / 0.811 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.837e-05/0.6553, allocations: 48.36 kB / 0.811 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.6556, allocations: 24.8 kB / 0.8111 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005075/0.6561, allocations: 278.9 kB / 0.8113 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.6564, allocations: 0.7401 MB / 0.812 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.6566, allocations: 79.89 kB / 0.8121 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.6567, allocations: 15.42 kB / 0.8121 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of SimCode: time 3e-07/0.6567, allocations: 8 kB / 0.8121 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of Templates: time 0.004264/0.661, allocations: 1.67 MB / 0.8138 GB, free: 4.496 MB / 0.5105 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)