Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.528/1.528, allocations: 288.4 MB / 303.6 MB, free: 7.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009056/0.0009056, allocations: 176.5 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.228/1.228, allocations: 205.4 MB / 0.631 GB, free: 9.934 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006256/0.0006256, allocations: 102.8 kB / 0.7444 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003421, allocations: 16.41 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1492, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001178/0.1504, allocations: 1.182 MB / 0.9814 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008905/0.1513, allocations: 0.8778 MB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.1514, allocations: 4 kB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.1515, allocations: 35.83 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.183e-05/0.1516, allocations: 11.86 kB / 0.9823 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.1519, allocations: 175.6 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.444e-05/0.152, allocations: 47.73 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.1521, allocations: 4 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.84e-05/0.1521, allocations: 15.88 kB / 0.9825 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.493e-05/0.1521, allocations: 11.88 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.1521, allocations: 4 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.1524, allocations: 139.8 kB / 0.9826 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.1524, allocations: 15.92 kB / 0.9827 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.1525, allocations: 41.58 kB / 0.9827 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.1526, allocations: 84.08 kB / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1526, allocations: 0 / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1526, allocations: 0 / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.1526, allocations: 0 / 0.9828 GB, free: 24.59 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002426/0.1528, allocations: 355.3 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1529, allocations: 12.03 kB / 0.9831 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.418e-05/0.1529, allocations: 110 kB / 0.9832 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.153, allocations: 84.12 kB / 0.9833 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1531, allocations: 259.5 kB / 0.9836 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1531, allocations: 154.9 kB / 0.9837 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.1531, allocations: 150.9 kB / 0.9838 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.296e-05/0.1532, allocations: 109 kB / 0.984 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1532, allocations: 79.28 kB / 0.984 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1532, allocations: 158.6 kB / 0.9842 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.1532, allocations: 150.6 kB / 0.9843 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.793e-05/0.1533, allocations: 150.6 kB / 0.9845 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.1534, allocations: 465.9 kB / 0.9849 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.612e-05/0.1535, allocations: 177.1 kB / 0.9851 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.1535, allocations: 80.14 kB / 0.9852 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.1535, allocations: 75.28 kB / 0.9852 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.1535, allocations: 109.8 kB / 0.9853 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.1535, allocations: 0 / 0.9853 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.513e-05/0.1536, allocations: 41.59 kB / 0.9854 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.1536, allocations: 130.7 kB / 0.9855 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.1537, allocations: 127.5 kB / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.1537, allocations: 25.7 kB / 0.9856 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.1537, allocations: 92.14 kB / 0.9857 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.1538, allocations: 3.938 kB / 0.9857 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.1538, allocations: 0 / 0.9857 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.1538, allocations: 322.8 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.1538, allocations: 0 / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.118e-05/0.1538, allocations: 8 kB / 0.9861 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.1539, allocations: 12.91 kB / 0.9861 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1539, allocations: 0 / 0.9861 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.425e-05/0.154, allocations: 57.52 kB / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.154, allocations: 4 kB / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.154, allocations: 4 kB / 0.9861 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.154, allocations: 3.938 kB / 0.9861 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.154, allocations: 0 / 0.9861 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.154, allocations: 3.938 kB / 0.9861 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.154, allocations: 7.844 kB / 0.9861 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.1541, allocations: 8.062 kB / 0.9861 GB, free: 20.9 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/0.1541, allocations: 181.1 kB / 0.9863 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.1541, allocations: 117 kB / 0.9864 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.019e-05/0.1542, allocations: 108.9 kB / 0.9865 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.1542, allocations: 184.2 kB / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/0.1542, allocations: 176.3 kB / 0.9869 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.1542, allocations: 188.2 kB / 0.9871 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.1544, allocations: 413.2 kB / 0.9875 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.1544, allocations: 104.9 kB / 0.9876 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.1544, allocations: 105.1 kB / 0.9877 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.123e-05/0.1544, allocations: 184.2 kB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.1545, allocations: 192.2 kB / 0.988 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.153e-05/0.1545, allocations: 176.3 kB / 0.9882 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.17e-05/0.1545, allocations: 184.2 kB / 0.9884 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.645e-05/0.1546, allocations: 307.7 kB / 0.9887 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.1546, allocations: 193.9 kB / 0.9888 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.1547, allocations: 184.3 kB / 0.989 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.1547, allocations: 101 kB / 0.9891 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.1547, allocations: 184.2 kB / 0.9893 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1548, allocations: 105 kB / 0.9894 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.1548, allocations: 104.8 kB / 0.9895 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1548, allocations: 0 / 0.9895 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002363/0.155, allocations: 36 kB / 0.9895 GB, free: 17.23 MB / 0.6198 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 (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.0002842/0.1553, allocations: 0.8553 MB / 0.9904 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.094e-05/0.1554, allocations: 37.69 kB / 0.9904 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.1554, allocations: 0 / 0.9904 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.1554, allocations: 4.062 kB / 0.9904 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.1557, allocations: 0.5315 MB / 0.9909 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.1562, allocations: 0.5591 MB / 0.9915 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.635e-05/0.1563, allocations: 0.6809 MB / 0.9921 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.647e-05/0.1563, allocations: 0 / 0.9921 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.1563, allocations: 15.42 kB / 0.9921 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of SimCode: time 1.9e-07/0.1564, allocations: 11.94 kB / 0.9921 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2839/0.4402, allocations: 2.487 MB / 0.9946 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.4405, allocations: 226 kB / 0.9948 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.216, allocations: 0 / 0.9948 GB, free: 11.91 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)