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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.009387/0.009388, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001962/0.001962, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9842/0.9842, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 63.91 kB / 0.5852 GB, free: 3.805 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4926/0.4941, allocations: 80.91 MB / 0.6642 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002033/0.4962, allocations: 1.414 MB / 0.6656 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003438/0.4996, allocations: 2.837 MB / 0.6684 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.4997, allocations: 0 / 0.6684 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.4997, allocations: 9.016 kB / 0.6684 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.4998, allocations: 13.39 kB / 0.6684 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003413/0.5032, allocations: 1.559 MB / 0.6699 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.652e-05/0.5033, allocations: 40.98 kB / 0.67 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.5034, allocations: 10.59 kB / 0.67 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.698e-05/0.5034, allocations: 19.23 kB / 0.67 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.563e-05/0.5034, allocations: 11.47 kB / 0.67 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.5035, allocations: 1.438 kB / 0.67 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.5054, allocations: 1.477 MB / 0.6715 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.5054, allocations: 14.08 kB / 0.6715 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.5054, allocations: 14.78 kB / 0.6715 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.507, allocations: 1.067 MB / 0.6725 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.507, allocations: 4 kB / 0.6725 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.565e-06/0.507, allocations: 4 kB / 0.6725 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.507, allocations: 0 / 0.6725 GB, free: 1.414 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.0006243/0.5076, allocations: 0.51 MB / 0.673 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.5077, allocations: 10.47 kB / 0.673 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.5077, allocations: 106 kB / 0.6731 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.5078, allocations: 83.16 kB / 0.6732 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.5079, allocations: 251.4 kB / 0.6735 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.446e-05/0.508, allocations: 159.6 kB / 0.6736 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.508, allocations: 150.6 kB / 0.6738 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.769e-05/0.5081, allocations: 106 kB / 0.6739 GB, free: 32 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.762e-05/0.5082, allocations: 79.28 kB / 0.6739 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/0.5082, allocations: 159.6 kB / 0.6741 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-05/0.5083, allocations: 150.6 kB / 0.6742 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.856e-05/0.5084, allocations: 155.5 kB / 0.6744 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.5087, allocations: 468.9 kB / 0.6748 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.5089, allocations: 170 kB / 0.675 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/0.5089, allocations: 81.27 kB / 0.6751 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.509, allocations: 79.28 kB / 0.6751 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/0.509, allocations: 107 kB / 0.6752 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.509, allocations: 0 / 0.6752 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 9.035e-05/0.5091, allocations: 32.05 kB / 0.6753 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.5092, allocations: 139.8 kB / 0.6754 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.5094, allocations: 128.2 kB / 0.6755 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.5094, allocations: 27.02 kB / 0.6756 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.5095, allocations: 94.7 kB / 0.6756 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-06/0.5095, allocations: 0 / 0.6756 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.5095, allocations: 14.38 kB / 0.6757 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.5097, allocations: 327.7 kB / 0.676 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.5098, allocations: 3.438 kB / 0.676 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.5098, allocations: 2.625 kB / 0.676 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.419e-05/0.5098, allocations: 14.89 kB / 0.676 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5099, allocations: 0 / 0.676 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001517/0.51, allocations: 54.94 kB / 0.676 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.51, allocations: 5.812 kB / 0.676 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.5101, allocations: 2.406 kB / 0.676 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.5101, allocations: 0 / 0.676 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.637e-06/0.5101, allocations: 4 kB / 0.6761 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5101, allocations: 1.219 kB / 0.6761 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.5101, allocations: 1.375 kB / 0.6761 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.5102, allocations: 3.938 kB / 0.6761 GB, free: 13.71 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.0001378/0.5103, allocations: 192.9 kB / 0.6762 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/0.5104, allocations: 115.5 kB / 0.6764 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.269e-05/0.5105, allocations: 107.8 kB / 0.6765 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.061e-05/0.5106, allocations: 184.2 kB / 0.6766 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.831e-05/0.5107, allocations: 185.8 kB / 0.6768 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-05/0.5108, allocations: 181.3 kB / 0.677 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.511, allocations: 415.5 kB / 0.6774 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-05/0.5111, allocations: 102 kB / 0.6775 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.035e-05/0.5111, allocations: 110 kB / 0.6776 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-05/0.5112, allocations: 180.2 kB / 0.6778 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.757e-05/0.5113, allocations: 181.3 kB / 0.6779 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.97e-05/0.5114, allocations: 177.4 kB / 0.6781 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.6e-05/0.5115, allocations: 181.5 kB / 0.6783 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.5116, allocations: 320.5 kB / 0.6786 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.877e-05/0.5118, allocations: 184.2 kB / 0.6787 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.931e-05/0.5119, allocations: 177.5 kB / 0.6789 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.512, allocations: 105.9 kB / 0.679 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.873e-05/0.5121, allocations: 189.4 kB / 0.6792 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.5121, allocations: 106.4 kB / 0.6793 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.756e-05/0.5122, allocations: 98.92 kB / 0.6794 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5122, allocations: 0 / 0.6794 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001068/0.5133, allocations: 278.6 kB / 0.6797 GB, free: 10.04 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.001642/0.5149, allocations: 1.16 MB / 0.6808 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.5151, allocations: 38.2 kB / 0.6808 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5151, allocations: 0 / 0.6808 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.858e-06/0.5151, allocations: 0 / 0.6808 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.5157, allocations: 479.1 kB / 0.6813 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.5175, allocations: 1.57 MB / 0.6828 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.5179, allocations: 0.6811 MB / 0.6835 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.727e-05/0.5179, allocations: 0 / 0.6835 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.5179, allocations: 22.2 kB / 0.6835 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.5179, allocations: 0 / 0.6835 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.5471, allocations: 6.84 MB / 0.6902 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.534, allocations: 13.19 kB / 0.6902 GB, free: 2.887 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)