Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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/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.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.005623/0.005623, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001196/0.001196, allocations: 198.4 kB / 16.68 MB, free: 5.926 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7495/0.7495, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 73.36 kB / 0.5809 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1399, allocations: 80.21 MB / 0.6592 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004163/0.1441, allocations: 3.007 MB / 0.6622 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002991/0.1471, allocations: 2.155 MB / 0.6643 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.1475, allocations: 4 kB / 0.6643 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.1492, allocations: 0.4946 MB / 0.6648 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.1497, allocations: 150.8 kB / 0.6649 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1499, allocations: 71.88 kB / 0.665 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000626/0.1505, allocations: 451.3 kB / 0.6654 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.1508, allocations: 143.2 kB / 0.6655 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.1511, allocations: 163.4 kB / 0.6657 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.1514, allocations: 187.1 kB / 0.6659 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/0.1515, allocations: 32 kB / 0.6659 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.651e-05/0.1515, allocations: 36 kB / 0.6659 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.1517, allocations: 95.67 kB / 0.666 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.1519, allocations: 214.9 kB / 0.6662 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005246/0.1524, allocations: 0.5527 MB / 0.6668 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1524, allocations: 4 kB / 0.6668 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1524, allocations: 0 / 0.6668 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.1525, allocations: 0 / 0.6668 GB, free: 3.082 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001154/0.1536, allocations: 0.703 MB / 0.6675 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1537, allocations: 8.031 kB / 0.6675 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.856e-05/0.1537, allocations: 58.72 kB / 0.6675 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.08e-05/0.1538, allocations: 44.38 kB / 0.6676 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.1544, allocations: 374.1 kB / 0.6679 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1545, allocations: 20.56 kB / 0.668 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.1545, allocations: 19.98 kB / 0.668 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.1549, allocations: 203.2 kB / 0.6682 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1549, allocations: 0 / 0.6682 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.155, allocations: 12 kB / 0.6682 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.155, allocations: 4 kB / 0.6682 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.1553, allocations: 161.7 kB / 0.6683 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.1565, allocations: 0.8622 MB / 0.6692 GB, free: 464 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.1568, allocations: 157.4 kB / 0.6693 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.157, allocations: 124.8 kB / 0.6694 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.157, allocations: 3.938 kB / 0.6694 GB, free: 168 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1571, allocations: 34.56 kB / 0.6695 GB, free: 124 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.243e-06/0.1571, allocations: 0 / 0.6695 GB, free: 124 kB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006023/0.1577, allocations: 254.9 kB / 0.6697 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.1577, allocations: 59.34 kB / 0.6698 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.1582, allocations: 421.7 kB / 0.6702 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1582, allocations: 29.7 kB / 0.6702 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.1584, allocations: 204.2 kB / 0.6704 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.908e-05/0.1584, allocations: 59.11 kB / 0.6705 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.1585, allocations: 37.7 kB / 0.6705 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1586, allocations: 342.8 kB / 0.6708 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1588, allocations: 59.95 kB / 0.6709 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1589, allocations: 59.97 kB / 0.6709 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.1592, allocations: 134.7 kB / 0.6711 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1592, allocations: 3.938 kB / 0.6711 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003677/0.1596, allocations: 209 kB / 0.6713 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1596, allocations: 6.031 kB / 0.6713 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1596, allocations: 8 kB / 0.6713 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1596, allocations: 0 / 0.6713 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.1599, allocations: 51.97 kB / 0.6713 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1599, allocations: 0 / 0.6713 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1601, allocations: 19.83 kB / 0.6714 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.1601, allocations: 12 kB / 0.6714 GB, free: 14.14 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 (20): * Single equations (assignments): 20 * 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.000151/0.1603, allocations: 162.7 kB / 0.6715 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.1603, allocations: 43.47 kB / 0.6716 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.442e-05/0.1604, allocations: 43.58 kB / 0.6716 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1604, allocations: 4 kB / 0.6716 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1604, allocations: 0 / 0.6716 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1604, allocations: 0 / 0.6716 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.1608, allocations: 369.3 kB / 0.672 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.1608, allocations: 7.922 kB / 0.672 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.1611, allocations: 55.91 kB / 0.672 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1611, allocations: 0 / 0.672 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1611, allocations: 4 kB / 0.672 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1611, allocations: 4 kB / 0.672 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1611, allocations: 0 / 0.672 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005764/0.1617, allocations: 371 kB / 0.6724 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1618, allocations: 124.5 kB / 0.6725 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/0.1619, allocations: 4 kB / 0.6725 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.1621, allocations: 12.06 kB / 0.6725 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.1621, allocations: 15.92 kB / 0.6725 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1621, allocations: 7.984 kB / 0.6725 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002892/0.1624, allocations: 299.2 kB / 0.6728 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1624, allocations: 0 / 0.6728 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002925/0.1627, allocations: 71.84 kB / 0.6729 GB, free: 12.47 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0008144/0.1635, allocations: 0.9268 MB / 0.6738 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.1639, allocations: 147.8 kB / 0.6739 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1639, allocations: 0 / 0.6739 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.164, allocations: 75.97 kB / 0.674 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.1646, allocations: 98.17 kB / 0.6741 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.1688, allocations: 3.476 MB / 0.6775 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.1692, allocations: 0.8029 MB / 0.6783 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000136/0.1693, allocations: 34.95 kB / 0.6783 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.1695, allocations: 115.4 kB / 0.6784 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of SimCode: time 8.82e-07/0.1695, allocations: 0 / 0.6784 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.1976, allocations: 8.102 MB / 0.6863 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.12, allocations: 7.688 kB / 0.6863 GB, free: 14.84 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)