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/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.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")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7142/0.7142, 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.00113/0.00113, allocations: 176.8 kB / 176.9 MB, free: 2.203 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.475/1.475, allocations: 170.5 MB / 379.3 MB, free: 11.92 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.001873/0.001874, allocations: 115.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.4844/0.4845, allocations: 73.38 MB / 0.6736 GB, free: 47.73 MB / 458.7 MB
Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/0.6416, allocations: 127.9 MB / 0.7985 GB, free: 4.773 MB / 0.4948 GB
Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.6419, allocations: 89.06 kB / 0.7986 GB, free: 4.688 MB / 0.4948 GB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);.
Notification: Performance of FrontEnd - DAE generated: time 0.03745/0.6794, allocations: 16.34 MB / 0.8145 GB, free: 4.27 MB / 0.5105 GB
Notification: Performance of FrontEnd: time 1.503e-06/0.6794, allocations: 0 / 0.8145 GB, free: 4.27 MB / 0.5105 GB
Notification: Performance of Transformations before backend: time 1.814e-05/0.6794, allocations: 12 kB / 0.8145 GB, free: 4.258 MB / 0.5105 GB
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.0007635/0.6802, allocations: 0.547 MB / 0.8151 GB, free: 3.668 MB / 0.5105 GB
Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.6802, allocations: 8.031 kB / 0.8151 GB, free: 3.66 MB / 0.5105 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009446/0.6812, allocations: 135.5 kB / 0.8152 GB, free: 3.527 MB / 0.5105 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.6816, allocations: 289.2 kB / 0.8155 GB, free: 3.207 MB / 0.5105 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.449e-05/0.6817, allocations: 24.72 kB / 0.8155 GB, free: 3.184 MB / 0.5105 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.6817, allocations: 27.98 kB / 0.8155 GB, free: 3.156 MB / 0.5105 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006508/0.6824, allocations: 449.2 kB / 0.8159 GB, free: 2.68 MB / 0.5105 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6824, allocations: 0 / 0.8159 GB, free: 2.68 MB / 0.5105 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.6825, allocations: 24.09 kB / 0.816 GB, free: 2.66 MB / 0.5105 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/0.6825, allocations: 24.55 kB / 0.816 GB, free: 2.637 MB / 0.5105 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/0.683, allocations: 310 kB / 0.8163 GB, free: 2.332 MB / 0.5105 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.6849, allocations: 1.787 MB / 0.818 GB, free: 444 kB / 0.5105 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.6853, allocations: 250.7 kB / 0.8183 GB, free: 168 kB / 0.5105 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.6856, allocations: 110.7 kB / 0.8184 GB, free: 56 kB / 0.5105 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.6856, allocations: 4 kB / 0.8184 GB, free: 52 kB / 0.5105 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.6856, allocations: 34.56 kB / 0.8184 GB, free: 8 kB / 0.5105 GB
Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.6856, allocations: 3.938 kB / 0.8184 GB, free: 4 kB / 0.5105 GB
Notification: Performance of matching and sorting (n=14): time 0.0003844/0.686, allocations: 166.2 kB / 0.8186 GB, free: 15.83 MB / 0.5261 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.6861, allocations: 55.41 kB / 0.8186 GB, free: 15.76 MB / 0.5261 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.6863, allocations: 234.8 kB / 0.8189 GB, free: 15.53 MB / 0.5261 GB
Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.6863, allocations: 33.7 kB / 0.8189 GB, free: 15.49 MB / 0.5261 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.6865, allocations: 203.6 kB / 0.8191 GB, free: 15.29 MB / 0.5261 GB
Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.6865, allocations: 47.36 kB / 0.8191 GB, free: 15.24 MB / 0.5261 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.6865, allocations: 4.094 kB / 0.8191 GB, free: 15.24 MB / 0.5261 GB
Notification: Performance of setup shared object (initialization): time 0.0001404/0.6867, allocations: 338.8 kB / 0.8195 GB, free: 14.9 MB / 0.5261 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.89e-05/0.6868, allocations: 52.45 kB / 0.8195 GB, free: 14.85 MB / 0.5261 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.6869, allocations: 149 kB / 0.8196 GB, free: 14.66 MB / 0.5261 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.6871, allocations: 77.45 kB / 0.8197 GB, free: 14.59 MB / 0.5261 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6871, allocations: 0 / 0.8197 GB, free: 14.59 MB / 0.5261 GB
Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003838/0.6875, allocations: 267.4 kB / 0.82 GB, free: 14.32 MB / 0.5261 GB
Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6875, allocations: 4 kB / 0.82 GB, free: 14.32 MB / 0.5261 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.6875, allocations: 4 kB / 0.82 GB, free: 14.31 MB / 0.5261 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.6877, allocations: 28.84 kB / 0.82 GB, free: 14.28 MB / 0.5261 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.6879, allocations: 43.92 kB / 0.8201 GB, free: 14.24 MB / 0.5261 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.6889, allocations: 1.323 MB / 0.8213 GB, free: 12.79 MB / 0.5261 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.6891, allocations: 23.75 kB / 0.8214 GB, free: 12.76 MB / 0.5261 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.6891, allocations: 12 kB / 0.8214 GB, free: 12.75 MB / 0.5261 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 (27):
* Single equations (assignments): 26
* 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: 1
* Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
* Linear torn systems: 1 {(1,100.0%) 1}
* Non-linear torn systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.6892, allocations: 125 kB / 0.8215 GB, free: 12.62 MB / 0.5261 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.6893, allocations: 27.67 kB / 0.8215 GB, free: 12.59 MB / 0.5261 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.6893, allocations: 25.95 kB / 0.8215 GB, free: 12.57 MB / 0.5261 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.6893, allocations: 4 kB / 0.8216 GB, free: 12.57 MB / 0.5261 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.6893, allocations: 0 / 0.8216 GB, free: 12.57 MB / 0.5261 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6894, allocations: 3.984 kB / 0.8216 GB, free: 12.56 MB / 0.5261 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000841/0.6902, allocations: 0.6522 MB / 0.8222 GB, free: 11.83 MB / 0.5261 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6902, allocations: 4 kB / 0.8222 GB, free: 11.83 MB / 0.5261 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/0.6903, allocations: 19.94 kB / 0.8222 GB, free: 11.81 MB / 0.5261 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-05/0.6904, allocations: 33.03 kB / 0.8222 GB, free: 11.77 MB / 0.5261 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.6904, allocations: 4 kB / 0.8223 GB, free: 11.77 MB / 0.5261 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009403/0.6914, allocations: 1.319 MB / 0.8235 GB, free: 10.32 MB / 0.5261 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6914, allocations: 0 / 0.8235 GB, free: 10.32 MB / 0.5261 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.6917, allocations: 379.8 kB / 0.8239 GB, free: 9.871 MB / 0.5261 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.6919, allocations: 116.7 kB / 0.824 GB, free: 9.738 MB / 0.5261 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.6919, allocations: 11.95 kB / 0.824 GB, free: 9.727 MB / 0.5261 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.692, allocations: 8 kB / 0.824 GB, free: 9.719 MB / 0.5261 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.6921, allocations: 15.98 kB / 0.824 GB, free: 9.703 MB / 0.5261 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.6921, allocations: 4 kB / 0.8241 GB, free: 9.699 MB / 0.5261 GB
Notification: Performance of sorting global known variables: time 0.0001831/0.6923, allocations: 191.1 kB / 0.8242 GB, free: 9.512 MB / 0.5261 GB
Notification: Performance of sort global known variables: time 2.61e-07/0.6923, allocations: 0 / 0.8242 GB, free: 9.512 MB / 0.5261 GB
Notification: Performance of remove unused functions: time 0.0003484/0.6926, allocations: 71.94 kB / 0.8243 GB, free: 9.441 MB / 0.5261 GB
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 ()
* 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 (linear and non-linear blocks): 0
* Torn equation systems: 1
* Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
* Linear torn systems: 1 {(1,100.0%) 1}
* Non-linear torn systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.6928, allocations: 111.1 kB / 0.8244 GB, free: 9.324 MB / 0.5261 GB
Notification: Performance of simCode: created initialization part: time 0.0004216/0.6932, allocations: 276.5 kB / 0.8247 GB, free: 9.043 MB / 0.5261 GB
Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6932, allocations: 0.75 kB / 0.8247 GB, free: 9.043 MB / 0.5261 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.6934, allocations: 186.6 kB / 0.8249 GB, free: 8.848 MB / 0.5261 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.6938, allocations: 54.19 kB / 0.8249 GB, free: 8.797 MB / 0.5261 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006098/0.6944, allocations: 373.3 kB / 0.8253 GB, free: 8.395 MB / 0.5261 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.6948, allocations: 0.8069 MB / 0.826 GB, free: 7.555 MB / 0.5261 GB
Notification: Performance of simCode: alias equations: time 0.0001384/0.695, allocations: 38.05 kB / 0.8261 GB, free: 7.516 MB / 0.5261 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.695, allocations: 23.42 kB / 0.8261 GB, free: 7.492 MB / 0.5261 GB
Notification: Performance of SimCode: time 3.71e-07/0.695, allocations: 0 / 0.8261 GB, free: 7.492 MB / 0.5261 GB
Notification: Performance of Templates: time 0.00556/0.7006, allocations: 2.476 MB / 0.8285 GB, free: 5.07 MB / 0.5261 GB
make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile
(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)