Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.006715/0.006715, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001328/0.001328, allocations: 196.8 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8371/0.8371, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 58.94 kB / 0.5852 GB, free: 21.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.151, allocations: 80.92 MB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002733/0.1538, allocations: 1.428 MB / 0.6656 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004689/0.1585, allocations: 2.829 MB / 0.6684 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.491e-05/0.1586, allocations: 0 / 0.6684 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.1586, allocations: 0 / 0.6684 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.927e-05/0.1588, allocations: 15.84 kB / 0.6684 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.1632, allocations: 1.561 MB / 0.6699 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.873e-05/0.1633, allocations: 39.73 kB / 0.67 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.1633, allocations: 4 kB / 0.67 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.156e-05/0.1634, allocations: 19.92 kB / 0.67 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.1634, allocations: 7.938 kB / 0.67 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1634, allocations: 4 kB / 0.67 GB, free: 364 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.1656, allocations: 1.485 MB / 0.6714 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.1657, allocations: 11.92 kB / 0.6715 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.1657, allocations: 15.88 kB / 0.6715 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.1673, allocations: 1.065 MB / 0.6725 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1673, allocations: 4 kB / 0.6725 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1673, allocations: 0 / 0.6725 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.1673, allocations: 0 / 0.6725 GB, free: 13.77 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.0006673/0.168, allocations: 0.5208 MB / 0.673 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.168, allocations: 8.031 kB / 0.673 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.1681, allocations: 106 kB / 0.6731 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.1681, allocations: 84.12 kB / 0.6732 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1683, allocations: 259.5 kB / 0.6735 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/0.1683, allocations: 154.5 kB / 0.6736 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.1684, allocations: 150.6 kB / 0.6738 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.467e-05/0.1685, allocations: 105 kB / 0.6739 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.1685, allocations: 79.28 kB / 0.6739 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.1686, allocations: 154.6 kB / 0.6741 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.1686, allocations: 154.6 kB / 0.6742 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.549e-05/0.1687, allocations: 154.5 kB / 0.6744 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.1689, allocations: 465.9 kB / 0.6748 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.293e-05/0.169, allocations: 169.1 kB / 0.675 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.169, allocations: 84.14 kB / 0.6751 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1691, allocations: 75.28 kB / 0.6751 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.1691, allocations: 109.8 kB / 0.6752 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1691, allocations: 4 kB / 0.6752 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.475e-05/0.1692, allocations: 29.61 kB / 0.6753 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1693, allocations: 130.7 kB / 0.6754 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1694, allocations: 131.4 kB / 0.6755 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1694, allocations: 29.69 kB / 0.6755 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.1695, allocations: 96.08 kB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.1695, allocations: 0 / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.1695, allocations: 13.72 kB / 0.6756 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.1696, allocations: 326.8 kB / 0.676 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.1696, allocations: 8 kB / 0.676 GB, free: 10 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.427e-05/0.1696, allocations: 0 / 0.676 GB, free: 10 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/0.1697, allocations: 24.83 kB / 0.676 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1697, allocations: 0 / 0.676 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001169/0.1698, allocations: 49.59 kB / 0.676 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1698, allocations: 4 kB / 0.676 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.1699, allocations: 4 kB / 0.676 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1699, allocations: 0 / 0.676 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1699, allocations: 0 / 0.676 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1699, allocations: 0 / 0.676 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.1699, allocations: 7.938 kB / 0.6761 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1699, allocations: 0 / 0.6761 GB, free: 9.906 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 8.091e-05/0.17, allocations: 190.4 kB / 0.6762 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.1701, allocations: 120.9 kB / 0.6763 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.1701, allocations: 108.9 kB / 0.6765 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.162e-05/0.1702, allocations: 184.2 kB / 0.6766 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.015e-05/0.1703, allocations: 176.3 kB / 0.6768 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.074e-05/0.1703, allocations: 184.2 kB / 0.677 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.1705, allocations: 417.1 kB / 0.6774 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.753e-05/0.1706, allocations: 101 kB / 0.6775 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.1706, allocations: 112.9 kB / 0.6776 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.645e-05/0.1706, allocations: 180.3 kB / 0.6777 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/0.1707, allocations: 180.2 kB / 0.6779 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.921e-05/0.1708, allocations: 184.2 kB / 0.6781 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.821e-05/0.1708, allocations: 176.3 kB / 0.6783 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.1709, allocations: 315.6 kB / 0.6786 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.171, allocations: 186 kB / 0.6787 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.1711, allocations: 184.2 kB / 0.6789 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.1711, allocations: 109 kB / 0.679 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.1712, allocations: 184.2 kB / 0.6792 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.1712, allocations: 101 kB / 0.6793 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.1713, allocations: 101 kB / 0.6794 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1713, allocations: 3.938 kB / 0.6794 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007221/0.172, allocations: 275.8 kB / 0.6797 GB, free: 5.988 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.001312/0.1733, allocations: 1.148 MB / 0.6808 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.1735, allocations: 37.7 kB / 0.6808 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1735, allocations: 64 / 0.6808 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-06/0.1735, allocations: 4 kB / 0.6808 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1739, allocations: 463.7 kB / 0.6813 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1752, allocations: 1.585 MB / 0.6828 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1754, allocations: 0.6885 MB / 0.6835 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.67e-05/0.1754, allocations: 0 / 0.6835 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.1754, allocations: 11.44 kB / 0.6835 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1755, allocations: 0 / 0.6835 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.2037, allocations: 6.859 MB / 0.6902 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.276, allocations: 20.3 kB / 0.6902 GB, free: 11.24 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)