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.004524/0.004524, allocations: 102.2 kB / 15.73 MB, free: 6.035 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.001039/0.00104, allocations: 195.6 kB / 16.67 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7234/0.7234, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.91 kB / 0.5809 GB, free: 7.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4059, allocations: 80.2 MB / 0.6593 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002187/0.4081, allocations: 1.42 MB / 0.6607 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003615/0.4118, allocations: 2.837 MB / 0.6634 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.4118, allocations: 1.438 kB / 0.6634 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.4119, allocations: 2.016 kB / 0.6634 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.32e-05/0.412, allocations: 14.61 kB / 0.6634 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003654/0.4156, allocations: 1.549 MB / 0.665 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.471e-05/0.4157, allocations: 41.25 kB / 0.665 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.4158, allocations: 10.48 kB / 0.665 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.131e-05/0.4158, allocations: 11.5 kB / 0.665 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.979e-05/0.4159, allocations: 15.41 kB / 0.665 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.4159, allocations: 1.031 kB / 0.665 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.4181, allocations: 1.485 MB / 0.6665 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.4182, allocations: 5.75 kB / 0.6665 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.4182, allocations: 19.22 kB / 0.6665 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.42, allocations: 1.062 MB / 0.6675 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.42, allocations: 0 / 0.6675 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.42, allocations: 5.219 kB / 0.6675 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.42, allocations: 0 / 0.6675 GB, free: 4.441 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.0007157/0.4207, allocations: 0.5156 MB / 0.6681 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.4208, allocations: 13.5 kB / 0.6681 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.4208, allocations: 107.3 kB / 0.6682 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.4209, allocations: 77.75 kB / 0.6682 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.535e-05/0.421, allocations: 252.5 kB / 0.6685 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.421, allocations: 162.5 kB / 0.6686 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.421, allocations: 155.8 kB / 0.6688 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.332e-05/0.4211, allocations: 102.3 kB / 0.6689 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4211, allocations: 75.28 kB / 0.669 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.4211, allocations: 150.6 kB / 0.6691 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.4212, allocations: 150.6 kB / 0.6692 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.297e-05/0.4212, allocations: 163.8 kB / 0.6694 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.4214, allocations: 469.5 kB / 0.6698 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/0.4214, allocations: 170.5 kB / 0.67 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.4215, allocations: 80.14 kB / 0.6701 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.4215, allocations: 79.28 kB / 0.6702 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.4215, allocations: 115.3 kB / 0.6703 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4215, allocations: 0 / 0.6703 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.087e-05/0.4216, allocations: 28.55 kB / 0.6703 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.4216, allocations: 130.6 kB / 0.6704 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.4218, allocations: 135.7 kB / 0.6706 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.4218, allocations: 27.23 kB / 0.6706 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.4218, allocations: 89.48 kB / 0.6707 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-06/0.4218, allocations: 1.531 kB / 0.6707 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.4219, allocations: 21.61 kB / 0.6707 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.257e-05/0.4219, allocations: 320 kB / 0.671 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.4219, allocations: 3.969 kB / 0.671 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.472e-05/0.4219, allocations: 2.812 kB / 0.671 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.422, allocations: 22.25 kB / 0.671 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.422, allocations: 0 / 0.671 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001148/0.4221, allocations: 43.08 kB / 0.6711 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.4221, allocations: 4.656 kB / 0.6711 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.4222, allocations: 3.688 kB / 0.6711 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.4222, allocations: 0 / 0.6711 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-07/0.4222, allocations: 0 / 0.6711 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4222, allocations: 5.203 kB / 0.6711 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.4222, allocations: 3.906 kB / 0.6711 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.4222, allocations: 1.562 kB / 0.6711 GB, free: 0.7383 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.55e-05/0.4223, allocations: 191.1 kB / 0.6713 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.4223, allocations: 115.7 kB / 0.6714 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.4224, allocations: 107.5 kB / 0.6715 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.4224, allocations: 185.6 kB / 0.6716 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.43e-05/0.4225, allocations: 185.4 kB / 0.6718 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.436e-05/0.4225, allocations: 177.4 kB / 0.672 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.4227, allocations: 419.8 kB / 0.6724 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-05/0.4228, allocations: 105 kB / 0.6725 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.4228, allocations: 110.3 kB / 0.6726 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.981e-05/0.4229, allocations: 177.5 kB / 0.6728 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/0.4229, allocations: 184.2 kB / 0.6729 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.356e-05/0.423, allocations: 181.5 kB / 0.6731 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-05/0.423, allocations: 181.5 kB / 0.6733 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.4232, allocations: 316.3 kB / 0.6736 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.4232, allocations: 184.6 kB / 0.6738 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.4233, allocations: 181.4 kB / 0.6739 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.4234, allocations: 110.3 kB / 0.674 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.4234, allocations: 188.1 kB / 0.6742 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.4235, allocations: 102.5 kB / 0.6743 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.812e-05/0.4235, allocations: 101.7 kB / 0.6744 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4235, allocations: 1.531 kB / 0.6744 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008761/0.4244, allocations: 276.6 kB / 0.6747 GB, free: 13.05 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.001557/0.426, allocations: 1.16 MB / 0.6758 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.4261, allocations: 38.05 kB / 0.6759 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4261, allocations: 0 / 0.6759 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.978e-06/0.4261, allocations: 0 / 0.6759 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.4265, allocations: 468.7 kB / 0.6763 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.4279, allocations: 1.572 MB / 0.6778 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.4281, allocations: 0.6836 MB / 0.6785 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.007e-05/0.4282, allocations: 5.375 kB / 0.6785 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.4282, allocations: 16.58 kB / 0.6785 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.4282, allocations: 0 / 0.6785 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.4553, allocations: 6.857 MB / 0.6852 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/8.058, allocations: 18.36 kB / 0.6852 GB, free: 5.902 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)