Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.InternalResistancesOneUTube,fileNamePrefix="IDEAS_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_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.007029/0.007029, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001642/0.001642, allocations: 190.4 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7382/0.7382, allocations: 132.2 MB / 422.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.89 kB / 0.5809 GB, free: 7.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3813, allocations: 80.2 MB / 0.6593 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002182/0.3835, allocations: 1.414 MB / 0.6606 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003626/0.3871, allocations: 2.835 MB / 0.6634 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.3872, allocations: 0 / 0.6634 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.3872, allocations: 5.906 kB / 0.6634 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.3873, allocations: 15.31 kB / 0.6634 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003589/0.3909, allocations: 1.557 MB / 0.665 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.23e-05/0.391, allocations: 41.08 kB / 0.665 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.3911, allocations: 2.594 kB / 0.665 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.3911, allocations: 15.45 kB / 0.665 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.452e-05/0.3911, allocations: 15.03 kB / 0.665 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.3911, allocations: 5.281 kB / 0.665 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.3931, allocations: 1.478 MB / 0.6665 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.3931, allocations: 1.219 kB / 0.6665 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.3932, allocations: 23.48 kB / 0.6665 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.3945, allocations: 1.07 MB / 0.6675 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3945, allocations: 0 / 0.6675 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3945, allocations: 1.188 kB / 0.6675 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3946, allocations: 0 / 0.6675 GB, free: 4.434 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.0005094/0.3951, allocations: 0.515 MB / 0.6681 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3951, allocations: 9.812 kB / 0.6681 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.886e-05/0.3951, allocations: 106 kB / 0.6682 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.3952, allocations: 78.72 kB / 0.6682 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.548e-05/0.3953, allocations: 254.8 kB / 0.6685 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.3953, allocations: 158.5 kB / 0.6686 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.3954, allocations: 150.6 kB / 0.6688 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.825e-05/0.3954, allocations: 106.2 kB / 0.6689 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3954, allocations: 75.28 kB / 0.6689 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.3954, allocations: 156 kB / 0.6691 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.3955, allocations: 154.6 kB / 0.6692 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.109e-05/0.3955, allocations: 154.6 kB / 0.6694 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.3957, allocations: 473.8 kB / 0.6698 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.273e-05/0.3957, allocations: 170.4 kB / 0.67 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.3957, allocations: 84.14 kB / 0.6701 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.3958, allocations: 75.28 kB / 0.6702 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.3958, allocations: 111.1 kB / 0.6703 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.3958, allocations: 3.984 kB / 0.6703 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.279e-05/0.3958, allocations: 29.05 kB / 0.6703 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.3959, allocations: 126.7 kB / 0.6704 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.396, allocations: 138.9 kB / 0.6705 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.396, allocations: 25.7 kB / 0.6706 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.396, allocations: 94.34 kB / 0.6707 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.3961, allocations: 0 / 0.6707 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.3961, allocations: 18.84 kB / 0.6707 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.3961, allocations: 324.3 kB / 0.671 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.3962, allocations: 2.719 kB / 0.671 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.381e-05/0.3962, allocations: 3.688 kB / 0.671 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.3962, allocations: 17.89 kB / 0.671 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3962, allocations: 0 / 0.671 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001055/0.3963, allocations: 43.91 kB / 0.6711 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3963, allocations: 6.625 kB / 0.6711 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.3964, allocations: 3.5 kB / 0.6711 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3964, allocations: 0 / 0.6711 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-06/0.3964, allocations: 0 / 0.6711 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3964, allocations: 3.938 kB / 0.6711 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.3964, allocations: 5.438 kB / 0.6711 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3964, allocations: 1.25 kB / 0.6711 GB, free: 0.7344 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.307e-05/0.3965, allocations: 194.3 kB / 0.6713 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.3965, allocations: 113 kB / 0.6714 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.3966, allocations: 106.2 kB / 0.6715 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.3966, allocations: 181.8 kB / 0.6716 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.385e-05/0.3967, allocations: 184.3 kB / 0.6718 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.563e-05/0.3967, allocations: 189.4 kB / 0.672 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.3969, allocations: 411.8 kB / 0.6724 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-05/0.397, allocations: 106.1 kB / 0.6725 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.397, allocations: 106.1 kB / 0.6726 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-05/0.3971, allocations: 177.8 kB / 0.6728 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.3971, allocations: 188.2 kB / 0.6729 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.761e-05/0.3972, allocations: 181.9 kB / 0.6731 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.943e-05/0.3972, allocations: 180.2 kB / 0.6733 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.3973, allocations: 313.4 kB / 0.6736 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.429e-05/0.3974, allocations: 196 kB / 0.6738 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.3975, allocations: 181.8 kB / 0.6739 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.3976, allocations: 104.9 kB / 0.674 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.3976, allocations: 177.7 kB / 0.6742 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.3976, allocations: 102.5 kB / 0.6743 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.3977, allocations: 103.7 kB / 0.6744 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3977, allocations: 0 / 0.6744 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007599/0.3985, allocations: 277.3 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.001239/0.3997, allocations: 1.159 MB / 0.6758 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.92e-05/0.3998, allocations: 41.42 kB / 0.6758 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3998, allocations: 4.062 kB / 0.6759 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.3999, allocations: 1.094 kB / 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.0003678/0.4002, allocations: 459.9 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.00125/0.4015, allocations: 1.573 MB / 0.6778 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.4017, allocations: 0.6882 MB / 0.6785 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.583e-05/0.4017, allocations: 1.25 kB / 0.6785 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.4018, allocations: 16.78 kB / 0.6785 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4018, allocations: 0 / 0.6785 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.4283, allocations: 6.835 MB / 0.6852 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/8.046, allocations: 13.42 kB / 0.6852 GB, free: 5.918 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)