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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001475, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9311/0.9311, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.25 kB / 0.5055 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1411, allocations: 80.92 MB / 0.5845 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002692/0.1439, allocations: 1.42 MB / 0.5859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004279/0.1482, allocations: 2.866 MB / 0.5887 GB, free: 56 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.1483, allocations: 0 / 0.5887 GB, free: 56 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.1483, allocations: 3.938 kB / 0.5887 GB, free: 52 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.327e-05/0.1484, allocations: 19.84 kB / 0.5887 GB, free: 32 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003921/0.1524, allocations: 1.568 MB / 0.5903 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.235e-05/0.1524, allocations: 51.61 kB / 0.5903 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.1525, allocations: 7.938 kB / 0.5903 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.25e-05/0.1525, allocations: 19.91 kB / 0.5904 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.181e-05/0.1526, allocations: 15.94 kB / 0.5904 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.1526, allocations: 0 / 0.5904 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.1546, allocations: 1.451 MB / 0.5918 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.1547, allocations: 15.91 kB / 0.5918 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.1547, allocations: 15.88 kB / 0.5918 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.1563, allocations: 1.096 MB / 0.5929 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1563, allocations: 0 / 0.5929 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1563, allocations: 0 / 0.5929 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.1563, allocations: 0 / 0.5929 GB, free: 11.81 MB / 0.4981 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.000635/0.1569, allocations: 0.5223 MB / 0.5934 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.157, allocations: 12.69 kB / 0.5934 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.157, allocations: 106 kB / 0.5935 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.1571, allocations: 84.12 kB / 0.5936 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1572, allocations: 253.6 kB / 0.5938 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.1573, allocations: 154.7 kB / 0.594 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.1573, allocations: 154.5 kB / 0.5941 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.502e-05/0.1574, allocations: 109 kB / 0.5942 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.1574, allocations: 75.28 kB / 0.5943 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.1575, allocations: 154.6 kB / 0.5944 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-05/0.1575, allocations: 154.6 kB / 0.5946 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.175e-05/0.1576, allocations: 158.4 kB / 0.5947 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.1578, allocations: 469.9 kB / 0.5952 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.988e-05/0.1579, allocations: 169.1 kB / 0.5954 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.1579, allocations: 84.19 kB / 0.5954 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.158, allocations: 79.28 kB / 0.5955 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.158, allocations: 113.8 kB / 0.5956 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.158, allocations: 4 kB / 0.5956 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.179e-05/0.1581, allocations: 29.61 kB / 0.5957 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.1582, allocations: 126.7 kB / 0.5958 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1583, allocations: 137.8 kB / 0.5959 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.1583, allocations: 25.7 kB / 0.5959 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.1583, allocations: 88.14 kB / 0.596 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.1584, allocations: 4 kB / 0.596 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.1584, allocations: 17.72 kB / 0.596 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.1585, allocations: 314.8 kB / 0.5963 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.1585, allocations: 8 kB / 0.5963 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.1585, allocations: 4 kB / 0.5963 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.963e-05/0.1586, allocations: 24.77 kB / 0.5964 GB, free: 8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1586, allocations: 4 kB / 0.5964 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001186/0.1587, allocations: 53.53 kB / 0.5964 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1587, allocations: 5.875 kB / 0.5964 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.1588, allocations: 4 kB / 0.5964 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1588, allocations: 0 / 0.5964 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.1588, allocations: 0 / 0.5964 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1588, allocations: 4 kB / 0.5964 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.1588, allocations: 0 / 0.5964 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.1588, allocations: 0 / 0.5964 GB, free: 7.926 MB / 0.4981 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.196e-05/0.1589, allocations: 196.4 kB / 0.5966 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.159, allocations: 112.8 kB / 0.5967 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.393e-05/0.159, allocations: 112.9 kB / 0.5968 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.873e-05/0.1591, allocations: 180.2 kB / 0.597 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-05/0.1591, allocations: 176.3 kB / 0.5972 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.006e-05/0.1592, allocations: 188.2 kB / 0.5974 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.1594, allocations: 417.1 kB / 0.5978 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.251e-05/0.1594, allocations: 105 kB / 0.5979 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.1595, allocations: 104.9 kB / 0.598 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.8e-05/0.1595, allocations: 180.2 kB / 0.5981 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-05/0.1596, allocations: 184.3 kB / 0.5983 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.826e-05/0.1596, allocations: 188.2 kB / 0.5985 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.825e-05/0.1597, allocations: 180.3 kB / 0.5987 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.1598, allocations: 319.6 kB / 0.599 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.1599, allocations: 182.1 kB / 0.5991 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.1599, allocations: 188.2 kB / 0.5993 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.16, allocations: 101 kB / 0.5994 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.16, allocations: 180.2 kB / 0.5996 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.1601, allocations: 109 kB / 0.5997 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.1601, allocations: 103.2 kB / 0.5998 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1601, allocations: 0 / 0.5998 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006939/0.1608, allocations: 279.8 kB / 0.6001 GB, free: 3.996 MB / 0.4981 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.001311/0.1622, allocations: 1.179 MB / 0.6012 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.046e-05/0.1623, allocations: 45.7 kB / 0.6012 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1623, allocations: 0 / 0.6012 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.205e-06/0.1623, allocations: 0 / 0.6012 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1626, allocations: 459.7 kB / 0.6017 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.164, allocations: 1.602 MB / 0.6032 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2249/0.3889, allocations: 0.6839 MB / 0.6039 GB, free: 51.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.389, allocations: 0 / 0.6039 GB, free: 51.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.389, allocations: 16.33 kB / 0.6039 GB, free: 51.94 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.389, allocations: 0 / 0.6039 GB, free: 51.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.029/1.418, allocations: 7.043 MB / 0.6108 GB, free: 51.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.986/11.4, allocations: 14.83 kB / 0.6108 GB, free: 51.38 MB / 0.4981 GB (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)