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.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-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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_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_dev_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.004578/0.004578, allocations: 97.62 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.00126/0.00126, allocations: 199.8 kB / 16.68 MB, free: 5.969 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9248/0.9248, allocations: 135.5 MB / 426.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 67.89 kB / 0.5858 GB, free: 3.137 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.342, allocations: 81.03 MB / 0.665 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001896/0.3439, allocations: 1.41 MB / 0.6663 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003081/0.347, allocations: 2.837 MB / 0.6691 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.3471, allocations: 0 / 0.6691 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.3471, allocations: 3.984 kB / 0.6691 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-05/0.3472, allocations: 14.55 kB / 0.6691 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.35, allocations: 1.555 MB / 0.6706 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.975e-05/0.3501, allocations: 45.05 kB / 0.6707 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.193e-05/0.3502, allocations: 6.297 kB / 0.6707 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.222e-05/0.3502, allocations: 15.36 kB / 0.6707 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.505e-05/0.3502, allocations: 23.47 kB / 0.6707 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.3502, allocations: 1.312 kB / 0.6707 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.352, allocations: 1.482 MB / 0.6722 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.352, allocations: 5.391 kB / 0.6722 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.352, allocations: 19.84 kB / 0.6722 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.3532, allocations: 1.062 MB / 0.6732 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3532, allocations: 5.156 kB / 0.6732 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3532, allocations: 0 / 0.6732 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.3532, allocations: 0 / 0.6732 GB, free: 1.062 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.0004404/0.3537, allocations: 0.5293 MB / 0.6738 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3537, allocations: 9.438 kB / 0.6738 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.303e-05/0.3538, allocations: 111.1 kB / 0.6739 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.3538, allocations: 78.81 kB / 0.6739 GB, free: 360 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.803e-05/0.3539, allocations: 251 kB / 0.6742 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/0.354, allocations: 159.7 kB / 0.6743 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.354, allocations: 150.6 kB / 0.6745 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.643e-05/0.3541, allocations: 102.1 kB / 0.6746 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.3541, allocations: 75.28 kB / 0.6746 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.336e-05/0.3542, allocations: 151.7 kB / 0.6748 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/0.3543, allocations: 154.6 kB / 0.6749 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.299e-05/0.3543, allocations: 167.7 kB / 0.6751 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.3547, allocations: 464.7 kB / 0.6755 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.625e-05/0.3548, allocations: 170.4 kB / 0.6757 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.3548, allocations: 81.52 kB / 0.6758 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.3548, allocations: 83.22 kB / 0.6759 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/0.3549, allocations: 109.8 kB / 0.676 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3549, allocations: 1.312 kB / 0.676 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.206e-05/0.355, allocations: 27.98 kB / 0.676 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.355, allocations: 126.7 kB / 0.6761 GB, free: 14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.3552, allocations: 137.7 kB / 0.6762 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.3552, allocations: 29.7 kB / 0.6763 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.3553, allocations: 90.59 kB / 0.6764 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.3553, allocations: 0 / 0.6764 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.3553, allocations: 18.34 kB / 0.6764 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3554, allocations: 324.8 kB / 0.6767 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.3555, allocations: 3.625 kB / 0.6767 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.389e-05/0.3555, allocations: 2.156 kB / 0.6767 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.3555, allocations: 18.27 kB / 0.6767 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3555, allocations: 4.031 kB / 0.6767 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001122/0.3557, allocations: 44.16 kB / 0.6768 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3557, allocations: 5.094 kB / 0.6768 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.3557, allocations: 2.125 kB / 0.6768 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.3557, allocations: 3.938 kB / 0.6768 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3557, allocations: 1.031 kB / 0.6768 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3557, allocations: 0 / 0.6768 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.3558, allocations: 8.953 kB / 0.6768 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.3558, allocations: 1 kB / 0.6768 GB, free: 13.34 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.0001013/0.3559, allocations: 195.8 kB / 0.677 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.3559, allocations: 115.6 kB / 0.6771 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.356, allocations: 107 kB / 0.6772 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.907e-05/0.3561, allocations: 177.6 kB / 0.6773 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.088e-05/0.3562, allocations: 184.2 kB / 0.6775 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.315e-05/0.3562, allocations: 185.5 kB / 0.6777 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.3565, allocations: 419.1 kB / 0.6781 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-05/0.3565, allocations: 102.7 kB / 0.6782 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.3566, allocations: 106.7 kB / 0.6783 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.783e-05/0.3567, allocations: 176.3 kB / 0.6785 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/0.3567, allocations: 186.2 kB / 0.6786 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.626e-05/0.3568, allocations: 184.2 kB / 0.6788 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-05/0.3569, allocations: 178.1 kB / 0.679 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.3571, allocations: 315.6 kB / 0.6793 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.3571, allocations: 187.8 kB / 0.6795 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-05/0.3572, allocations: 182.5 kB / 0.6796 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.3573, allocations: 105 kB / 0.6797 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.3574, allocations: 181.5 kB / 0.6799 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.3575, allocations: 110.3 kB / 0.68 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.227e-05/0.3575, allocations: 99.73 kB / 0.6801 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3575, allocations: 0 / 0.6801 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007201/0.3582, allocations: 280.6 kB / 0.6804 GB, free: 9.656 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.001321/0.3596, allocations: 1.164 MB / 0.6815 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.124e-05/0.3597, allocations: 38.08 kB / 0.6816 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3597, allocations: 0 / 0.6816 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.3597, allocations: 4.062 kB / 0.6816 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.3601, allocations: 466.8 kB / 0.682 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.3616, allocations: 1.588 MB / 0.6836 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3619, allocations: 0.6802 MB / 0.6842 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.41e-05/0.3619, allocations: 5.188 kB / 0.6842 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.3619, allocations: 16.56 kB / 0.6842 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.3619, allocations: 1.188 kB / 0.6842 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2336/0.5955, allocations: 6.835 MB / 0.6909 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.726/10.32, allocations: 15.11 kB / 0.6909 GB, free: 2.496 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)