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.7445/0.7445, allocations: 132.4 MB / 139.9 MB, free: 15.39 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.0008819/0.000882, allocations: 165.6 kB / 171.8 MB, free: 2.023 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.367/1.367, allocations: 170.6 MB / 374.2 MB, free: 15.71 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.001785/0.001785, allocations: 124.2 kB / 444.8 MB, free: 9.23 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.4541/0.4541, allocations: 73.4 MB / 0.6666 GB, free: 46.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.904/6.358, allocations: 2.409 GB / 3.075 GB, free: 171.1 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/6.358, allocations: 93.64 kB / 3.076 GB, free: 171.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.836/8.194, allocations: 0.5038 GB / 3.579 GB, free: 74.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/8.194, allocations: 0 / 3.579 GB, free: 74.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0007674/8.195, allocations: 117.5 kB / 3.579 GB, free: 74.58 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.01538/8.21, allocations: 4.358 MB / 3.584 GB, free: 73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/8.21, allocations: 9.25 kB / 3.584 GB, free: 73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009894/8.22, allocations: 1.36 MB / 3.585 GB, free: 72.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03077/8.251, allocations: 12.05 MB / 3.597 GB, free: 71.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/8.251, allocations: 118.5 kB / 3.597 GB, free: 71.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001505/8.253, allocations: 228.7 kB / 3.597 GB, free: 71.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008959/8.262, allocations: 4.327 MB / 3.601 GB, free: 71.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008804/8.271, allocations: 4.41 MB / 3.606 GB, free: 71.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.223e-05/8.271, allocations: 13.62 kB / 3.606 GB, free: 71.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004087/8.271, allocations: 10.3 kB / 3.606 GB, free: 71.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-05/8.271, allocations: 117.9 kB / 3.606 GB, free: 71.16 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.0301/8.301, allocations: 18.61 MB / 3.624 GB, free: 63.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004939/8.306, allocations: 2.825 MB / 3.627 GB, free: 63.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002494/8.309, allocations: 1.626 MB / 3.628 GB, free: 63.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/8.31, allocations: 1.036 MB / 3.629 GB, free: 62.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003101/8.313, allocations: 1.823 MB / 3.631 GB, free: 62.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=269): time 7.374e-06/8.313, allocations: 3.938 kB / 3.631 GB, free: 62.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=278): time 0.07531/8.389, allocations: 13.87 MB / 3.645 GB, free: 60.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/8.389, allocations: 290.9 kB / 3.645 GB, free: 60.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006733/8.396, allocations: 2.813 MB / 3.648 GB, free: 60.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.001046/8.397, allocations: 28.73 kB / 3.648 GB, free: 60.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002346/8.399, allocations: 1.828 MB / 3.65 GB, free: 59.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001653/8.401, allocations: 0.9103 MB / 3.65 GB, free: 58.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008062/8.402, allocations: 0 / 3.65 GB, free: 58.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000324/8.402, allocations: 434.1 kB / 3.651 GB, free: 57.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002941/8.405, allocations: 1.462 MB / 3.652 GB, free: 57.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003528/8.409, allocations: 2.155 MB / 3.654 GB, free: 55.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02274/8.431, allocations: 4.118 MB / 3.658 GB, free: 54.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.271e-05/8.431, allocations: 3.5 kB / 3.658 GB, free: 54.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.03235/8.464, allocations: 6.751 MB / 3.665 GB, free: 53.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001765/8.466, allocations: 7.543 MB / 3.672 GB, free: 45.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/8.466, allocations: 20.28 kB / 3.672 GB, free: 45.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/8.468, allocations: 0.5293 MB / 3.673 GB, free: 45.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004791/8.473, allocations: 0.8429 MB / 3.674 GB, free: 44.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005681/8.478, allocations: 4.551 MB / 3.678 GB, free: 41.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005635/8.484, allocations: 274.6 kB / 3.678 GB, free: 41.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/8.485, allocations: 160.4 kB / 3.679 GB, free: 41.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/8.485, allocations: 3.281 kB / 3.679 GB, free: 41.54 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03032/8.516, allocations: 6.383 MB / 3.685 GB, free: 39.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.465e-05/8.516, allocations: 18.75 kB / 3.685 GB, free: 39.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00244/8.518, allocations: 0.5669 MB / 3.685 GB, free: 39.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004659/8.523, allocations: 0.8271 MB / 3.686 GB, free: 39.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005633/8.529, allocations: 4.58 MB / 3.691 GB, free: 36.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005555/8.534, allocations: 251.9 kB / 3.691 GB, free: 36.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/8.536, allocations: 159.2 kB / 3.691 GB, free: 36.34 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: weaDat.tWetBul_TDryBulXi.XiSat:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation" type: Real 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 (385): * Single equations (assignments): 381 * 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.001992/8.538, allocations: 173.4 kB / 3.691 GB, free: 36.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/8.539, allocations: 346.8 kB / 3.692 GB, free: 36.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03023/8.569, allocations: 6.584 MB / 3.698 GB, free: 34.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.166e-05/8.57, allocations: 36.25 kB / 3.698 GB, free: 34.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/8.57, allocations: 0 / 3.698 GB, free: 34.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02515/8.595, allocations: 5.702 MB / 3.704 GB, free: 30.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04009/8.635, allocations: 11.12 MB / 3.714 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.858e-05/8.635, allocations: 8 kB / 3.714 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00381/8.639, allocations: 0.6664 MB / 3.715 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/8.64, allocations: 484.8 kB / 3.716 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006447/8.641, allocations: 72.91 kB / 3.716 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003854/8.644, allocations: 6.745 MB / 3.722 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/8.644, allocations: 19.44 kB / 3.722 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02919/8.674, allocations: 9.057 MB / 3.731 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003076/8.677, allocations: 1.016 MB / 3.732 GB, free: 5.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/8.678, allocations: 31.12 kB / 3.732 GB, free: 5.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003561/8.681, allocations: 267.2 kB / 3.732 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/8.682, allocations: 213 kB / 3.733 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003125/8.682, allocations: 135.2 kB / 3.733 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003369/8.685, allocations: 2.154 MB / 3.735 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.01e-07/8.685, allocations: 8 kB / 3.735 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.008112/8.694, allocations: 1.896 MB / 3.737 GB, free: 1.113 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,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 (285): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002863/8.696, allocations: 1.611 MB / 3.738 GB, free: 48 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01171/8.708, allocations: 6.612 MB / 3.745 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/8.708, allocations: 4 kB / 3.745 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003614/8.712, allocations: 1.93 MB / 3.747 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009555/8.721, allocations: 1.722 MB / 3.748 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4005/9.122, allocations: 8.098 MB / 3.756 GB, free: 81.28 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005506/9.128, allocations: 3.095 MB / 3.759 GB, free: 80.52 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01063/9.138, allocations: 2.713 MB / 3.762 GB, free: 80.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/9.139, allocations: 315.9 kB / 3.762 GB, free: 80.48 MB / 0.6355 GB Notification: Performance of SimCode: time 1.212e-06/9.139, allocations: 4.594 kB / 3.762 GB, free: 80.48 MB / 0.6355 GB Notification: Performance of Templates: time 0.1455/9.285, allocations: 85.39 MB / 3.846 GB, free: 75.87 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)