Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.001418/0.001418, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001913/0.001913, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.662/2.662, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.747/1.747, allocations: 135.2 MB / 426.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004903, allocations: 8 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2885, allocations: 82.32 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006611/0.2952, allocations: 3.25 MB / 0.5905 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007537/0.3028, allocations: 2.195 MB / 0.5926 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.3039, allocations: 11.94 kB / 0.5927 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.307, allocations: 470.3 kB / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.3086, allocations: 255.3 kB / 0.5933 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.3093, allocations: 83.92 kB / 0.5934 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002235/0.3115, allocations: 0.5584 MB / 0.594 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008679/0.3124, allocations: 253.5 kB / 0.5942 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008272/0.3133, allocations: 235.1 kB / 0.5944 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.3157, allocations: 270.8 kB / 0.5947 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.3159, allocations: 36 kB / 0.5947 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.3162, allocations: 36 kB / 0.5948 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.3164, allocations: 111.6 kB / 0.5949 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003779/0.3168, allocations: 165.3 kB / 0.595 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.3182, allocations: 0.7867 MB / 0.5958 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3182, allocations: 0 / 0.5958 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.158e-06/0.3182, allocations: 4 kB / 0.5958 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.16e-05/0.3183, allocations: 0 / 0.5958 GB, free: 10.32 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00286/0.3212, allocations: 0.845 MB / 0.5966 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001004/0.3213, allocations: 8.031 kB / 0.5966 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004966/0.3218, allocations: 90.52 kB / 0.5967 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.3221, allocations: 75.06 kB / 0.5968 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.3233, allocations: 436.7 kB / 0.5972 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.768e-05/0.3234, allocations: 37 kB / 0.5972 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.3235, allocations: 52 kB / 0.5973 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.3249, allocations: 430.3 kB / 0.5977 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/0.3249, allocations: 7.906 kB / 0.5977 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.325, allocations: 20 kB / 0.5977 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.3251, allocations: 12 kB / 0.5977 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.3264, allocations: 375.8 kB / 0.5981 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005808/0.3322, allocations: 1.532 MB / 0.5996 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/0.3333, allocations: 336.4 kB / 0.5999 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.3334, allocations: 15.92 kB / 0.5999 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.698e-05/0.3335, allocations: 38.52 kB / 0.6 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 3.687e-06/0.3335, allocations: 4 kB / 0.6 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0018/0.3353, allocations: 0.4905 MB / 0.6005 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/0.3354, allocations: 63.34 kB / 0.6005 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.3365, allocations: 481.9 kB / 0.601 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.3366, allocations: 37.7 kB / 0.601 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.3369, allocations: 276.3 kB / 0.6013 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/0.3371, allocations: 145.9 kB / 0.6014 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.3371, allocations: 11.94 kB / 0.6014 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002649/0.3374, allocations: 358.8 kB / 0.6018 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/0.3379, allocations: 128.7 kB / 0.6019 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.3383, allocations: 129.4 kB / 0.602 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.3388, allocations: 143.7 kB / 0.6021 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.3388, allocations: 0 / 0.6021 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001236/0.34, allocations: 403.8 kB / 0.6025 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/0.3401, allocations: 4 kB / 0.6025 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.3401, allocations: 3.953 kB / 0.6025 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.936e-05/0.3402, allocations: 0 / 0.6025 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008181/0.341, allocations: 131.9 kB / 0.6027 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/0.3411, allocations: 4 kB / 0.6027 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/0.3417, allocations: 59.5 kB / 0.6027 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.3418, allocations: 4 kB / 0.6027 GB, free: 2.973 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004545/0.3423, allocations: 206 kB / 0.6029 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.3424, allocations: 47.44 kB / 0.603 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.3427, allocations: 61.11 kB / 0.603 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.3427, allocations: 7.953 kB / 0.603 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/0.3427, allocations: 3.984 kB / 0.603 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3427, allocations: 3.984 kB / 0.603 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.344, allocations: 0.5712 MB / 0.6036 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.344, allocations: 3.938 kB / 0.6036 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008415/0.3449, allocations: 131.9 kB / 0.6037 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.3449, allocations: 0 / 0.6037 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.345, allocations: 16 kB / 0.6037 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.345, allocations: 0 / 0.6037 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/0.345, allocations: 3.953 kB / 0.6038 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.3468, allocations: 0.6695 MB / 0.6044 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.3471, allocations: 132.5 kB / 0.6045 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.3472, allocations: 11.94 kB / 0.6045 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.3477, allocations: 27.89 kB / 0.6046 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.3478, allocations: 27.92 kB / 0.6046 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.3479, allocations: 15.98 kB / 0.6046 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007023/0.3486, allocations: 347.1 kB / 0.6049 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/0.3486, allocations: 0 / 0.6049 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008738/0.3495, allocations: 139.7 kB / 0.6051 GB, free: 488 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5881/0.9376, allocations: 1.215 MB / 0.6063 GB, free: 48.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.9387, allocations: 328.2 kB / 0.6066 GB, free: 48.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.9387, allocations: 0 / 0.6066 GB, free: 48.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.9392, allocations: 184 kB / 0.6068 GB, free: 48.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.9404, allocations: 108.2 kB / 0.6069 GB, free: 48.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008322/0.9487, allocations: 3.283 MB / 0.6101 GB, free: 47.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.9493, allocations: 0.8811 MB / 0.6109 GB, free: 46.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004345/0.9497, allocations: 61.23 kB / 0.611 GB, free: 46.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.9501, allocations: 192.4 kB / 0.6112 GB, free: 46.64 MB / 0.4981 GB Notification: Performance of SimCode: time 1.262e-06/0.9501, allocations: 0 / 0.6112 GB, free: 46.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06318/1.013, allocations: 10.3 MB / 0.6212 GB, free: 46 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000356/1.014, allocations: 245.1 kB / 0.6215 GB, free: 45.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.352/4.365, allocations: 3.938 kB / 0.6215 GB, free: 45.76 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: