Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.005617/0.005617, allocations: 101.4 kB / 15.73 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.001203/0.001203, allocations: 197.4 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.738/0.738, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001373, allocations: 59.91 kB / 0.5809 GB, free: 7.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4249/0.4263, allocations: 80.21 MB / 0.6593 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002594/0.4289, allocations: 1.366 MB / 0.6606 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002664/0.4316, allocations: 1.786 MB / 0.6623 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.4317, allocations: 4 kB / 0.6623 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.934e-05/0.4318, allocations: 9.5 kB / 0.6624 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.432, allocations: 34.89 kB / 0.6624 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.4346, allocations: 1.144 MB / 0.6635 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.4347, allocations: 48.89 kB / 0.6635 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.4347, allocations: 6.625 kB / 0.6636 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.488e-05/0.4348, allocations: 33.69 kB / 0.6636 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.605e-05/0.4349, allocations: 29.77 kB / 0.6636 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.4349, allocations: 1.312 kB / 0.6636 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.436, allocations: 0.8876 MB / 0.6645 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.4361, allocations: 66.06 kB / 0.6645 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.4362, allocations: 64.88 kB / 0.6646 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009266/0.4371, allocations: 0.8847 MB / 0.6655 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4371, allocations: 7.938 kB / 0.6655 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4371, allocations: 0 / 0.6655 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4371, allocations: 0 / 0.6655 GB, free: 5.945 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005765/0.4377, allocations: 0.5767 MB / 0.666 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4378, allocations: 10.03 kB / 0.6661 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.4378, allocations: 44.55 kB / 0.6661 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.4378, allocations: 21.03 kB / 0.6661 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.438, allocations: 224 kB / 0.6663 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.438, allocations: 3.938 kB / 0.6663 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.4381, allocations: 9.453 kB / 0.6663 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.4382, allocations: 107 kB / 0.6664 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.4382, allocations: 3.938 kB / 0.6664 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.4382, allocations: 0 / 0.6664 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4382, allocations: 5.344 kB / 0.6665 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.4383, allocations: 71.48 kB / 0.6665 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.4385, allocations: 280 kB / 0.6668 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.4386, allocations: 120.4 kB / 0.6669 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.934e-05/0.4387, allocations: 113.5 kB / 0.667 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.4387, allocations: 0 / 0.667 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.4388, allocations: 31.97 kB / 0.667 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.332e-06/0.4388, allocations: 0 / 0.667 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0003608/0.4391, allocations: 340.5 kB / 0.6674 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.4392, allocations: 51.41 kB / 0.6674 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.4394, allocations: 259.1 kB / 0.6677 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.4394, allocations: 25.7 kB / 0.6677 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.4394, allocations: 131.4 kB / 0.6678 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.4395, allocations: 106.2 kB / 0.6679 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.4396, allocations: 31.89 kB / 0.6679 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.834e-05/0.4396, allocations: 345.5 kB / 0.6683 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.673e-05/0.4397, allocations: 76.22 kB / 0.6683 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.4398, allocations: 74.56 kB / 0.6684 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.4399, allocations: 200 kB / 0.6686 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4399, allocations: 0 / 0.6686 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002046/0.4402, allocations: 233.4 kB / 0.6688 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4402, allocations: 7.094 kB / 0.6688 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4402, allocations: 1.281 kB / 0.6688 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4402, allocations: 0 / 0.6688 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.215e-06/0.4402, allocations: 1.438 kB / 0.6688 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4402, allocations: 0 / 0.6688 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.4403, allocations: 10.5 kB / 0.6688 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.4403, allocations: 0 / 0.6688 GB, free: 3.387 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 0.0001068/0.4404, allocations: 165.4 kB / 0.669 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.4404, allocations: 30.56 kB / 0.669 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.4407, allocations: 260.6 kB / 0.6693 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4407, allocations: 0 / 0.6693 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4407, allocations: 0 / 0.6693 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4407, allocations: 1.094 kB / 0.6693 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.4409, allocations: 276.8 kB / 0.6695 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.4409, allocations: 0.75 kB / 0.6696 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-07/0.4409, allocations: 0.9375 kB / 0.6696 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4409, allocations: 0 / 0.6696 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.441, allocations: 5.125 kB / 0.6696 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.441, allocations: 0.9375 kB / 0.6696 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.441, allocations: 4 kB / 0.6696 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.4412, allocations: 265.3 kB / 0.6698 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.4412, allocations: 103.2 kB / 0.6699 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.4413, allocations: 1.344 kB / 0.6699 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.38e-05/0.4413, allocations: 0 / 0.6699 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.4413, allocations: 5.438 kB / 0.6699 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.4413, allocations: 0 / 0.6699 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001358/0.4415, allocations: 195.5 kB / 0.6701 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4415, allocations: 0 / 0.6701 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006468/0.4421, allocations: 219.1 kB / 0.6703 GB, free: 2.406 MB / 0.4981 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 (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 Backend phase and start with SimCode phase: time 0.000977/0.4431, allocations: 1.014 MB / 0.6713 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002769/0.4434, allocations: 264.8 kB / 0.6716 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4434, allocations: 4.062 kB / 0.6716 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.4436, allocations: 178.9 kB / 0.6717 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.4438, allocations: 15.33 kB / 0.6717 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.4461, allocations: 2.574 MB / 0.6743 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.4465, allocations: 0.7676 MB / 0.675 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.727e-05/0.4465, allocations: 3.125 kB / 0.675 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.4466, allocations: 60.38 kB / 0.6751 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.4466, allocations: 5.219 kB / 0.6751 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.4764, allocations: 7.737 MB / 0.6826 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.631, allocations: 13.75 kB / 0.6826 GB, free: 11.08 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)