Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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/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.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.007529/0.007529, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001861/0.001861, allocations: 193 kB / 16.67 MB, free: 5.934 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8115/0.8115, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 58.81 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1375, allocations: 80.21 MB / 0.6593 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002458/0.14, allocations: 1.428 MB / 0.6607 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004163/0.1442, allocations: 2.872 MB / 0.6635 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.1442, allocations: 0 / 0.6635 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.1443, allocations: 7.922 kB / 0.6635 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.736e-05/0.1443, allocations: 19.86 kB / 0.6635 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.1478, allocations: 1.586 MB / 0.665 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.109e-05/0.1479, allocations: 47.66 kB / 0.6651 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.1479, allocations: 11.98 kB / 0.6651 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.373e-05/0.1479, allocations: 11.94 kB / 0.6651 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.736e-05/0.148, allocations: 15.86 kB / 0.6651 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.148, allocations: 4 kB / 0.6651 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.1502, allocations: 1.528 MB / 0.6666 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.1502, allocations: 11.98 kB / 0.6666 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.1502, allocations: 11.88 kB / 0.6666 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.1516, allocations: 1.095 MB / 0.6677 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1516, allocations: 0 / 0.6677 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1516, allocations: 3.938 kB / 0.6677 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.1517, allocations: 0 / 0.6677 GB, free: 2.109 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006039/0.1523, allocations: 0.5325 MB / 0.6682 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1523, allocations: 12.03 kB / 0.6682 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.1524, allocations: 106 kB / 0.6683 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.1524, allocations: 84.17 kB / 0.6684 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.1526, allocations: 251.5 kB / 0.6687 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.176e-05/0.1527, allocations: 154.5 kB / 0.6688 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.637e-05/0.1528, allocations: 162.4 kB / 0.669 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.747e-05/0.1528, allocations: 105 kB / 0.6691 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.1529, allocations: 83.27 kB / 0.6692 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.569e-05/0.1529, allocations: 158.5 kB / 0.6693 GB, free: 384 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.538e-05/0.153, allocations: 150.6 kB / 0.6694 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.379e-05/0.1531, allocations: 150.6 kB / 0.6696 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.1534, allocations: 469.9 kB / 0.67 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.577e-05/0.1535, allocations: 169.1 kB / 0.6702 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/0.1536, allocations: 80.14 kB / 0.6703 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.1536, allocations: 75.28 kB / 0.6703 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.198e-05/0.1537, allocations: 109.8 kB / 0.6705 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.1537, allocations: 4 kB / 0.6705 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.527e-05/0.1537, allocations: 37.59 kB / 0.6705 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.1538, allocations: 130.7 kB / 0.6706 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.154, allocations: 128 kB / 0.6707 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.154, allocations: 25.7 kB / 0.6708 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.154, allocations: 96.12 kB / 0.6709 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-06/0.154, allocations: 0 / 0.6709 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.1541, allocations: 13.72 kB / 0.6709 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1542, allocations: 326.8 kB / 0.6712 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.1543, allocations: 8 kB / 0.6712 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.1543, allocations: 4 kB / 0.6712 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.945e-05/0.1543, allocations: 20.91 kB / 0.6712 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1543, allocations: 0 / 0.6712 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001217/0.1545, allocations: 53.58 kB / 0.6713 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1545, allocations: 8 kB / 0.6713 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.1545, allocations: 0 / 0.6713 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1545, allocations: 4 kB / 0.6713 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.1545, allocations: 4.062 kB / 0.6713 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1545, allocations: 0 / 0.6713 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.1546, allocations: 8 kB / 0.6713 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1546, allocations: 0 / 0.6713 GB, free: 14.21 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 (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.0001025/0.1547, allocations: 189.1 kB / 0.6715 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.1548, allocations: 108.9 kB / 0.6716 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.1548, allocations: 120.6 kB / 0.6717 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.125e-05/0.1549, allocations: 180.3 kB / 0.6719 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.659e-05/0.155, allocations: 188.1 kB / 0.672 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.3e-05/0.1551, allocations: 176.3 kB / 0.6722 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.1553, allocations: 417.1 kB / 0.6726 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-05/0.1554, allocations: 108.9 kB / 0.6727 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.1554, allocations: 101 kB / 0.6728 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-05/0.1555, allocations: 184.2 kB / 0.673 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.306e-05/0.1556, allocations: 180.2 kB / 0.6731 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.187e-05/0.1556, allocations: 184.2 kB / 0.6733 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-05/0.1557, allocations: 180.2 kB / 0.6735 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.1559, allocations: 315.7 kB / 0.6738 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.156, allocations: 190 kB / 0.674 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.1561, allocations: 180.3 kB / 0.6742 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.569e-05/0.1561, allocations: 108.9 kB / 0.6743 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.1562, allocations: 180.3 kB / 0.6744 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/0.1563, allocations: 108.9 kB / 0.6745 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.562e-05/0.1563, allocations: 101.1 kB / 0.6746 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1564, allocations: 0 / 0.6746 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006362/0.157, allocations: 287 kB / 0.6749 GB, free: 10.27 MB / 0.5137 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 (0): * Single equations (assignments): 0 * 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.001329/0.1583, allocations: 1.174 MB / 0.676 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.53e-05/0.1584, allocations: 45.62 kB / 0.6761 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1584, allocations: 0 / 0.6761 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.1585, allocations: 4 kB / 0.6761 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.1589, allocations: 463.7 kB / 0.6765 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1602, allocations: 1.601 MB / 0.6781 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1605, allocations: 0.6885 MB / 0.6788 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.123e-05/0.1606, allocations: 0 / 0.6788 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.1606, allocations: 15.44 kB / 0.6788 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.1606, allocations: 4.031 kB / 0.6788 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.1921, allocations: 7.023 MB / 0.6857 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.254, allocations: 8.875 kB / 0.6857 GB, free: 15.32 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)