Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007179/0.000718, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004003/0.004003, allocations: 171.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.4 MB / 222.5 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.595/1.595, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000475/0.000475, allocations: 12.28 kB / 0.6744 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.17, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001343/0.1714, allocations: 1.201 MB / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1725, allocations: 0.9475 MB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.1726, allocations: 4 kB / 0.7901 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.1727, allocations: 31.83 kB / 0.7901 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.306e-05/0.1728, allocations: 19.84 kB / 0.7902 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.1732, allocations: 174 kB / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.094e-05/0.1733, allocations: 47.73 kB / 0.7904 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.954e-05/0.1733, allocations: 0 / 0.7904 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.103e-05/0.1733, allocations: 19.92 kB / 0.7904 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.586e-05/0.1734, allocations: 11.88 kB / 0.7904 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.1734, allocations: 4 kB / 0.7904 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.1737, allocations: 155.8 kB / 0.7906 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.1737, allocations: 4 kB / 0.7906 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.1737, allocations: 49.48 kB / 0.7906 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.1739, allocations: 120 kB / 0.7907 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1739, allocations: 0 / 0.7907 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1739, allocations: 0 / 0.7907 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.1739, allocations: 0 / 0.7907 GB, free: 8.688 MB / 0.6075 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.0002655/0.1742, allocations: 367.3 kB / 0.7911 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1742, allocations: 8.031 kB / 0.7911 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.1743, allocations: 110 kB / 0.7912 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.1743, allocations: 84.12 kB / 0.7913 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1745, allocations: 258.2 kB / 0.7915 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.1745, allocations: 150.9 kB / 0.7917 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.1746, allocations: 154.9 kB / 0.7918 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.827e-05/0.1746, allocations: 117 kB / 0.7919 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.1747, allocations: 79.28 kB / 0.792 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.1747, allocations: 154.6 kB / 0.7921 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.1748, allocations: 150.6 kB / 0.7923 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.792e-05/0.1748, allocations: 154.5 kB / 0.7924 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.175, allocations: 461.9 kB / 0.7929 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.995e-05/0.1751, allocations: 177 kB / 0.793 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/0.1751, allocations: 80.14 kB / 0.7931 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1752, allocations: 75.28 kB / 0.7932 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.1752, allocations: 113.8 kB / 0.7933 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.1752, allocations: 0 / 0.7933 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.04e-05/0.1753, allocations: 37.61 kB / 0.7933 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1753, allocations: 130.6 kB / 0.7935 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.1754, allocations: 129.8 kB / 0.7936 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1755, allocations: 29.7 kB / 0.7936 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.1755, allocations: 88.12 kB / 0.7937 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.1755, allocations: 4 kB / 0.7937 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.1755, allocations: 9.719 kB / 0.7937 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.1756, allocations: 318.8 kB / 0.794 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.1756, allocations: 8 kB / 0.794 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.391e-05/0.1757, allocations: 8 kB / 0.794 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.1757, allocations: 8.859 kB / 0.794 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1757, allocations: 0 / 0.794 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.896e-05/0.1758, allocations: 57.47 kB / 0.7941 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/0.1758, allocations: 4 kB / 0.7941 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.1758, allocations: 4 kB / 0.7941 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.1758, allocations: 0 / 0.7941 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.1759, allocations: 0 / 0.7941 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.1759, allocations: 0 / 0.7941 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.1759, allocations: 11.91 kB / 0.7941 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.1759, allocations: 4 kB / 0.7941 GB, free: 4.973 MB / 0.6075 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 7.575e-05/0.176, allocations: 185.8 kB / 0.7943 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.176, allocations: 113 kB / 0.7944 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.1761, allocations: 116.8 kB / 0.7945 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.893e-05/0.1761, allocations: 176.3 kB / 0.7947 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.243e-05/0.1762, allocations: 188.3 kB / 0.7949 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.494e-05/0.1762, allocations: 180.2 kB / 0.795 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1764, allocations: 413.2 kB / 0.7954 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.109e-05/0.1765, allocations: 108.9 kB / 0.7955 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.1765, allocations: 105 kB / 0.7956 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.567e-05/0.1766, allocations: 188.2 kB / 0.7958 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.1766, allocations: 184.2 kB / 0.796 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.446e-05/0.1767, allocations: 180.2 kB / 0.7962 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.593e-05/0.1767, allocations: 180.2 kB / 0.7963 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.1768, allocations: 311.7 kB / 0.7966 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.1769, allocations: 193.9 kB / 0.7968 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.177, allocations: 180.3 kB / 0.797 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.177, allocations: 108.9 kB / 0.7971 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.1771, allocations: 180.2 kB / 0.7973 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.1771, allocations: 104.9 kB / 0.7974 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.1772, allocations: 110.4 kB / 0.7975 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1772, allocations: 4 kB / 0.7975 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002401/0.1774, allocations: 28 kB / 0.7975 GB, free: 1.285 MB / 0.6075 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.0004226/0.1779, allocations: 0.8515 MB / 0.7983 GB, free: 416 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.15e-05/0.1779, allocations: 37.7 kB / 0.7984 GB, free: 372 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1779, allocations: 4.062 kB / 0.7984 GB, free: 368 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.178, allocations: 3.938 kB / 0.7984 GB, free: 364 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.1784, allocations: 0.5302 MB / 0.7989 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.1793, allocations: 1.47 MB / 0.8003 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.1795, allocations: 0.6809 MB / 0.801 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.854e-05/0.1796, allocations: 3.984 kB / 0.801 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.1796, allocations: 19.38 kB / 0.801 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.1796, allocations: 0 / 0.801 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3673/0.5469, allocations: 2.502 MB / 0.8034 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.5472, allocations: 237.7 kB / 0.8037 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/2.776, allocations: 0 / 0.8037 GB, free: 10.96 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)