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.0009769/0.0009769, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001027/0.001027, allocations: 195.5 kB / 16.14 MB, free: 6.688 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.258/1.258, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8575/0.8575, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 67.28 kB / 0.5048 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1402, allocations: 80.93 MB / 0.5839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004608/0.1448, allocations: 4.147 MB / 0.5879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.1475, allocations: 2.371 MB / 0.5902 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.1477, allocations: 8 kB / 0.5902 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.1489, allocations: 0.4968 MB / 0.5907 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.1492, allocations: 218.4 kB / 0.5909 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.1494, allocations: 119.9 kB / 0.591 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006362/0.1501, allocations: 0.8059 MB / 0.5918 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.1504, allocations: 288.1 kB / 0.5921 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.1507, allocations: 267 kB / 0.5924 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.151, allocations: 318.6 kB / 0.5927 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.39e-05/0.151, allocations: 48 kB / 0.5927 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.416e-05/0.1511, allocations: 51.94 kB / 0.5928 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1513, allocations: 143.4 kB / 0.5929 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.1516, allocations: 358.3 kB / 0.5932 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006931/0.1523, allocations: 0.9693 MB / 0.5942 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1523, allocations: 0 / 0.5942 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.92e-07/0.1523, allocations: 0 / 0.5942 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.1523, allocations: 0 / 0.5942 GB, free: 10.24 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.001246/0.1536, allocations: 0.9502 MB / 0.5951 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1536, allocations: 12.03 kB / 0.5951 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.307e-05/0.1537, allocations: 90.64 kB / 0.5952 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.232e-05/0.1538, allocations: 76.09 kB / 0.5953 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.1543, allocations: 457.6 kB / 0.5957 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.1543, allocations: 33.38 kB / 0.5957 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/0.1544, allocations: 51.94 kB / 0.5958 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007034/0.1551, allocations: 426.5 kB / 0.5962 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1551, allocations: 4 kB / 0.5962 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.1552, allocations: 16 kB / 0.5962 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1552, allocations: 15.98 kB / 0.5962 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006623/0.1559, allocations: 371.7 kB / 0.5966 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.1577, allocations: 1.52 MB / 0.5981 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.1582, allocations: 347.6 kB / 0.5984 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004508/0.1587, allocations: 316.8 kB / 0.5987 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.1587, allocations: 4.688 kB / 0.5987 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1587, allocations: 46.5 kB / 0.5988 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.523e-06/0.1587, allocations: 0 / 0.5988 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0009042/0.1597, allocations: 497.3 kB / 0.5992 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.1597, allocations: 63.95 kB / 0.5993 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005178/0.1602, allocations: 481.9 kB / 0.5998 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.1603, allocations: 33.7 kB / 0.5998 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.1605, allocations: 284.3 kB / 0.6001 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.1606, allocations: 145.8 kB / 0.6002 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/0.1607, allocations: 62.06 kB / 0.6003 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1608, allocations: 362.8 kB / 0.6006 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.1611, allocations: 120.6 kB / 0.6007 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.1613, allocations: 125.4 kB / 0.6008 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.1618, allocations: 307.2 kB / 0.6011 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1618, allocations: 3.938 kB / 0.6011 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005983/0.1624, allocations: 388.5 kB / 0.6015 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1624, allocations: 4 kB / 0.6015 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1624, allocations: 0 / 0.6015 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1625, allocations: 4 kB / 0.6015 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.1629, allocations: 127.9 kB / 0.6016 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1629, allocations: 3.984 kB / 0.6016 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.1632, allocations: 47.67 kB / 0.6017 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.1632, allocations: 8 kB / 0.6017 GB, free: 2.285 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.1634, allocations: 209.6 kB / 0.6019 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-05/0.1635, allocations: 51.34 kB / 0.6019 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1636, allocations: 65.09 kB / 0.602 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1636, allocations: 4 kB / 0.602 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1636, allocations: 0 / 0.602 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1636, allocations: 0 / 0.602 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006144/0.1642, allocations: 0.579 MB / 0.6026 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1643, allocations: 0 / 0.6026 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.1647, allocations: 123.9 kB / 0.6027 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1648, allocations: 4 kB / 0.6027 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.1648, allocations: 8 kB / 0.6027 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1648, allocations: 0 / 0.6027 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1648, allocations: 4 kB / 0.6027 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009128/0.1657, allocations: 0.6467 MB / 0.6033 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.1658, allocations: 144.3 kB / 0.6035 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.558e-05/0.1659, allocations: 8 kB / 0.6035 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.1661, allocations: 19.98 kB / 0.6035 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.1662, allocations: 31.89 kB / 0.6035 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1662, allocations: 8 kB / 0.6035 GB, free: 304 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2044/0.3706, allocations: 346.2 kB / 0.6039 GB, free: 52.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3706, allocations: 0.5 kB / 0.6039 GB, free: 52.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006136/0.3712, allocations: 145.5 kB / 0.604 GB, free: 52.22 MB / 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 (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.001104/0.3723, allocations: 1.207 MB / 0.6052 GB, free: 51.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.3728, allocations: 326.4 kB / 0.6055 GB, free: 51.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3728, allocations: 2.406 kB / 0.6055 GB, free: 51.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.3731, allocations: 179.2 kB / 0.6057 GB, free: 51.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.3737, allocations: 125.6 kB / 0.6058 GB, free: 51.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/0.3791, allocations: 5.211 MB / 0.6109 GB, free: 48.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3794, allocations: 0.8673 MB / 0.6117 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.3796, allocations: 54.31 kB / 0.6118 GB, free: 48.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.3798, allocations: 191.6 kB / 0.612 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.3798, allocations: 2.844 kB / 0.612 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.3987, allocations: 10.78 MB / 0.6225 GB, free: 47.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.3989, allocations: 268.6 kB / 0.6227 GB, free: 46.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.202, allocations: 0 / 0.6227 GB, free: 46.84 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/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)