Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.005283/0.005283, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.001191/0.001191, allocations: 200 kB / 16.68 MB, free: 5.922 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.758/0.758, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 64.03 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.146, allocations: 80.21 MB / 0.6593 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002545/0.1486, allocations: 1.429 MB / 0.6607 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004172/0.1528, allocations: 2.877 MB / 0.6635 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.1529, allocations: 0 / 0.6635 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.1529, allocations: 7.922 kB / 0.6635 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.341e-05/0.1531, allocations: 11.86 kB / 0.6635 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.157, allocations: 1.59 MB / 0.665 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.835e-05/0.1571, allocations: 47.67 kB / 0.6651 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.1572, allocations: 7.984 kB / 0.6651 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.048e-05/0.1572, allocations: 15.94 kB / 0.6651 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.11e-05/0.1573, allocations: 15.92 kB / 0.6651 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1573, allocations: 4 kB / 0.6651 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002318/0.1596, allocations: 1.525 MB / 0.6666 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.1596, allocations: 0 / 0.6666 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.1597, allocations: 23.86 kB / 0.6666 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.1614, allocations: 1.095 MB / 0.6677 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1614, allocations: 0 / 0.6677 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1615, allocations: 4 kB / 0.6677 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.1615, allocations: 0 / 0.6677 GB, free: 2.074 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.0007358/0.1622, allocations: 0.5301 MB / 0.6682 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1623, allocations: 11.97 kB / 0.6682 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.1623, allocations: 106 kB / 0.6683 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.1624, allocations: 80.22 kB / 0.6684 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1625, allocations: 243.6 kB / 0.6686 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.1626, allocations: 158.5 kB / 0.6688 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.1626, allocations: 150.6 kB / 0.6689 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.615e-05/0.1627, allocations: 104.9 kB / 0.669 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.1627, allocations: 75.28 kB / 0.6691 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.1628, allocations: 154.5 kB / 0.6693 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.1628, allocations: 154.6 kB / 0.6694 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.612e-05/0.1629, allocations: 162.5 kB / 0.6696 GB, free: 64 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.1632, allocations: 473.7 kB / 0.67 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.658e-05/0.1632, allocations: 169.1 kB / 0.6702 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.1633, allocations: 80.14 kB / 0.6703 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1633, allocations: 79.28 kB / 0.6703 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1633, allocations: 105.8 kB / 0.6704 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1633, allocations: 0 / 0.6704 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.778e-05/0.1634, allocations: 29.7 kB / 0.6705 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.1635, allocations: 130.6 kB / 0.6706 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.1636, allocations: 139.9 kB / 0.6707 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.1637, allocations: 25.7 kB / 0.6707 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.1637, allocations: 96.12 kB / 0.6708 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-06/0.1637, allocations: 4 kB / 0.6708 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.1638, allocations: 13.72 kB / 0.6708 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.1638, allocations: 322.8 kB / 0.6712 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.1639, allocations: 4 kB / 0.6712 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.775e-05/0.1639, allocations: 8 kB / 0.6712 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.712e-05/0.1639, allocations: 12.91 kB / 0.6712 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1639, allocations: 0 / 0.6712 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001251/0.1641, allocations: 61.62 kB / 0.6712 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1641, allocations: 4 kB / 0.6712 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.1641, allocations: 7.938 kB / 0.6712 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.1642, allocations: 0 / 0.6712 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.1642, allocations: 0 / 0.6712 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1642, allocations: 4 kB / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.1642, allocations: 4.062 kB / 0.6713 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1642, allocations: 0 / 0.6713 GB, free: 14.19 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 0.0001072/0.1643, allocations: 189.1 kB / 0.6714 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/0.1644, allocations: 108.9 kB / 0.6715 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.1645, allocations: 120.6 kB / 0.6717 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.467e-05/0.1646, allocations: 180.3 kB / 0.6718 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.661e-05/0.1647, allocations: 176.3 kB / 0.672 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.03e-05/0.1647, allocations: 188.1 kB / 0.6722 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.165, allocations: 417.1 kB / 0.6726 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.345e-05/0.1651, allocations: 112.9 kB / 0.6727 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.1652, allocations: 105 kB / 0.6728 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.639e-05/0.1652, allocations: 176.3 kB / 0.6729 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/0.1653, allocations: 180.2 kB / 0.6731 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.786e-05/0.1654, allocations: 180.2 kB / 0.6733 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-05/0.1654, allocations: 188.2 kB / 0.6735 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.1655, allocations: 303.8 kB / 0.6738 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.1656, allocations: 193.9 kB / 0.6739 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.1657, allocations: 180.3 kB / 0.6741 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.1657, allocations: 108.9 kB / 0.6742 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.1658, allocations: 180.3 kB / 0.6744 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.1658, allocations: 105 kB / 0.6745 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.668e-05/0.1659, allocations: 101.1 kB / 0.6746 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1659, allocations: 3.938 kB / 0.6746 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007763/0.1667, allocations: 279.8 kB / 0.6749 GB, free: 10.27 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.001512/0.1682, allocations: 1.178 MB / 0.676 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.1683, allocations: 37.7 kB / 0.676 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1683, allocations: 4.062 kB / 0.6761 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/0.1684, allocations: 7.938 kB / 0.6761 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.1687, allocations: 463.7 kB / 0.6765 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.1703, allocations: 1.59 MB / 0.6781 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.1705, allocations: 0.6923 MB / 0.6787 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.534e-05/0.1706, allocations: 0 / 0.6787 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.1706, allocations: 19.44 kB / 0.6787 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.1706, allocations: 0 / 0.6787 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.1965, allocations: 7.053 MB / 0.6856 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.632/7.829, allocations: 16.45 kB / 0.6857 GB, free: 15.28 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)