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.147/0.1478, allocations: 82.22 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001707/0.1495, allocations: 1.167 MB / 0.5945 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1509, allocations: 0.8197 MB / 0.5953 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.226e-05/0.151, allocations: 3.938 kB / 0.5953 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.1512, allocations: 35.81 kB / 0.5954 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.361e-05/0.1512, allocations: 19.97 kB / 0.5954 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.1518, allocations: 174.8 kB / 0.5955 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.686e-05/0.1519, allocations: 27.95 kB / 0.5956 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.1519, allocations: 4 kB / 0.5956 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.475e-05/0.152, allocations: 27.84 kB / 0.5956 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.244e-05/0.152, allocations: 19.88 kB / 0.5956 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.152, allocations: 0 / 0.5956 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.1523, allocations: 143.8 kB / 0.5958 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.1524, allocations: 3.938 kB / 0.5958 GB, free: 3.543 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.1524, allocations: 29.7 kB / 0.5958 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.1526, allocations: 84.09 kB / 0.5959 GB, free: 3.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.1526, allocations: 0 / 0.5959 GB, free: 3.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.1526, allocations: 0 / 0.5959 GB, free: 3.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1526, allocations: 0 / 0.5959 GB, free: 3.426 MB / 446.1 MB 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.000344/0.153, allocations: 371 kB / 0.5962 GB, free: 3.016 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.153, allocations: 8.031 kB / 0.5962 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.1531, allocations: 83.19 kB / 0.5963 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.1533, allocations: 266.1 kB / 0.5966 GB, free: 2.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/0.1534, allocations: 150.6 kB / 0.5967 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.1534, allocations: 154.5 kB / 0.5969 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.359e-05/0.1535, allocations: 101 kB / 0.597 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1535, allocations: 83.28 kB / 0.597 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.1536, allocations: 150.6 kB / 0.5972 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/0.1536, allocations: 154.5 kB / 0.5973 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.416e-05/0.1537, allocations: 154.6 kB / 0.5975 GB, free: 1.684 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.154, allocations: 469.9 kB / 0.5979 GB, free: 1.176 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.02e-05/0.154, allocations: 169.2 kB / 0.5981 GB, free: 1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1541, allocations: 79.27 kB / 0.5982 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.1541, allocations: 109.8 kB / 0.5983 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1541, allocations: 0 / 0.5983 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.996e-05/0.1542, allocations: 37.55 kB / 0.5983 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.1543, allocations: 130.7 kB / 0.5984 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1544, allocations: 139.8 kB / 0.5986 GB, free: 488 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1544, allocations: 25.7 kB / 0.5986 GB, free: 456 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.1545, allocations: 92.12 kB / 0.5987 GB, free: 360 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.1545, allocations: 0 / 0.5987 GB, free: 360 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.1545, allocations: 0 / 0.5987 GB, free: 360 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1546, allocations: 314.8 kB / 0.599 GB, free: 36 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.1546, allocations: 4 kB / 0.599 GB, free: 32 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-06/0.1547, allocations: 8 kB / 0.599 GB, free: 24 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.1547, allocations: 4 kB / 0.599 GB, free: 20 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1547, allocations: 0 / 0.599 GB, free: 20 kB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001232/0.1548, allocations: 49.59 kB / 0.599 GB, free: 15.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1548, allocations: 11.89 kB / 0.599 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.1549, allocations: 4 kB / 0.599 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1549, allocations: 0 / 0.599 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.1549, allocations: 0 / 0.599 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1549, allocations: 3.938 kB / 0.599 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.1549, allocations: 4 kB / 0.5991 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1549, allocations: 4.062 kB / 0.5991 GB, free: 15.94 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.511e-05/0.155, allocations: 193.1 kB / 0.5992 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.1551, allocations: 112.9 kB / 0.5993 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.818e-05/0.1552, allocations: 116.8 kB / 0.5995 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.508e-05/0.1552, allocations: 180.2 kB / 0.5996 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.183e-05/0.1553, allocations: 184.2 kB / 0.5998 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.193e-05/0.1554, allocations: 184.2 kB / 0.6 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.1556, allocations: 409.3 kB / 0.6004 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.199e-05/0.1556, allocations: 108.9 kB / 0.6005 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.1557, allocations: 105 kB / 0.6006 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.119e-05/0.1557, allocations: 184.3 kB / 0.6008 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.94e-05/0.1558, allocations: 184.2 kB / 0.6009 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.837e-05/0.1559, allocations: 180.2 kB / 0.6011 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.769e-05/0.1559, allocations: 180.2 kB / 0.6013 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.1561, allocations: 315.8 kB / 0.6016 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.1562, allocations: 186 kB / 0.6018 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/0.1562, allocations: 180.3 kB / 0.6019 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.1563, allocations: 104.9 kB / 0.602 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.1564, allocations: 184.2 kB / 0.6022 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.1564, allocations: 105 kB / 0.6023 GB, free: 12.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.357e-05/0.1565, allocations: 105.1 kB / 0.6024 GB, free: 12.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1565, allocations: 0 / 0.6024 GB, free: 12.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1568, allocations: 32 kB / 0.6024 GB, free: 12.26 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002657/0.157, allocations: 214.4 kB / 0.6026 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.524e-05/0.1571, allocations: 33.7 kB / 0.6027 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1571, allocations: 4 kB / 0.6027 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.055e-06/0.1571, allocations: 0 / 0.6027 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1575, allocations: 0.5345 MB / 0.6032 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.1578, allocations: 243.7 kB / 0.6034 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1581, allocations: 0.6887 MB / 0.6041 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.251e-05/0.1582, allocations: 4 kB / 0.6041 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.1582, allocations: 7.438 kB / 0.6041 GB, free: 10.47 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1582, allocations: 0 / 0.6041 GB, free: 10.47 MB / 462.1 MB Notification: Performance of Templates: time 0.004277/0.1625, allocations: 1.456 MB / 0.6055 GB, free: 9.055 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: