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.006311/0.00632, allocations: 105.2 kB / 15.74 MB, free: 6.035 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.001487/0.001487, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7244/0.7244, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 67.25 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1333, 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.00214/0.1355, allocations: 1.435 MB / 0.6607 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003717/0.1392, allocations: 2.868 MB / 0.6635 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.1393, allocations: 0 / 0.6635 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.1393, allocations: 7.922 kB / 0.6635 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-05/0.1394, allocations: 15.86 kB / 0.6635 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003612/0.1431, allocations: 1.589 MB / 0.665 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.229e-05/0.1432, allocations: 39.75 kB / 0.6651 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.1432, allocations: 11.97 kB / 0.6651 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.772e-05/0.1432, allocations: 15.94 kB / 0.6651 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.582e-05/0.1433, allocations: 15.88 kB / 0.6651 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.1433, allocations: 0 / 0.6651 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.1453, allocations: 1.532 MB / 0.6666 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.1454, allocations: 4 kB / 0.6666 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.1454, allocations: 27.86 kB / 0.6666 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.1468, allocations: 1.092 MB / 0.6677 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1468, allocations: 0 / 0.6677 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1468, allocations: 0 / 0.6677 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.1469, 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.0005521/0.1474, allocations: 0.5224 MB / 0.6682 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1475, allocations: 8.031 kB / 0.6682 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.1475, allocations: 106 kB / 0.6683 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.1476, allocations: 88.14 kB / 0.6684 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.1477, allocations: 253.5 kB / 0.6687 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.1478, allocations: 154.5 kB / 0.6688 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.1478, allocations: 150.6 kB / 0.669 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.36e-05/0.1479, allocations: 105 kB / 0.6691 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.1479, allocations: 75.28 kB / 0.6691 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.1479, allocations: 154.6 kB / 0.6693 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/0.148, allocations: 154.6 kB / 0.6694 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.323e-05/0.148, allocations: 154.5 kB / 0.6696 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.1483, allocations: 473.7 kB / 0.67 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.72e-05/0.1484, allocations: 169.1 kB / 0.6702 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.1484, allocations: 84.12 kB / 0.6703 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1484, allocations: 79.28 kB / 0.6703 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1485, allocations: 105.8 kB / 0.6704 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1485, allocations: 0 / 0.6704 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 6.911e-05/0.1486, allocations: 33.64 kB / 0.6705 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.1486, allocations: 126.7 kB / 0.6706 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1487, allocations: 137.7 kB / 0.6707 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.1488, allocations: 25.7 kB / 0.6707 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.1488, allocations: 96.12 kB / 0.6708 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.1488, allocations: 0 / 0.6708 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1488, allocations: 13.72 kB / 0.6708 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.1489, allocations: 326.8 kB / 0.6712 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.149, allocations: 0 / 0.6712 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.671e-05/0.149, allocations: 8 kB / 0.6712 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.149, allocations: 24.94 kB / 0.6712 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.149, allocations: 0 / 0.6712 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001162/0.1492, allocations: 49.55 kB / 0.6712 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1492, allocations: 11.98 kB / 0.6713 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.1492, allocations: 8.062 kB / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1492, allocations: 0 / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.1492, allocations: 0 / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1492, allocations: 0 / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.1493, allocations: 0 / 0.6713 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1493, allocations: 0 / 0.6713 GB, free: 14.2 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 7.908e-05/0.1494, allocations: 197 kB / 0.6714 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.1494, allocations: 120.8 kB / 0.6716 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.1495, allocations: 116.6 kB / 0.6717 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.868e-05/0.1495, allocations: 176.3 kB / 0.6718 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-05/0.1496, allocations: 184.2 kB / 0.672 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.066e-05/0.1496, allocations: 180.3 kB / 0.6722 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1499, allocations: 421.1 kB / 0.6726 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/0.1499, allocations: 105 kB / 0.6727 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.1499, allocations: 101 kB / 0.6728 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-05/0.15, allocations: 180.2 kB / 0.673 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.15, allocations: 180.3 kB / 0.6731 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.731e-05/0.1501, allocations: 184.2 kB / 0.6733 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.782e-05/0.1501, allocations: 180.2 kB / 0.6735 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.1503, allocations: 307.7 kB / 0.6738 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.1503, allocations: 186 kB / 0.6739 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.1504, allocations: 192.2 kB / 0.6741 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.1505, allocations: 101 kB / 0.6742 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.1505, allocations: 184.3 kB / 0.6744 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.1506, allocations: 104.9 kB / 0.6745 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.1506, allocations: 97.3 kB / 0.6746 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1506, allocations: 0 / 0.6746 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007001/0.1513, allocations: 283.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.001205/0.1525, allocations: 1.179 MB / 0.676 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.883e-05/0.1526, allocations: 41.64 kB / 0.6761 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1527, allocations: 0 / 0.6761 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.1527, allocations: 0 / 0.6761 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.153, allocations: 463.7 kB / 0.6765 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.1543, allocations: 1.6 MB / 0.6781 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.1545, allocations: 0.6807 MB / 0.6787 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.35e-05/0.1545, allocations: 0 / 0.6787 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.1545, allocations: 19.42 kB / 0.6787 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1545, allocations: 0 / 0.6787 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.1778, allocations: 7.046 MB / 0.6856 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/7.756, allocations: 16.8 kB / 0.6856 GB, free: 15.3 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)