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.004324/0.004324, allocations: 101.9 kB / 15.74 MB, free: 6.031 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.001227/0.001227, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9195/0.9195, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 71.88 kB / 0.5858 GB, free: 3.141 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3399, allocations: 81.03 MB / 0.665 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001902/0.3418, allocations: 1.409 MB / 0.6663 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00304/0.3449, allocations: 2.837 MB / 0.6691 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.3449, allocations: 0 / 0.6691 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.345, allocations: 7.922 kB / 0.6691 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.122e-05/0.345, allocations: 13.98 kB / 0.6691 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.3478, allocations: 1.559 MB / 0.6706 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.3479, allocations: 41.77 kB / 0.6707 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.214e-05/0.3479, allocations: 10.06 kB / 0.6707 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.154e-05/0.3479, allocations: 11.38 kB / 0.6707 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.364e-05/0.348, allocations: 19.05 kB / 0.6707 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.348, allocations: 1.219 kB / 0.6707 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.3496, allocations: 1.478 MB / 0.6722 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.3497, allocations: 5.016 kB / 0.6722 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.3497, allocations: 15.72 kB / 0.6722 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.3508, allocations: 1.078 MB / 0.6732 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3508, allocations: 0 / 0.6732 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3508, allocations: 5.031 kB / 0.6732 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3508, allocations: 0 / 0.6732 GB, free: 0.9531 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.0004282/0.3513, allocations: 0.5216 MB / 0.6738 GB, free: 452 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.3513, allocations: 10.03 kB / 0.6738 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.107e-05/0.3513, allocations: 107.5 kB / 0.6739 GB, free: 336 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.3514, allocations: 77.25 kB / 0.6739 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.3515, allocations: 255.8 kB / 0.6742 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.3516, allocations: 159.6 kB / 0.6743 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.007e-05/0.3516, allocations: 155.6 kB / 0.6745 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.579e-05/0.3517, allocations: 104.9 kB / 0.6746 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.3517, allocations: 76.31 kB / 0.6747 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.3518, allocations: 150.6 kB / 0.6748 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.887e-05/0.3519, allocations: 155.7 kB / 0.6749 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.189e-05/0.3519, allocations: 150.6 kB / 0.6751 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.3523, allocations: 470.2 kB / 0.6755 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.465e-05/0.3524, allocations: 169.1 kB / 0.6757 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.3524, allocations: 85.42 kB / 0.6758 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.3524, allocations: 79.22 kB / 0.6759 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.3525, allocations: 110.7 kB / 0.676 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3525, allocations: 0 / 0.676 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 6.929e-05/0.3526, allocations: 33.16 kB / 0.676 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.3526, allocations: 126.7 kB / 0.6761 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.3528, allocations: 132.6 kB / 0.6762 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.3528, allocations: 31.02 kB / 0.6763 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.3529, allocations: 93.5 kB / 0.6764 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.3529, allocations: 1.156 kB / 0.6764 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.3529, allocations: 13.47 kB / 0.6764 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.353, allocations: 325.5 kB / 0.6767 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.3531, allocations: 2.75 kB / 0.6767 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/0.3531, allocations: 6.625 kB / 0.6767 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.3531, allocations: 14.69 kB / 0.6767 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3531, allocations: 0 / 0.6767 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001102/0.3532, allocations: 50.77 kB / 0.6768 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.3533, allocations: 5.406 kB / 0.6768 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.3533, allocations: 2.469 kB / 0.6768 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.3533, allocations: 1.25 kB / 0.6768 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.516e-06/0.3533, allocations: 3.938 kB / 0.6768 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3533, allocations: 0 / 0.6768 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.3533, allocations: 9.578 kB / 0.6768 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.3534, allocations: 1.062 kB / 0.6768 GB, free: 13.24 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.0001077/0.3535, allocations: 194.4 kB / 0.677 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.3535, allocations: 107.5 kB / 0.6771 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.3536, allocations: 114.9 kB / 0.6772 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.14e-05/0.3537, allocations: 181.2 kB / 0.6774 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.346e-05/0.3538, allocations: 185.4 kB / 0.6775 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.603e-05/0.3538, allocations: 185.3 kB / 0.6777 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.3541, allocations: 416 kB / 0.6781 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.647e-05/0.3541, allocations: 102.3 kB / 0.6782 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.3542, allocations: 104.9 kB / 0.6783 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.208e-05/0.3543, allocations: 181.5 kB / 0.6785 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.492e-05/0.3543, allocations: 181.6 kB / 0.6786 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.456e-05/0.3544, allocations: 181.5 kB / 0.6788 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.927e-05/0.3545, allocations: 180.2 kB / 0.679 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.3547, allocations: 317 kB / 0.6793 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.3548, allocations: 188.6 kB / 0.6795 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.162e-05/0.3549, allocations: 185.8 kB / 0.6796 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.3549, allocations: 108.9 kB / 0.6798 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.355, allocations: 177.5 kB / 0.6799 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.3551, allocations: 106 kB / 0.68 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.955e-05/0.3551, allocations: 97.89 kB / 0.6801 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3551, allocations: 0 / 0.6801 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006409/0.3558, allocations: 281.7 kB / 0.6804 GB, free: 9.559 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.001254/0.357, allocations: 1.171 MB / 0.6815 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.3571, allocations: 37.23 kB / 0.6816 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3572, allocations: 4.062 kB / 0.6816 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/0.3572, allocations: 1.438 kB / 0.6816 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3576, allocations: 466.9 kB / 0.682 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3589, allocations: 1.576 MB / 0.6836 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.3592, allocations: 0.685 MB / 0.6842 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.398e-05/0.3592, allocations: 3.938 kB / 0.6842 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.3593, allocations: 21.8 kB / 0.6842 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.3593, allocations: 0 / 0.6842 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1217/0.481, allocations: 6.822 MB / 0.6909 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.811/9.292, allocations: 18.73 kB / 0.6909 GB, free: 2.398 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)