Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue")
translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6795/0.6795, allocations: 132.3 MB / 144.9 MB, free: 10.69 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.001042/0.001042, allocations: 171.7 kB / 176.9 MB, free: 2.188 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.222/1.222, allocations: 170.5 MB / 379.3 MB, free: 11.9 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.001547/0.001547, allocations: 116.9 kB / 450 MB, free: 5.844 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.4635/0.4636, allocations: 73.39 MB / 0.6736 GB, free: 47.77 MB / 458.7 MB
Notification: Performance of FrontEnd - scodeFlatten: time 5.27/5.734, allocations: 2.41 GB / 3.083 GB, free: 157.5 MB / 0.6198 GB
Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/5.734, allocations: 89.3 kB / 3.083 GB, free: 157.5 MB / 0.6198 GB
Notification: Performance of FrontEnd - DAE generated: time 1.701/7.436, allocations: 0.5067 GB / 3.59 GB, free: 75.56 MB / 0.6198 GB
Notification: Performance of FrontEnd: time 2.004e-06/7.436, allocations: 0 / 3.59 GB, free: 75.56 MB / 0.6198 GB
Notification: Performance of Transformations before backend: time 0.0004943/7.436, allocations: 122 kB / 3.59 GB, free: 75.55 MB / 0.6198 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
* Number of equations: 940
* Number of variables: 940
Notification: Performance of Generate backend data structure: time 0.01139/7.448, allocations: 4.362 MB / 3.594 GB, free: 73.84 MB / 0.6198 GB
Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/7.448, allocations: 7.125 kB / 3.594 GB, free: 73.84 MB / 0.6198 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009172/7.457, allocations: 1.362 MB / 3.596 GB, free: 73.57 MB / 0.6198 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.02802/7.485, allocations: 12.08 MB / 3.607 GB, free: 72.12 MB / 0.6198 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/7.485, allocations: 284.2 kB / 3.608 GB, free: 71.99 MB / 0.6198 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/7.486, allocations: 386.2 kB / 3.608 GB, free: 71.87 MB / 0.6198 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.008792/7.495, allocations: 4.982 MB / 3.613 GB, free: 69.62 MB / 0.6198 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.918e-05/7.495, allocations: 15.84 kB / 3.613 GB, free: 69.62 MB / 0.6198 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004356/7.496, allocations: 159.9 kB / 3.613 GB, free: 69.5 MB / 0.6198 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.595e-05/7.496, allocations: 115.4 kB / 3.613 GB, free: 69.5 MB / 0.6198 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007812/7.504, allocations: 4.639 MB / 3.618 GB, free: 67.96 MB / 0.6198 GB
Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02707/7.531, allocations: 19.3 MB / 3.637 GB, free: 55.85 MB / 0.6198 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.004393/7.535, allocations: 3.002 MB / 3.639 GB, free: 54.61 MB / 0.6198 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/7.537, allocations: 1.699 MB / 3.641 GB, free: 53.91 MB / 0.6198 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001091/7.538, allocations: 1.03 MB / 3.642 GB, free: 52.86 MB / 0.6198 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00298/7.541, allocations: 1.964 MB / 3.644 GB, free: 52.09 MB / 0.6198 GB
Notification: Performance of pre-optimization done (n=269): time 5.36e-06/7.541, allocations: 3.172 kB / 3.644 GB, free: 52.09 MB / 0.6198 GB
Notification: Performance of matching and sorting (n=287): time 0.01711/7.559, allocations: 8.59 MB / 3.652 GB, free: 48.39 MB / 0.6198 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.724e-05/7.559, allocations: 291.2 kB / 3.653 GB, free: 48.07 MB / 0.6198 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005454/7.564, allocations: 3.288 MB / 3.656 GB, free: 46.89 MB / 0.6198 GB
Notification: Performance of collectPreVariables (initialization): time 0.0008379/7.565, allocations: 87.89 kB / 3.656 GB, free: 46.81 MB / 0.6198 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001613/7.567, allocations: 1.836 MB / 3.658 GB, free: 45.41 MB / 0.6198 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001066/7.568, allocations: 0.9782 MB / 3.659 GB, free: 44.66 MB / 0.6198 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/7.568, allocations: 67.62 kB / 3.659 GB, free: 44.61 MB / 0.6198 GB
Notification: Performance of setup shared object (initialization): time 0.0001718/7.568, allocations: 431.8 kB / 3.659 GB, free: 44.25 MB / 0.6198 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/7.57, allocations: 1.604 MB / 3.661 GB, free: 43.62 MB / 0.6198 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002645/7.573, allocations: 2.314 MB / 3.663 GB, free: 42.18 MB / 0.6198 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/7.576, allocations: 2.026 MB / 3.665 GB, free: 41.34 MB / 0.6198 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/7.576, allocations: 6.25 kB / 3.665 GB, free: 41.34 MB / 0.6198 GB
Notification: Performance of matching and sorting (n=412) (initialization): time 0.008794/7.585, allocations: 4.979 MB / 3.67 GB, free: 39.42 MB / 0.6198 GB
Notification: Performance of prepare postOptimizeDAE: time 0.001416/7.586, allocations: 7.679 MB / 3.677 GB, free: 31.06 MB / 0.6198 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/7.586, allocations: 16.5 kB / 3.677 GB, free: 31.06 MB / 0.6198 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/7.588, allocations: 0.5371 MB / 3.678 GB, free: 30.68 MB / 0.6198 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004517/7.593, allocations: 0.8987 MB / 3.679 GB, free: 29.95 MB / 0.6198 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00556/7.599, allocations: 4.724 MB / 3.683 GB, free: 25.34 MB / 0.6198 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005662/7.604, allocations: 357.8 kB / 3.684 GB, free: 25.07 MB / 0.6198 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009211/7.605, allocations: 168.1 kB / 3.684 GB, free: 24.93 MB / 0.6198 GB
Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/7.605, allocations: 4 kB / 3.684 GB, free: 24.92 MB / 0.6198 GB
Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008127/7.613, allocations: 4.642 MB / 3.688 GB, free: 20.84 MB / 0.6198 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/7.613, allocations: 20 kB / 3.688 GB, free: 20.82 MB / 0.6198 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002122/7.616, allocations: 0.5539 MB / 3.689 GB, free: 20.4 MB / 0.6198 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004396/7.62, allocations: 0.89 MB / 3.69 GB, free: 19.68 MB / 0.6198 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005475/7.625, allocations: 4.756 MB / 3.695 GB, free: 15.05 MB / 0.6198 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005696/7.631, allocations: 345.5 kB / 3.695 GB, free: 14.79 MB / 0.6198 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/7.632, allocations: 153.7 kB / 3.695 GB, free: 14.66 MB / 0.6198 GB
Notification: Model statistics after passing the back-end for initialization:
* Number of independent subsystems: 79
* Number of states: 0 ()
* Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart)
* Number of discrete states: 0 ()
* Top-level inputs: 0
Notification: Strong component statistics for initialization (394):
* Single equations (assignments): 390
* Array equations: 0
* Algorithm blocks: 2
* Record equations: 0
* When equations: 0
* If-equations: 0
* Equation systems (linear and non-linear blocks): 0
* Torn equation systems: 2
* Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
* Linear torn systems: 0
* Non-linear torn systems: 2 {1 17,1 1}
Notification: Performance of prepare postOptimizeDAE: time 0.001221/7.633, allocations: 294 kB / 3.695 GB, free: 14.37 MB / 0.6198 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/7.635, allocations: 379.4 kB / 3.696 GB, free: 13.99 MB / 0.6198 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008082/7.643, allocations: 4.542 MB / 3.7 GB, free: 10.16 MB / 0.6198 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.312e-05/7.643, allocations: 38.77 kB / 3.7 GB, free: 10.13 MB / 0.6198 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/7.643, allocations: 3.938 kB / 3.7 GB, free: 10.13 MB / 0.6198 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004787/7.648, allocations: 3.58 MB / 3.704 GB, free: 6.895 MB / 0.6198 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/7.665, allocations: 9.573 MB / 3.713 GB, free: 14.3 MB / 0.6355 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/7.665, allocations: 8 kB / 3.713 GB, free: 14.29 MB / 0.6355 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003787/7.669, allocations: 0.7529 MB / 3.714 GB, free: 13.54 MB / 0.6355 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/7.669, allocations: 104 kB / 3.714 GB, free: 13.43 MB / 0.6355 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003179/7.669, allocations: 107.9 kB / 3.714 GB, free: 13.33 MB / 0.6355 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/7.671, allocations: 1.5 MB / 3.715 GB, free: 11.69 MB / 0.6355 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/7.671, allocations: 11.94 kB / 3.715 GB, free: 11.68 MB / 0.6355 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/7.682, allocations: 6.961 MB / 3.722 GB, free: 4.332 MB / 0.6355 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.003861/7.686, allocations: 1.062 MB / 3.723 GB, free: 3.246 MB / 0.6355 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/7.687, allocations: 79.92 kB / 3.723 GB, free: 3.168 MB / 0.6355 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004142/7.691, allocations: 323.4 kB / 3.724 GB, free: 2.852 MB / 0.6355 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003839/7.692, allocations: 213.9 kB / 3.724 GB, free: 2.641 MB / 0.6355 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003144/7.692, allocations: 135.9 kB / 3.724 GB, free: 2.508 MB / 0.6355 GB
Notification: Performance of sorting global known variables: time 0.4177/8.11, allocations: 2.57 MB / 3.726 GB, free: 86.16 MB / 0.6355 GB
Notification: Performance of sort global known variables: time 1.002e-06/8.11, allocations: 0.5625 kB / 3.726 GB, free: 86.16 MB / 0.6355 GB
Notification: Performance of remove unused functions: time 0.009476/8.119, allocations: 2.088 MB / 3.728 GB, free: 86.16 MB / 0.6355 GB
Notification: Model statistics after passing the back-end for simulation:
* Number of independent subsystems: 35
* Number of states: 11 (solCol.port_a.h_outflow,solCol.port_b.h_outflow,solCol.vol[2].ports[2].h_outflow,solCol.vol[3].ports[2].h_outflow,solCol.vol[4].ports[2].h_outflow,solCol.vol[5].ports[2].h_outflow,solCol.vol[6].ports[2].h_outflow,solCol.vol[7].ports[2].h_outflow,solCol.vol[8].ports[2].h_outflow,TOut.T,TIn.T)
* Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart)
* Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart)
* Top-level inputs: 0
Notification: Strong component statistics for simulation (321):
* Single equations (assignments): 305
* Array equations: 0
* Algorithm blocks: 0
* Record equations: 13
* When equations: 2
* 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: 0
* Non-linear torn systems: 1 {1 2}
Notification: Performance of Backend phase and start with SimCode phase: time 0.003233/8.123, allocations: 1.595 MB / 3.73 GB, free: 86 MB / 0.6355 GB
Notification: Performance of simCode: created initialization part: time 0.0123/8.135, allocations: 7.16 MB / 3.737 GB, free: 85.19 MB / 0.6355 GB
Notification: Performance of simCode: created event and clocks part: time 1.356e-05/8.135, allocations: 0 / 3.737 GB, free: 85.19 MB / 0.6355 GB
Notification: Performance of simCode: created simulation system equations: time 0.00307/8.138, allocations: 1.966 MB / 3.739 GB, free: 85.06 MB / 0.6355 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01035/8.149, allocations: 2.025 MB / 3.741 GB, free: 85.03 MB / 0.6355 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/8.169, allocations: 8.455 MB / 3.749 GB, free: 83.32 MB / 0.6355 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/8.171, allocations: 3.123 MB / 3.752 GB, free: 82.54 MB / 0.6355 GB
Notification: Performance of simCode: alias equations: time 0.01156/8.183, allocations: 3.041 MB / 3.755 GB, free: 82.47 MB / 0.6355 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/8.185, allocations: 338.7 kB / 3.756 GB, free: 82.46 MB / 0.6355 GB
Notification: Performance of SimCode: time 1.243e-06/8.185, allocations: 0 / 3.756 GB, free: 82.46 MB / 0.6355 GB
Notification: Performance of Templates: time 0.1483/8.333, allocations: 105.5 MB / 3.859 GB, free: 70.89 MB / 0.6355 GB
make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile
(rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)