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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.1894/0.1901, allocations: 82.22 MB / 0.5934 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.0319/0.222, allocations: 30.46 MB / 0.6231 GB, free: 7.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5761/0.7982, allocations: 134.5 MB / 0.7544 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.8005, allocations: 42.25 kB / 0.7545 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.8023, allocations: 0.5041 MB / 0.7549 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004669/0.8069, allocations: 1.523 MB / 0.7564 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004351/0.8113, allocations: 1.476 MB / 0.7579 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008897/0.8202, allocations: 6.739 MB / 0.7645 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006452/0.8267, allocations: 4.376 MB / 0.7687 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006755/0.8335, allocations: 2.725 MB / 0.7714 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005925/0.8394, allocations: 2.303 MB / 0.7736 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.8405, allocations: 173.5 kB / 0.7738 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004564/0.8451, allocations: 0.8868 MB / 0.7747 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.8462, allocations: 0.9089 MB / 0.7756 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002254/0.8485, allocations: 1.03 MB / 0.7766 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008124/0.8566, allocations: 6.668 MB / 0.7831 GB, free: 7.953 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8566, allocations: 0 / 0.7831 GB, free: 7.953 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8566, allocations: 0 / 0.7831 GB, free: 7.953 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002914/0.8569, allocations: 0 / 0.7831 GB, free: 7.953 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1009 * Number of variables: 1009 Notification: Performance of Generate backend data structure: time 0.01293/0.8699, allocations: 4.852 MB / 0.7878 GB, free: 5.098 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.8699, allocations: 11.72 kB / 0.7878 GB, free: 5.094 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.8809, allocations: 1.547 MB / 0.7893 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/0.8918, allocations: 4.211 MB / 0.7935 GB, free: 1.406 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.8921, allocations: 308.7 kB / 0.7937 GB, free: 1.234 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/0.8938, allocations: 401.9 kB / 0.7941 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/0.9085, allocations: 5.693 MB / 0.7997 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.623e-05/0.9086, allocations: 15.88 kB / 0.7997 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005232/0.9092, allocations: 164 kB / 0.7999 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.9093, allocations: 116 kB / 0.8 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.9233, allocations: 5.522 MB / 0.8054 GB, free: 5.406 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03913/0.9625, allocations: 20.4 MB / 0.8253 GB, free: 332 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009086/0.9716, allocations: 3.583 MB / 0.8288 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/0.9731, allocations: 1.008 MB / 0.8298 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005617/0.9787, allocations: 2.154 MB / 0.8319 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=272): time 8.015e-06/0.9788, allocations: 0 / 0.8319 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of matching and sorting (n=290): time 0.0332/1.012, allocations: 11.65 MB / 0.8433 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/1.012, allocations: 235.9 kB / 0.8435 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007731/1.02, allocations: 3.5 MB / 0.8469 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/1.021, allocations: 85.7 kB / 0.847 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002495/1.023, allocations: 1.917 MB / 0.8489 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001871/1.025, allocations: 0.9823 MB / 0.8498 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006509/1.026, allocations: 75.94 kB / 0.8499 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0003473/1.026, allocations: 432.7 kB / 0.8503 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004874/1.031, allocations: 1.806 MB / 0.8521 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005344/1.037, allocations: 2.497 MB / 0.8545 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005197/1.042, allocations: 2.164 MB / 0.8566 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/1.042, allocations: 8 kB / 0.8566 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=410) (initialization): time 0.01332/1.055, allocations: 5.28 MB / 0.8618 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.002893/1.058, allocations: 7.46 MB / 0.8691 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.903e-05/1.058, allocations: 16 kB / 0.8691 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/1.061, allocations: 0.5623 MB / 0.8696 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005049/1.066, allocations: 0.9477 MB / 0.8706 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008663/1.074, allocations: 6.377 MB / 0.8768 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004964/1.079, allocations: 319.3 kB / 0.8771 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000862/1.08, allocations: 159.9 kB / 0.8772 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/1.08, allocations: 6.344 kB / 0.8772 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01333/1.094, allocations: 4.939 MB / 0.8821 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.269e-05/1.094, allocations: 16 kB / 0.8821 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/1.096, allocations: 0.5953 MB / 0.8827 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00433/1.101, allocations: 0.8659 MB / 0.8835 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006795/1.107, allocations: 5.007 MB / 0.8884 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004687/1.112, allocations: 315.3 kB / 0.8887 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006784/1.113, allocations: 159.9 kB / 0.8888 GB, free: 13 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (392): * Single equations (assignments): 389 * Array equations: 0 * Algorithm blocks: 0 * 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.003758/1.117, allocations: 1.525 MB / 0.8903 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/1.118, allocations: 383.2 kB / 0.8907 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/1.131, allocations: 5.24 MB / 0.8958 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.989e-05/1.131, allocations: 39.98 kB / 0.8959 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.131, allocations: 7.891 kB / 0.8959 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009208/1.14, allocations: 4.284 MB / 0.9001 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02069/1.161, allocations: 9.785 MB / 0.9096 GB, free: 7.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/1.161, allocations: 8.062 kB / 0.9096 GB, free: 7.422 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003988/1.165, allocations: 0.7606 MB / 0.9104 GB, free: 6.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/1.166, allocations: 496.1 kB / 0.9108 GB, free: 6.145 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002623/1.166, allocations: 111.9 kB / 0.9109 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006446/1.173, allocations: 8.18 MB / 0.9189 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.173, allocations: 8 kB / 0.9189 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/1.189, allocations: 7.591 MB / 0.9263 GB, free: 5.48 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003246/1.192, allocations: 1.027 MB / 0.9273 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009248/1.193, allocations: 75.98 kB / 0.9274 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003583/1.196, allocations: 327.3 kB / 0.9277 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004631/1.197, allocations: 210 kB / 0.9279 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003277/1.197, allocations: 135.9 kB / 0.9281 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00485/1.202, allocations: 2.443 MB / 0.9305 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.21e-07/1.202, allocations: 4 kB / 0.9305 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.008357/1.211, allocations: 1.929 MB / 0.9323 GB, free: 15.33 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 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.002183/1.213, allocations: 0.8624 MB / 0.9332 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01851/1.231, allocations: 7.55 MB / 0.9406 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/1.231, allocations: 11.89 kB / 0.9406 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006404/1.238, allocations: 2.405 MB / 0.9429 GB, free: 4.684 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/1.248, allocations: 2.026 MB / 0.9449 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/1.27, allocations: 11.91 MB / 0.9565 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/1.273, allocations: 3.169 MB / 0.9596 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.008242/1.281, allocations: 2.02 MB / 0.9616 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/1.283, allocations: 403.1 kB / 0.962 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of SimCode: time 1.093e-06/1.283, allocations: 0 / 0.962 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of Templates: time 0.5293/1.812, allocations: 88.1 MB / 1.048 GB, free: 119.6 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: