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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.006654/0.006654, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.001319/0.001319, allocations: 194.4 kB / 16.67 MB, free: 5.949 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9887/0.9887, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 59.91 kB / 0.5852 GB, free: 3.785 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4732, allocations: 80.91 MB / 0.6642 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002344/0.4756, allocations: 1.438 MB / 0.6656 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003799/0.4794, allocations: 2.871 MB / 0.6684 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.719e-05/0.4795, allocations: 1.188 kB / 0.6684 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.4795, allocations: 0 / 0.6684 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.483e-05/0.4796, allocations: 18.52 kB / 0.6685 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003703/0.4833, allocations: 1.589 MB / 0.67 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.4835, allocations: 46.02 kB / 0.6701 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.4835, allocations: 3.375 kB / 0.6701 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.855e-05/0.4835, allocations: 12.12 kB / 0.6701 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.836e-05/0.4836, allocations: 20.14 kB / 0.6701 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.4836, allocations: 0 / 0.6701 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.4857, allocations: 1.531 MB / 0.6716 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.4857, allocations: 5.438 kB / 0.6716 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.4857, allocations: 14.72 kB / 0.6716 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.487, allocations: 1.093 MB / 0.6727 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.487, allocations: 9.094 kB / 0.6727 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.487, allocations: 3.984 kB / 0.6727 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.487, allocations: 0 / 0.6727 GB, free: 1.27 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.0005046/0.4876, allocations: 0.5137 MB / 0.6732 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.4876, allocations: 10.38 kB / 0.6732 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.698e-05/0.4876, allocations: 106 kB / 0.6733 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.4877, allocations: 86.72 kB / 0.6734 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.4878, allocations: 251.3 kB / 0.6736 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.4878, allocations: 164.1 kB / 0.6738 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.4879, allocations: 150.6 kB / 0.6739 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.172e-05/0.488, allocations: 106.5 kB / 0.674 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.488, allocations: 75.28 kB / 0.6741 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.4881, allocations: 150.6 kB / 0.6742 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.184e-05/0.4881, allocations: 156.2 kB / 0.6744 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.698e-05/0.4882, allocations: 150.6 kB / 0.6745 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.4885, allocations: 469.5 kB / 0.675 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.506e-05/0.4886, allocations: 166.4 kB / 0.6751 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.4887, allocations: 84.14 kB / 0.6752 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.4887, allocations: 80.56 kB / 0.6753 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.4888, allocations: 105.8 kB / 0.6754 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4888, allocations: 0 / 0.6754 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.962e-05/0.4889, allocations: 41.39 kB / 0.6754 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.4889, allocations: 126.7 kB / 0.6756 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.4891, allocations: 138.8 kB / 0.6757 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.4891, allocations: 25.7 kB / 0.6757 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.4892, allocations: 94.3 kB / 0.6758 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.4892, allocations: 16 / 0.6758 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.4892, allocations: 18.75 kB / 0.6758 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4893, allocations: 321.1 kB / 0.6761 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.4894, allocations: 6.531 kB / 0.6761 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.4894, allocations: 3.859 kB / 0.6761 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.4894, allocations: 15.08 kB / 0.6761 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.4894, allocations: 4.031 kB / 0.6761 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001258/0.4896, allocations: 52.25 kB / 0.6762 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4896, allocations: 5.25 kB / 0.6762 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.4896, allocations: 8.031 kB / 0.6762 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4896, allocations: 0 / 0.6762 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.4896, allocations: 0 / 0.6762 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.4897, allocations: 0 / 0.6762 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.668e-05/0.4897, allocations: 13.14 kB / 0.6762 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4897, allocations: 1.469 kB / 0.6762 GB, free: 13.56 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.0001138/0.4898, allocations: 196.8 kB / 0.6764 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.4899, allocations: 107.2 kB / 0.6765 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.49, allocations: 118.7 kB / 0.6766 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.064e-05/0.49, allocations: 181.5 kB / 0.6768 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.861e-05/0.4901, allocations: 181.4 kB / 0.677 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.828e-05/0.4902, allocations: 181.3 kB / 0.6771 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.4905, allocations: 423.1 kB / 0.6776 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.234e-05/0.4905, allocations: 106.6 kB / 0.6777 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.4905, allocations: 102.5 kB / 0.6778 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.064e-05/0.4906, allocations: 184.2 kB / 0.6779 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-05/0.4907, allocations: 177.7 kB / 0.6781 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.405e-05/0.4908, allocations: 189.9 kB / 0.6783 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-05/0.4909, allocations: 180.3 kB / 0.6784 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.491, allocations: 312.5 kB / 0.6787 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.244e-05/0.4911, allocations: 184.7 kB / 0.6789 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-05/0.4912, allocations: 189.4 kB / 0.6791 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.4913, allocations: 102.1 kB / 0.6792 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.4914, allocations: 177.4 kB / 0.6794 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.4914, allocations: 112.9 kB / 0.6795 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.059e-05/0.4915, allocations: 103.7 kB / 0.6796 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4915, allocations: 0 / 0.6796 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001006/0.4925, allocations: 278 kB / 0.6798 GB, free: 9.871 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.001464/0.494, allocations: 1.173 MB / 0.681 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.4941, allocations: 50.72 kB / 0.681 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4941, allocations: 0 / 0.681 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.4941, allocations: 1.312 kB / 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.0004462/0.4946, allocations: 458.5 kB / 0.6815 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.4961, allocations: 1.597 MB / 0.683 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.4964, allocations: 0.6842 MB / 0.6837 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.422e-05/0.4964, allocations: 1.125 kB / 0.6837 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.4965, allocations: 16.94 kB / 0.6837 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4965, allocations: 0 / 0.6837 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.5263, allocations: 7.052 MB / 0.6906 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.59, allocations: 9.531 kB / 0.6906 GB, free: 2.598 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)