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.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9506/0.9506, allocations: 175.7 MB / 480.1 MB, free: 2.824 MB / 366.1 MB " [Timeout remaining time 179] 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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 67.66 kB / 0.6678 GB, free: 10.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.149, allocations: 94.53 MB / 0.7601 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002274/0.1513, allocations: 1.444 MB / 0.7616 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004061/0.1553, allocations: 2.938 MB / 0.7644 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.1554, allocations: 0 / 0.7644 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.1554, allocations: 7.875 kB / 0.7644 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.1554, allocations: 19.84 kB / 0.7645 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003324/0.1588, allocations: 1.592 MB / 0.766 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.1588, allocations: 39.75 kB / 0.766 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.1589, allocations: 11.92 kB / 0.7661 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.408e-05/0.1589, allocations: 11.94 kB / 0.7661 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.772e-05/0.1589, allocations: 19.88 kB / 0.7661 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1589, allocations: 4 kB / 0.7661 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.1611, allocations: 1.576 MB / 0.7676 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.1611, allocations: 3.938 kB / 0.7676 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.1611, allocations: 19.88 kB / 0.7677 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.1625, allocations: 1.116 MB / 0.7687 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1625, allocations: 3.984 kB / 0.7687 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1625, allocations: 0 / 0.7687 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1625, allocations: 0 / 0.7687 GB, free: 7.98 MB / 0.5762 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.0006114/0.1631, allocations: 0.5363 MB / 0.7693 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1631, allocations: 8.031 kB / 0.7693 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/0.1632, allocations: 106 kB / 0.7694 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.1633, allocations: 84.17 kB / 0.7695 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.1634, allocations: 261.3 kB / 0.7697 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-05/0.1635, allocations: 154.5 kB / 0.7699 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-05/0.1636, allocations: 150.6 kB / 0.77 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.191e-05/0.1636, allocations: 112.9 kB / 0.7701 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.1637, allocations: 79.27 kB / 0.7702 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.297e-05/0.1637, allocations: 150.6 kB / 0.7703 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.24e-05/0.1638, allocations: 154.6 kB / 0.7705 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.83e-05/0.1639, allocations: 154.6 kB / 0.7706 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.1642, allocations: 469.9 kB / 0.7711 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.062e-05/0.1643, allocations: 169.1 kB / 0.7712 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.588e-05/0.1643, allocations: 84.14 kB / 0.7713 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.1643, allocations: 79.28 kB / 0.7714 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.1644, allocations: 105.8 kB / 0.7715 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.1644, allocations: 0 / 0.7715 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.802e-05/0.1644, allocations: 33.66 kB / 0.7715 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.1645, allocations: 130.7 kB / 0.7716 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1646, allocations: 135.9 kB / 0.7718 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.1647, allocations: 29.64 kB / 0.7718 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.1647, allocations: 92.14 kB / 0.7719 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.1647, allocations: 3.938 kB / 0.7719 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.1647, allocations: 17.7 kB / 0.7719 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1649, allocations: 322.8 kB / 0.7722 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.1649, allocations: 0 / 0.7722 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.1649, allocations: 11.94 kB / 0.7722 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.1649, allocations: 16.89 kB / 0.7722 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1649, allocations: 3.984 kB / 0.7723 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001147/0.1651, allocations: 53.66 kB / 0.7723 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1651, allocations: 4 kB / 0.7723 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.1651, allocations: 4 kB / 0.7723 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1651, allocations: 0 / 0.7723 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.595e-06/0.1651, allocations: 3.938 kB / 0.7723 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.1651, allocations: 0 / 0.7723 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.224e-05/0.1651, allocations: 7.891 kB / 0.7723 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.1651, allocations: 4 kB / 0.7723 GB, free: 4.07 MB / 0.5762 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.0001033/0.1652, allocations: 193.1 kB / 0.7725 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.1653, allocations: 105 kB / 0.7726 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.654e-05/0.1653, allocations: 104.9 kB / 0.7727 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.967e-05/0.1654, allocations: 188.2 kB / 0.7729 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.724e-05/0.1655, allocations: 180.2 kB / 0.7731 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.59e-05/0.1656, allocations: 184.2 kB / 0.7732 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.1658, allocations: 413.2 kB / 0.7736 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.39e-05/0.1659, allocations: 109 kB / 0.7737 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.1659, allocations: 104.9 kB / 0.7738 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.433e-05/0.166, allocations: 180.2 kB / 0.774 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/0.1661, allocations: 188.3 kB / 0.7742 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.37e-05/0.1661, allocations: 180.3 kB / 0.7744 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-05/0.1662, allocations: 180.2 kB / 0.7745 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.1663, allocations: 315.7 kB / 0.7748 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.869e-05/0.1664, allocations: 186 kB / 0.775 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/0.1665, allocations: 180.3 kB / 0.7752 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.1666, allocations: 108.9 kB / 0.7753 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.1667, allocations: 184.2 kB / 0.7755 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.1667, allocations: 101 kB / 0.7756 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.89e-05/0.1668, allocations: 95.27 kB / 0.7756 GB, free: 448 kB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1668, allocations: 0 / 0.7756 GB, free: 448 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006638/0.1674, allocations: 291 kB / 0.7759 GB, free: 156 kB / 0.5762 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.001279/0.1687, allocations: 1.19 MB / 0.7771 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.371e-05/0.1688, allocations: 37.7 kB / 0.7771 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1688, allocations: 0 / 0.7771 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/0.1688, allocations: 4 kB / 0.7771 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1692, allocations: 472.4 kB / 0.7776 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.1706, allocations: 1.6 MB / 0.7791 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1709, allocations: 0.6807 MB / 0.7798 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.264e-05/0.1709, allocations: 4 kB / 0.7798 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.1709, allocations: 19.36 kB / 0.7798 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.1709, allocations: 0 / 0.7798 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.2011, allocations: 7.024 MB / 0.7867 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.842, allocations: 3.938 kB / 0.7867 GB, free: 5.117 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.202214051998453]