Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [/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.2045/0.2066, allocations: 80.84 MB / 0.6707 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003566/0.2102, allocations: 1.488 MB / 0.6721 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.212, allocations: 0.9394 MB / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.2121, allocations: 0 / 0.673 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.2124, allocations: 51.75 kB / 0.6731 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.494e-05/0.2125, allocations: 15.84 kB / 0.6731 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008224/0.2133, allocations: 195 kB / 0.6733 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.2135, allocations: 47.67 kB / 0.6733 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.108e-05/0.2136, allocations: 7.938 kB / 0.6733 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2137, allocations: 23.86 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.893e-05/0.2137, allocations: 11.94 kB / 0.6734 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2138, allocations: 4 kB / 0.6734 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005424/0.2143, allocations: 175.7 kB / 0.6735 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.2143, allocations: 3.984 kB / 0.6735 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.2144, allocations: 19.88 kB / 0.6736 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.2146, allocations: 123.6 kB / 0.6737 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2147, allocations: 0 / 0.6737 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2147, allocations: 0 / 0.6737 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.2147, allocations: 4 kB / 0.6737 GB, free: 14.89 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004306/0.2151, allocations: 359.3 kB / 0.674 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2152, allocations: 20.02 kB / 0.674 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.019e-05/0.2153, allocations: 80.12 kB / 0.6741 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.2156, allocations: 259.6 kB / 0.6744 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/0.2157, allocations: 154.9 kB / 0.6745 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.2159, allocations: 154.5 kB / 0.6747 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.45e-05/0.2159, allocations: 105 kB / 0.6748 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.216, allocations: 75.28 kB / 0.6748 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.901e-05/0.2161, allocations: 150.6 kB / 0.675 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.164e-05/0.2162, allocations: 158.5 kB / 0.6751 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.49e-05/0.2162, allocations: 154.6 kB / 0.6753 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.2167, allocations: 465.8 kB / 0.6757 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.2168, allocations: 181 kB / 0.6759 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.2168, allocations: 84.12 kB / 0.676 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.217, allocations: 79.27 kB / 0.676 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.217, allocations: 105.8 kB / 0.6761 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.217, allocations: 4 kB / 0.6761 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.701e-05/0.2171, allocations: 33.64 kB / 0.6762 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.2172, allocations: 126.7 kB / 0.6763 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.2174, allocations: 135.6 kB / 0.6764 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2174, allocations: 29.7 kB / 0.6765 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.2174, allocations: 88.12 kB / 0.6765 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-06/0.2174, allocations: 0 / 0.6765 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.2175, allocations: 17.72 kB / 0.6766 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2176, allocations: 322.8 kB / 0.6769 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.2177, allocations: 3.984 kB / 0.6769 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.2177, allocations: 4 kB / 0.6769 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.038e-05/0.2177, allocations: 16.8 kB / 0.6769 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.2177, allocations: 3.938 kB / 0.6769 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001258/0.2179, allocations: 53.62 kB / 0.6769 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2179, allocations: 4 kB / 0.6769 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.2179, allocations: 0 / 0.6769 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/0.218, allocations: 0 / 0.6769 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.877e-06/0.218, allocations: 8.062 kB / 0.677 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.218, allocations: 0 / 0.677 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.218, allocations: 3.906 kB / 0.677 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.218, allocations: 0 / 0.677 GB, free: 11.29 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.2181, allocations: 193 kB / 0.6771 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.2182, allocations: 101 kB / 0.6772 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.407e-05/0.2183, allocations: 124.6 kB / 0.6774 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.283e-05/0.2184, allocations: 188.3 kB / 0.6775 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.577e-05/0.2184, allocations: 180.2 kB / 0.6777 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.138e-05/0.2185, allocations: 180.3 kB / 0.6779 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.2188, allocations: 417.1 kB / 0.6783 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-05/0.2188, allocations: 108.9 kB / 0.6784 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.2189, allocations: 101 kB / 0.6785 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.928e-05/0.219, allocations: 184.2 kB / 0.6787 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.958e-05/0.219, allocations: 176.3 kB / 0.6788 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.371e-05/0.2191, allocations: 184.2 kB / 0.679 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.572e-05/0.2192, allocations: 188.2 kB / 0.6792 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.2194, allocations: 311.6 kB / 0.6795 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.2196, allocations: 189.9 kB / 0.6797 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.2197, allocations: 184.2 kB / 0.6798 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.2199, allocations: 104.9 kB / 0.6799 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.2199, allocations: 176.3 kB / 0.6801 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.22, allocations: 112.9 kB / 0.6802 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.173e-05/0.2201, allocations: 109.4 kB / 0.6803 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2201, allocations: 0 / 0.6803 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003057/0.2204, allocations: 31.94 kB / 0.6803 GB, free: 7.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002978/0.2207, allocations: 218.5 kB / 0.6806 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.973e-05/0.2209, allocations: 37.7 kB / 0.6806 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.136e-05/0.2209, allocations: 0 / 0.6806 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.2209, allocations: 3.938 kB / 0.6806 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.2215, allocations: 467.7 kB / 0.681 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.2219, allocations: 226.9 kB / 0.6813 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.2223, allocations: 0.6846 MB / 0.6819 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.113e-05/0.2223, allocations: 4 kB / 0.6819 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.518e-05/0.2223, allocations: 7.438 kB / 0.6819 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.2223, allocations: 0 / 0.6819 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of Templates: time 0.004206/0.2265, allocations: 1.534 MB / 0.6834 GB, free: 4.398 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)