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.007652/0.007652, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.001542/0.001542, allocations: 184.9 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9601/0.9601, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 63.91 kB / 0.5852 GB, free: 3.762 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4771, allocations: 80.92 MB / 0.6642 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002369/0.4795, allocations: 1.429 MB / 0.6656 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00416/0.4837, allocations: 2.829 MB / 0.6684 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.4838, allocations: 0 / 0.6684 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.4839, allocations: 9.453 kB / 0.6684 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/0.484, allocations: 13.33 kB / 0.6684 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004144/0.4881, allocations: 1.561 MB / 0.6699 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.4882, allocations: 36.52 kB / 0.67 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.4883, allocations: 10.7 kB / 0.67 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.4883, allocations: 15.92 kB / 0.67 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.726e-05/0.4884, allocations: 19.09 kB / 0.67 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.4884, allocations: 0.9688 kB / 0.67 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002218/0.4906, allocations: 1.482 MB / 0.6715 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.4906, allocations: 4.984 kB / 0.6715 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.4907, allocations: 19.61 kB / 0.6715 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.4923, allocations: 1.066 MB / 0.6725 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4923, allocations: 1.125 kB / 0.6725 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4923, allocations: 0 / 0.6725 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.4923, allocations: 0 / 0.6725 GB, free: 1.359 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.000531/0.4928, allocations: 0.5122 MB / 0.673 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4929, allocations: 9.812 kB / 0.673 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.897e-05/0.4929, allocations: 107.6 kB / 0.6731 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.493, allocations: 81.62 kB / 0.6732 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.4931, allocations: 252.1 kB / 0.6735 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.4931, allocations: 154.5 kB / 0.6736 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.4931, allocations: 160.2 kB / 0.6738 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.397e-05/0.4932, allocations: 101 kB / 0.6739 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.4932, allocations: 75.28 kB / 0.6739 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.4933, allocations: 152 kB / 0.6741 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.4934, allocations: 150.6 kB / 0.6742 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.029e-05/0.4934, allocations: 155.1 kB / 0.6744 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.4937, allocations: 473.8 kB / 0.6748 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.743e-05/0.4938, allocations: 166.4 kB / 0.675 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.4938, allocations: 84.08 kB / 0.6751 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.4939, allocations: 75.28 kB / 0.6751 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.4939, allocations: 119.2 kB / 0.6752 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.4939, allocations: 0 / 0.6752 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.695e-05/0.494, allocations: 36.2 kB / 0.6753 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.4941, allocations: 130.7 kB / 0.6754 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.4943, allocations: 129.7 kB / 0.6755 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.4943, allocations: 25.7 kB / 0.6755 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.4943, allocations: 94.22 kB / 0.6756 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-06/0.4943, allocations: 1.188 kB / 0.6756 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.4944, allocations: 17.97 kB / 0.6757 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4945, allocations: 325 kB / 0.676 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.4945, allocations: 2.188 kB / 0.676 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.4946, allocations: 7.344 kB / 0.676 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.033e-05/0.4946, allocations: 10.17 kB / 0.676 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4946, allocations: 0 / 0.676 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001439/0.4948, allocations: 54.75 kB / 0.676 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4948, allocations: 5.219 kB / 0.676 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.4948, allocations: 7.594 kB / 0.676 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.4948, allocations: 0 / 0.676 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.4948, allocations: 0 / 0.676 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.4948, allocations: 1.188 kB / 0.6761 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.4949, allocations: 1.031 kB / 0.6761 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.4949, allocations: 1.125 kB / 0.6761 GB, free: 13.66 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 9.837e-05/0.495, allocations: 187.8 kB / 0.6762 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.654e-05/0.4951, allocations: 115.2 kB / 0.6763 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.4951, allocations: 123.1 kB / 0.6765 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.445e-05/0.4952, allocations: 177.3 kB / 0.6766 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.685e-05/0.4952, allocations: 185.4 kB / 0.6768 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.278e-05/0.4953, allocations: 181.4 kB / 0.677 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.4955, allocations: 423.7 kB / 0.6774 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.783e-05/0.4956, allocations: 106 kB / 0.6775 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.006e-05/0.4956, allocations: 102.1 kB / 0.6776 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.186e-05/0.4957, allocations: 180.2 kB / 0.6778 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.653e-05/0.4957, allocations: 181.4 kB / 0.6779 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.669e-05/0.4958, allocations: 181.4 kB / 0.6781 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.346e-05/0.4958, allocations: 181.3 kB / 0.6783 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.496, allocations: 317 kB / 0.6786 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.4961, allocations: 184.3 kB / 0.6787 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.756e-05/0.4961, allocations: 181.3 kB / 0.6789 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.4962, allocations: 106.1 kB / 0.679 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.527e-05/0.4963, allocations: 181.4 kB / 0.6792 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.4963, allocations: 110 kB / 0.6793 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.179e-05/0.4964, allocations: 101.5 kB / 0.6794 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4964, allocations: 3.938 kB / 0.6794 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009232/0.4973, allocations: 277.8 kB / 0.6797 GB, free: 9.973 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.00128/0.4986, allocations: 1.153 MB / 0.6808 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.4988, allocations: 41.42 kB / 0.6808 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4988, allocations: 0 / 0.6808 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.4988, allocations: 1.562 kB / 0.6808 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.4992, allocations: 470.9 kB / 0.6813 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.5005, allocations: 1.568 MB / 0.6828 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.5007, allocations: 0.6808 MB / 0.6835 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.648e-05/0.5007, allocations: 0 / 0.6835 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.5008, allocations: 16.84 kB / 0.6835 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of SimCode: time 1.613e-06/0.5008, allocations: 1.5 kB / 0.6835 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.5292, allocations: 6.846 MB / 0.6902 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.453, allocations: 6.047 kB / 0.6902 GB, free: 2.832 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)