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.009576/0.009576, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.002091/0.002091, allocations: 187.4 kB / 16.67 MB, free: 5.977 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.998/0.998, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 71.89 kB / 0.5852 GB, free: 3.754 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/0.4656, allocations: 80.91 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002834/0.4685, allocations: 1.437 MB / 0.6656 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004459/0.473, allocations: 2.867 MB / 0.6684 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.4731, allocations: 4 kB / 0.6684 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.4731, allocations: 3.984 kB / 0.6684 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.923e-05/0.4732, allocations: 18.23 kB / 0.6685 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004417/0.4776, allocations: 1.588 MB / 0.67 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.4777, allocations: 42.11 kB / 0.6701 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.4778, allocations: 6.766 kB / 0.6701 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.994e-05/0.4778, allocations: 15.84 kB / 0.6701 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.059e-05/0.4779, allocations: 19.77 kB / 0.6701 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.4779, allocations: 5.344 kB / 0.6701 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.4804, allocations: 1.523 MB / 0.6716 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.4805, allocations: 9 kB / 0.6716 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.4805, allocations: 20.56 kB / 0.6716 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.4828, allocations: 1.089 MB / 0.6727 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4828, allocations: 0 / 0.6727 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.025e-06/0.4828, allocations: 0 / 0.6727 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.4828, allocations: 0 / 0.6727 GB, free: 1.266 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.001019/0.4839, allocations: 0.5263 MB / 0.6732 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.4839, allocations: 9.156 kB / 0.6732 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.484, allocations: 106 kB / 0.6733 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.484, allocations: 82.72 kB / 0.6734 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.4842, allocations: 255.4 kB / 0.6736 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.4842, allocations: 155.9 kB / 0.6738 GB, free: 128 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.4843, allocations: 150.6 kB / 0.6739 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.698e-05/0.4843, allocations: 106.4 kB / 0.674 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.4844, allocations: 79.27 kB / 0.6741 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.4844, allocations: 150.6 kB / 0.6742 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.109e-05/0.4845, allocations: 159.7 kB / 0.6744 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.4846, allocations: 150.6 kB / 0.6745 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.485, allocations: 474.2 kB / 0.675 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.083e-05/0.4851, allocations: 166.7 kB / 0.6751 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.4851, allocations: 80.14 kB / 0.6752 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.4852, allocations: 75.28 kB / 0.6753 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.588e-05/0.4852, allocations: 111.4 kB / 0.6754 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.4853, allocations: 0 / 0.6754 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.674e-05/0.4854, allocations: 36.61 kB / 0.6754 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.4854, allocations: 126.7 kB / 0.6756 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.4856, allocations: 134.3 kB / 0.6757 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.4857, allocations: 25.7 kB / 0.6757 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.4857, allocations: 98.28 kB / 0.6758 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.4857, allocations: 16 / 0.6758 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.4858, allocations: 19 kB / 0.6758 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4859, allocations: 325.5 kB / 0.6761 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.486, allocations: 2.656 kB / 0.6761 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.486, allocations: 7.328 kB / 0.6761 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/0.4861, allocations: 11.23 kB / 0.6761 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4861, allocations: 0 / 0.6761 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001602/0.4862, allocations: 55.75 kB / 0.6762 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4863, allocations: 5.5 kB / 0.6762 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.4863, allocations: 11.09 kB / 0.6762 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4863, allocations: 5.531 kB / 0.6762 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.4863, allocations: 0 / 0.6762 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4863, allocations: 0 / 0.6762 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/0.4864, allocations: 8.719 kB / 0.6762 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.4864, allocations: 1.156 kB / 0.6762 GB, free: 13.54 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.0001253/0.4865, allocations: 188.5 kB / 0.6764 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.4866, allocations: 112 kB / 0.6765 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.4867, allocations: 118 kB / 0.6766 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.572e-05/0.4867, allocations: 185.4 kB / 0.6768 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.769e-05/0.4868, allocations: 181.3 kB / 0.677 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.289e-05/0.4869, allocations: 177.4 kB / 0.6772 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.4872, allocations: 416.2 kB / 0.6775 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/0.4873, allocations: 110.1 kB / 0.6777 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/0.4873, allocations: 105 kB / 0.6778 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.889e-05/0.4874, allocations: 185.3 kB / 0.6779 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/0.4875, allocations: 181.4 kB / 0.6781 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-05/0.4876, allocations: 177.3 kB / 0.6783 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-05/0.4876, allocations: 181.4 kB / 0.6784 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.4878, allocations: 317.2 kB / 0.6787 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.659e-05/0.4879, allocations: 192.2 kB / 0.6789 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.93e-05/0.488, allocations: 181.3 kB / 0.6791 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.4881, allocations: 102.1 kB / 0.6792 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.4881, allocations: 181.4 kB / 0.6794 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.4882, allocations: 112.9 kB / 0.6795 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.273e-05/0.4883, allocations: 103.5 kB / 0.6796 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4883, allocations: 0 / 0.6796 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001053/0.4893, allocations: 278.4 kB / 0.6798 GB, free: 9.859 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.001866/0.4912, allocations: 1.166 MB / 0.681 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.4913, allocations: 46.25 kB / 0.681 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4913, allocations: 1.531 kB / 0.681 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.4913, allocations: 0 / 0.681 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.4918, allocations: 464.2 kB / 0.6815 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.4935, allocations: 1.601 MB / 0.683 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.4938, allocations: 0.6855 MB / 0.6837 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.817e-05/0.4938, allocations: 0 / 0.6837 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.4939, allocations: 21.78 kB / 0.6837 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of SimCode: time 3.8e-07/0.4939, allocations: 0 / 0.6837 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.5219, allocations: 7.051 MB / 0.6906 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.427, allocations: 15.27 kB / 0.6906 GB, free: 2.582 MB / 0.5137 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)