Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.005928/0.005928, allocations: 103 kB / 15.73 MB, free: 6.051 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.00123/0.00123, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.245/1.245, 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/package.mo): time 0.6948/0.6948, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 0.5809 GB, free: 8.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3767, allocations: 80.2 MB / 0.6593 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00213/0.3789, allocations: 1.416 MB / 0.6606 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003484/0.3824, allocations: 2.838 MB / 0.6634 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.3825, allocations: 0 / 0.6634 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.3825, allocations: 1.359 kB / 0.6634 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.174e-05/0.3826, allocations: 16.25 kB / 0.6634 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.386, allocations: 1.555 MB / 0.665 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.481e-05/0.3861, allocations: 44.81 kB / 0.665 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.3862, allocations: 6.25 kB / 0.665 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.741e-05/0.3862, allocations: 15.48 kB / 0.665 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.241e-05/0.3862, allocations: 11.12 kB / 0.665 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.3862, allocations: 2.125 kB / 0.665 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.3881, allocations: 1.485 MB / 0.6665 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.3881, allocations: 9.219 kB / 0.6665 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.3882, allocations: 14.72 kB / 0.6665 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.3894, allocations: 1.067 MB / 0.6675 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3894, allocations: 4 kB / 0.6675 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3894, allocations: 0 / 0.6675 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.3894, allocations: 0 / 0.6675 GB, free: 4.453 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.0004584/0.3899, allocations: 0.5082 MB / 0.668 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3899, allocations: 15 kB / 0.6681 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.674e-05/0.3899, allocations: 106 kB / 0.6682 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.39, allocations: 81.53 kB / 0.6682 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.715e-05/0.3901, allocations: 250.2 kB / 0.6685 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3901, allocations: 159.8 kB / 0.6686 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3902, allocations: 154.6 kB / 0.6688 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.057e-05/0.3902, allocations: 102.3 kB / 0.6689 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3902, allocations: 75.28 kB / 0.6689 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.3902, allocations: 154.5 kB / 0.6691 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.3903, allocations: 155.7 kB / 0.6692 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.986e-05/0.3903, allocations: 154.5 kB / 0.6694 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.3905, allocations: 469.9 kB / 0.6698 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.126e-05/0.3905, allocations: 166.8 kB / 0.67 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.3905, allocations: 84.14 kB / 0.6701 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.3906, allocations: 75.28 kB / 0.6701 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.3906, allocations: 115.1 kB / 0.6703 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3906, allocations: 3.938 kB / 0.6703 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.184e-05/0.3906, allocations: 32.23 kB / 0.6703 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.3907, allocations: 130.7 kB / 0.6704 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3908, allocations: 130 kB / 0.6705 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.891e-06/0.3908, allocations: 29.7 kB / 0.6706 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.3908, allocations: 97.62 kB / 0.6707 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-06/0.3908, allocations: 1.438 kB / 0.6707 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.3909, allocations: 13.31 kB / 0.6707 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.366e-05/0.3909, allocations: 325.2 kB / 0.671 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.3909, allocations: 2.812 kB / 0.671 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.468e-05/0.391, allocations: 6.75 kB / 0.671 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/0.391, allocations: 14.45 kB / 0.671 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.391, allocations: 4.031 kB / 0.671 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000109/0.3911, allocations: 46.56 kB / 0.6711 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3911, allocations: 5.844 kB / 0.6711 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.3912, allocations: 2.688 kB / 0.6711 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3912, allocations: 0 / 0.6711 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.874e-06/0.3912, allocations: 1.688 kB / 0.6711 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3912, allocations: 0 / 0.6711 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.3912, allocations: 3.906 kB / 0.6711 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.3912, allocations: 1.281 kB / 0.6711 GB, free: 0.7578 MB / 0.4981 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 5.368e-05/0.3913, allocations: 196.2 kB / 0.6713 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.3913, allocations: 115.8 kB / 0.6714 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.3914, allocations: 110 kB / 0.6715 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.3914, allocations: 181.4 kB / 0.6716 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.382e-05/0.3914, allocations: 181.4 kB / 0.6718 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.394e-05/0.3915, allocations: 181.8 kB / 0.672 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.3917, allocations: 423.6 kB / 0.6724 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/0.3917, allocations: 101 kB / 0.6725 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.3918, allocations: 110.3 kB / 0.6726 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.291e-05/0.3918, allocations: 177.5 kB / 0.6728 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.289e-05/0.3919, allocations: 181.5 kB / 0.6729 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-05/0.3919, allocations: 185.3 kB / 0.6731 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.716e-05/0.392, allocations: 176.3 kB / 0.6733 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.3921, allocations: 321.8 kB / 0.6736 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.3922, allocations: 183 kB / 0.6738 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/0.3923, allocations: 189.7 kB / 0.6739 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.3923, allocations: 106.5 kB / 0.6741 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.3924, allocations: 181.7 kB / 0.6742 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.3924, allocations: 105 kB / 0.6743 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.3925, allocations: 96.23 kB / 0.6744 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3925, allocations: 0 / 0.6744 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007255/0.3932, allocations: 277.9 kB / 0.6747 GB, free: 13.07 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.00117/0.3944, allocations: 1.153 MB / 0.6758 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.744e-05/0.3945, allocations: 36.67 kB / 0.6758 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3945, allocations: 3.938 kB / 0.6758 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.165e-06/0.3945, allocations: 5.156 kB / 0.6759 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3949, allocations: 463.5 kB / 0.6763 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3961, allocations: 1.572 MB / 0.6778 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.3963, allocations: 0.6837 MB / 0.6785 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.369e-05/0.3963, allocations: 1.406 kB / 0.6785 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.3963, allocations: 16.53 kB / 0.6785 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of SimCode: time 2.01e-07/0.3963, allocations: 1.562 kB / 0.6785 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.4205, allocations: 6.853 MB / 0.6852 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/7.937, allocations: 14.72 kB / 0.6852 GB, free: 5.93 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)