Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7218/0.7218, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.001115/0.001115, allocations: 175.3 kB / 176.9 MB, free: 2.305 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.424/1.424, allocations: 170.5 MB / 379.3 MB, free: 11.91 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.001592/0.001592, allocations: 114.1 kB / 450 MB, free: 5.863 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.4485/0.4486, allocations: 73.39 MB / 0.6736 GB, free: 47.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.954/5.403, allocations: 2.409 GB / 3.083 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/5.403, allocations: 92.17 kB / 3.083 GB, free: 158.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.702/7.105, allocations: 0.5056 GB / 3.589 GB, free: 76.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.525e-06/7.105, allocations: 0 / 3.589 GB, free: 76.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000601/7.105, allocations: 121.6 kB / 3.589 GB, free: 76.29 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: 939 * Number of variables: 939 Notification: Performance of Generate backend data structure: time 0.01287/7.118, allocations: 4.348 MB / 3.593 GB, free: 74.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.313e-05/7.118, allocations: 10.41 kB / 3.593 GB, free: 74.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009126/7.127, allocations: 1.362 MB / 3.595 GB, free: 74.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02598/7.153, allocations: 12.09 MB / 3.606 GB, free: 73.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/7.154, allocations: 278.7 kB / 3.607 GB, free: 73.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/7.155, allocations: 381.4 kB / 3.607 GB, free: 73.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008447/7.164, allocations: 4.96 MB / 3.612 GB, free: 70.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/7.164, allocations: 12.09 kB / 3.612 GB, free: 70.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004251/7.164, allocations: 166.7 kB / 3.612 GB, free: 70.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.445e-05/7.164, allocations: 113.8 kB / 3.612 GB, free: 70.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007207/7.172, allocations: 4.604 MB / 3.617 GB, free: 69.32 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.02695/7.199, allocations: 19.59 MB / 3.636 GB, free: 56.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/7.203, allocations: 3.007 MB / 3.639 GB, free: 55.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/7.205, allocations: 1.708 MB / 3.64 GB, free: 54.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/7.206, allocations: 1.029 MB / 3.641 GB, free: 53.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002881/7.209, allocations: 1.95 MB / 3.643 GB, free: 53.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=272): time 5.741e-06/7.209, allocations: 0 / 3.643 GB, free: 53.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=290): time 0.01616/7.225, allocations: 8.585 MB / 3.652 GB, free: 49.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/7.225, allocations: 288.8 kB / 3.652 GB, free: 49.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004624/7.23, allocations: 3.281 MB / 3.655 GB, free: 47.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006264/7.23, allocations: 84.42 kB / 3.655 GB, free: 47.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00148/7.232, allocations: 1.825 MB / 3.657 GB, free: 46.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009108/7.233, allocations: 0.9868 MB / 3.658 GB, free: 45.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/7.233, allocations: 65.59 kB / 3.658 GB, free: 45.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001738/7.233, allocations: 440.6 kB / 3.658 GB, free: 45.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/7.235, allocations: 1.6 MB / 3.66 GB, free: 44.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/7.238, allocations: 2.301 MB / 3.662 GB, free: 43.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/7.241, allocations: 2.019 MB / 3.664 GB, free: 42.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/7.241, allocations: 3.844 kB / 3.664 GB, free: 42.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.008589/7.249, allocations: 4.976 MB / 3.669 GB, free: 40.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001361/7.251, allocations: 7.389 MB / 3.676 GB, free: 32.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/7.251, allocations: 16.81 kB / 3.676 GB, free: 32.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/7.253, allocations: 0.5354 MB / 3.677 GB, free: 32.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005522/7.258, allocations: 1.076 MB / 3.678 GB, free: 32.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005897/7.264, allocations: 5.386 MB / 3.683 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005082/7.269, allocations: 351.3 kB / 3.683 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005943/7.27, allocations: 161.5 kB / 3.684 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/7.27, allocations: 4 kB / 3.684 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007428/7.278, allocations: 4.631 MB / 3.688 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/7.278, allocations: 23.98 kB / 3.688 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002111/7.28, allocations: 0.5647 MB / 3.689 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/7.283, allocations: 0.8777 MB / 3.69 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005023/7.288, allocations: 4.752 MB / 3.694 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/7.293, allocations: 343.2 kB / 3.695 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003363/7.293, allocations: 158.5 kB / 3.695 GB, free: 16.24 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (393): * Single equations (assignments): 388 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0007855/7.294, allocations: 293.5 kB / 3.695 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008088/7.295, allocations: 379.3 kB / 3.695 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007798/7.303, allocations: 4.562 MB / 3.7 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/7.303, allocations: 38.78 kB / 3.7 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/7.303, allocations: 0 / 3.7 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004742/7.307, allocations: 3.592 MB / 3.703 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/7.322, allocations: 9.234 MB / 3.712 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/7.322, allocations: 11.56 kB / 3.712 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004658/7.326, allocations: 0.9447 MB / 3.713 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/7.327, allocations: 92.73 kB / 3.713 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000256/7.327, allocations: 103.9 kB / 3.713 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003847/7.331, allocations: 2.976 MB / 3.716 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/7.331, allocations: 4 kB / 3.716 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/7.341, allocations: 6.507 MB / 3.723 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003569/7.345, allocations: 1.058 MB / 3.724 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009253/7.346, allocations: 67.98 kB / 3.724 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003834/7.35, allocations: 343.3 kB / 3.724 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004531/7.35, allocations: 212.9 kB / 3.724 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003409/7.35, allocations: 131.6 kB / 3.724 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004608/7.355, allocations: 2.578 MB / 3.727 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.61e-07/7.355, allocations: 0 / 3.727 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.4433/7.798, allocations: 2.084 MB / 3.729 GB, free: 87 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (324): * Single equations (assignments): 307 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003712/7.802, allocations: 1.582 MB / 3.731 GB, free: 86.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01502/7.817, allocations: 7.351 MB / 3.738 GB, free: 86.03 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/7.817, allocations: 2.5 kB / 3.738 GB, free: 86.03 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.005328/7.823, allocations: 2.323 MB / 3.74 GB, free: 85.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01159/7.834, allocations: 2.022 MB / 3.742 GB, free: 85.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/7.855, allocations: 8.337 MB / 3.75 GB, free: 84.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003155/7.858, allocations: 3.118 MB / 3.753 GB, free: 83.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0131/7.871, allocations: 3.051 MB / 3.756 GB, free: 83.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/7.873, allocations: 331.7 kB / 3.756 GB, free: 83.39 MB / 0.6355 GB Notification: Performance of SimCode: time 2.144e-06/7.873, allocations: 1.594 kB / 3.756 GB, free: 83.39 MB / 0.6355 GB Notification: Performance of Templates: time 0.1609/8.034, allocations: 105.5 MB / 3.859 GB, free: 71.41 MB / 0.6355 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)