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.0008037/0.0008078, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.0009528/0.0009526, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.326/1.326, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8754/0.8754, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003203, allocations: 13.72 kB / 0.5077 GB, free: 4.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 82.31 MB / 0.5881 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003625/0.1452, allocations: 3.75 MB / 0.5918 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002954/0.1482, allocations: 2.332 MB / 0.5941 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003907/0.1486, allocations: 15.94 kB / 0.5941 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.15, allocations: 0.5057 MB / 0.5946 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000572/0.1506, allocations: 218.5 kB / 0.5948 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1509, allocations: 115.9 kB / 0.5949 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000832/0.1517, allocations: 0.8059 MB / 0.5957 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.1521, allocations: 284.1 kB / 0.5959 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.1524, allocations: 235 kB / 0.5962 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.1527, allocations: 282.6 kB / 0.5964 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.1527, allocations: 40 kB / 0.5965 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.083e-05/0.1528, allocations: 36 kB / 0.5965 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.1529, allocations: 135.4 kB / 0.5966 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.1532, allocations: 356 kB / 0.597 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006595/0.1539, allocations: 0.9417 MB / 0.5979 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1539, allocations: 0 / 0.5979 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1539, allocations: 3.938 kB / 0.5979 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.1539, allocations: 0 / 0.5979 GB, free: 8.402 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.001067/0.155, allocations: 0.8413 MB / 0.5987 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.155, allocations: 12.03 kB / 0.5987 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.28e-05/0.1551, allocations: 90.7 kB / 0.5988 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.704e-05/0.1552, allocations: 76.03 kB / 0.5989 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.1557, allocations: 457.5 kB / 0.5993 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.1557, allocations: 37.38 kB / 0.5994 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.1558, allocations: 55.92 kB / 0.5994 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.1565, allocations: 426.5 kB / 0.5998 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1565, allocations: 7.938 kB / 0.5998 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.1565, allocations: 20 kB / 0.5999 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1566, allocations: 12 kB / 0.5999 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006498/0.1572, allocations: 379.8 kB / 0.6002 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.159, allocations: 1.535 MB / 0.6017 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.1595, allocations: 351.6 kB / 0.6021 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.1599, allocations: 316.8 kB / 0.6024 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.1599, allocations: 4.688 kB / 0.6024 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.16, allocations: 34.56 kB / 0.6024 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.16, allocations: 0 / 0.6024 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0008645/0.1608, allocations: 0.5168 MB / 0.6029 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.1609, allocations: 59.19 kB / 0.603 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004918/0.1614, allocations: 489.9 kB / 0.6034 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1614, allocations: 33.7 kB / 0.6035 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1616, allocations: 276.3 kB / 0.6037 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.1617, allocations: 145.8 kB / 0.6039 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.1617, allocations: 37.7 kB / 0.6039 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1618, allocations: 358.8 kB / 0.6042 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.1621, allocations: 124.7 kB / 0.6044 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.1623, allocations: 137.5 kB / 0.6045 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.1628, allocations: 303.7 kB / 0.6048 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1628, allocations: 12.7 kB / 0.6048 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005808/0.1634, allocations: 392.7 kB / 0.6052 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1634, allocations: 6.656 kB / 0.6052 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1634, allocations: 0 / 0.6052 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1634, allocations: 4 kB / 0.6052 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.1639, allocations: 131.9 kB / 0.6053 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1639, allocations: 0 / 0.6053 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.1642, allocations: 59.5 kB / 0.6054 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.1642, allocations: 16 kB / 0.6054 GB, free: 496 kB / 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.0001801/0.1644, allocations: 193.7 kB / 0.6056 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.628e-05/0.1644, allocations: 51.42 kB / 0.6056 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.1646, allocations: 57.11 kB / 0.6057 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1646, allocations: 4 kB / 0.6057 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1646, allocations: 0 / 0.6057 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1646, allocations: 7.984 kB / 0.6057 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2302/0.3948, allocations: 0.5667 MB / 0.6062 GB, free: 48.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3948, allocations: 1.406 kB / 0.6062 GB, free: 48.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005162/0.3954, allocations: 131.5 kB / 0.6064 GB, free: 48.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3954, allocations: 0 / 0.6064 GB, free: 48.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.3954, allocations: 13.02 kB / 0.6064 GB, free: 48.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.3954, allocations: 4.125 kB / 0.6064 GB, free: 48.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3954, allocations: 1.594 kB / 0.6064 GB, free: 48.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000845/0.3963, allocations: 0.6676 MB / 0.607 GB, free: 48.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.3964, allocations: 135.7 kB / 0.6072 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.3965, allocations: 7.438 kB / 0.6072 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.3967, allocations: 23.48 kB / 0.6072 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.3968, allocations: 24.23 kB / 0.6072 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.3968, allocations: 9.25 kB / 0.6072 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003147/0.3971, allocations: 353.5 kB / 0.6076 GB, free: 48.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.102e-06/0.3971, allocations: 0 / 0.6076 GB, free: 48.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003913/0.3975, allocations: 147.2 kB / 0.6077 GB, free: 48.62 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.0009802/0.3985, allocations: 1.225 MB / 0.6089 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.399, allocations: 341.7 kB / 0.6092 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.399, allocations: 2.406 kB / 0.6092 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.3993, allocations: 184.5 kB / 0.6094 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.3999, allocations: 126.5 kB / 0.6095 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005489/0.4054, allocations: 5.333 MB / 0.6147 GB, free: 45.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.4056, allocations: 0.8718 MB / 0.6156 GB, free: 45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.4058, allocations: 55.58 kB / 0.6156 GB, free: 44.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.4061, allocations: 192.1 kB / 0.6158 GB, free: 44.98 MB / 0.4981 GB Notification: Performance of SimCode: time 7.22e-07/0.4061, allocations: 0 / 0.6158 GB, free: 44.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4906/0.8967, allocations: 10.62 MB / 0.6262 GB, free: 44.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.897, allocations: 270.8 kB / 0.6264 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.748, allocations: 0 / 0.6264 GB, free: 43.96 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)