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.InternalResistancesTwoUTubeNegative.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.001399/0.001399, allocations: 109 kB / 17.54 MB, free: 4.746 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.001406/0.001406, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.273/1.273, allocations: 225.6 MB / 249.3 MB, free: 3.164 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.9609/0.9609, allocations: 175.7 MB / 480.1 MB, free: 2.789 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 68.59 kB / 0.6678 GB, free: 10.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1498, allocations: 94.53 MB / 0.7602 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00226/0.1521, allocations: 1.433 MB / 0.7616 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003952/0.156, allocations: 2.938 MB / 0.7644 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.156, allocations: 0 / 0.7644 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.1561, allocations: 7.922 kB / 0.7644 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.012e-05/0.1561, allocations: 15.86 kB / 0.7644 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.1594, allocations: 1.592 MB / 0.766 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.427e-05/0.1594, allocations: 47.73 kB / 0.766 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.1595, allocations: 7.938 kB / 0.7661 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.513e-05/0.1595, allocations: 23.92 kB / 0.7661 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.576e-05/0.1595, allocations: 7.938 kB / 0.7661 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.1595, allocations: 4 kB / 0.7661 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.1616, allocations: 1.579 MB / 0.7676 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.1616, allocations: 7.938 kB / 0.7676 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.1617, allocations: 15.88 kB / 0.7677 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.163, allocations: 1.118 MB / 0.7687 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.163, allocations: 0 / 0.7687 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.163, allocations: 0 / 0.7687 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.485e-06/0.163, allocations: 0 / 0.7687 GB, free: 7.969 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.0005852/0.1636, allocations: 0.5324 MB / 0.7693 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.1636, allocations: 8.031 kB / 0.7693 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.1637, allocations: 106 kB / 0.7694 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.1637, allocations: 84.17 kB / 0.7695 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.1639, allocations: 255.5 kB / 0.7697 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.164, allocations: 158.5 kB / 0.7699 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.942e-05/0.164, allocations: 158.6 kB / 0.77 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.925e-05/0.1641, allocations: 105 kB / 0.7701 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.1641, allocations: 83.2 kB / 0.7702 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.1642, allocations: 150.6 kB / 0.7703 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.959e-05/0.1642, allocations: 158.5 kB / 0.7705 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.509e-05/0.1643, allocations: 150.6 kB / 0.7706 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.1646, allocations: 469.9 kB / 0.7711 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.236e-05/0.1647, allocations: 165.1 kB / 0.7712 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.1647, allocations: 92.08 kB / 0.7713 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.1648, allocations: 75.28 kB / 0.7714 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.1648, allocations: 109.8 kB / 0.7715 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.1648, allocations: 0 / 0.7715 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.797e-05/0.1649, allocations: 33.66 kB / 0.7715 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.1649, allocations: 126.7 kB / 0.7716 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1651, allocations: 135.7 kB / 0.7718 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1651, allocations: 25.7 kB / 0.7718 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.1651, allocations: 92.12 kB / 0.7719 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-06/0.1651, allocations: 3.938 kB / 0.7719 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.1652, allocations: 17.72 kB / 0.7719 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1653, allocations: 322.8 kB / 0.7722 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.1653, allocations: 11.94 kB / 0.7722 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307e-05/0.1653, allocations: 0 / 0.7722 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.498e-05/0.1654, allocations: 16.89 kB / 0.7722 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1654, allocations: 7.938 kB / 0.7722 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001155/0.1655, allocations: 53.64 kB / 0.7723 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1655, allocations: 4 kB / 0.7723 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.1655, allocations: 4 kB / 0.7723 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1655, allocations: 0 / 0.7723 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.1655, allocations: 0 / 0.7723 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.1655, allocations: 0 / 0.7723 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.1656, allocations: 7.891 kB / 0.7723 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1656, allocations: 4 kB / 0.7723 GB, free: 4.062 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 9.853e-05/0.1657, allocations: 193 kB / 0.7725 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.1657, allocations: 105 kB / 0.7726 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.1658, allocations: 112.8 kB / 0.7727 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.895e-05/0.1658, allocations: 184.2 kB / 0.7729 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.547e-05/0.1659, allocations: 176.3 kB / 0.7731 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-05/0.166, allocations: 180.2 kB / 0.7732 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.1662, allocations: 425.1 kB / 0.7736 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-05/0.1663, allocations: 105 kB / 0.7737 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.885e-05/0.1663, allocations: 104.9 kB / 0.7738 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.856e-05/0.1664, allocations: 180.3 kB / 0.774 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/0.1664, allocations: 184.3 kB / 0.7742 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.005e-05/0.1665, allocations: 188.2 kB / 0.7744 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.787e-05/0.1666, allocations: 176.3 kB / 0.7745 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.1667, allocations: 311.7 kB / 0.7748 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.55e-05/0.1668, allocations: 194 kB / 0.775 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.1669, allocations: 180.3 kB / 0.7752 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.167, allocations: 105 kB / 0.7753 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.167, allocations: 180.2 kB / 0.7755 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.1671, allocations: 101 kB / 0.7755 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.928e-05/0.1671, allocations: 104.8 kB / 0.7756 GB, free: 432 kB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1671, allocations: 4 kB / 0.7757 GB, free: 428 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006156/0.1678, allocations: 283 kB / 0.7759 GB, free: 144 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.001249/0.169, allocations: 1.186 MB / 0.7771 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 9.192e-05/0.1691, allocations: 41.69 kB / 0.7771 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1691, allocations: 0 / 0.7771 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1691, allocations: 0 / 0.7771 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1695, allocations: 467.6 kB / 0.7776 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.1708, allocations: 1.607 MB / 0.7791 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.1711, allocations: 0.6846 MB / 0.7798 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.035e-05/0.1711, allocations: 0 / 0.7798 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.1711, allocations: 15.44 kB / 0.7798 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.1711, allocations: 0 / 0.7798 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.2011, allocations: 7.033 MB / 0.7867 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/7.638, allocations: 5.641 kB / 0.7867 GB, free: 5.102 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.034462362003978]