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.005814/0.005814, allocations: 103.5 kB / 15.73 MB, free: 6.047 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.001362/0.001362, allocations: 189 kB / 16.67 MB, free: 5.969 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7357/0.7357, allocations: 132.2 MB / 422.7 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.16 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1458, allocations: 80.22 MB / 0.6593 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002523/0.1484, allocations: 1.426 MB / 0.6607 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004122/0.1526, allocations: 2.884 MB / 0.6635 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.1526, allocations: 0 / 0.6635 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.1527, allocations: 3.938 kB / 0.6635 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.1528, allocations: 11.86 kB / 0.6635 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.1567, allocations: 1.586 MB / 0.665 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.402e-05/0.1568, allocations: 39.73 kB / 0.6651 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.1569, allocations: 7.984 kB / 0.6651 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.983e-05/0.1569, allocations: 11.94 kB / 0.6651 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.023e-05/0.157, allocations: 23.86 kB / 0.6651 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.157, allocations: 3.984 kB / 0.6651 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.1592, allocations: 1.525 MB / 0.6666 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.1593, allocations: 3.984 kB / 0.6666 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.1593, allocations: 19.88 kB / 0.6666 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.1611, allocations: 1.104 MB / 0.6677 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1611, allocations: 0 / 0.6677 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.264e-06/0.1611, allocations: 0 / 0.6677 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.1611, 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.0007326/0.1618, allocations: 0.5146 MB / 0.6682 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1619, allocations: 12.03 kB / 0.6682 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.268e-05/0.162, allocations: 110 kB / 0.6683 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.162, allocations: 84.16 kB / 0.6684 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1622, allocations: 249.5 kB / 0.6687 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/0.1622, allocations: 158.5 kB / 0.6688 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.1623, allocations: 150.6 kB / 0.6689 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.047e-05/0.1623, allocations: 105 kB / 0.669 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.1624, allocations: 79.22 kB / 0.6691 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/0.1624, allocations: 150.6 kB / 0.6693 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.1625, allocations: 154.6 kB / 0.6694 GB, free: 268 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.1625, allocations: 154.6 kB / 0.6696 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.1628, allocations: 473.7 kB / 0.67 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.815e-05/0.1629, allocations: 165.1 kB / 0.6702 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.1629, allocations: 92.06 kB / 0.6703 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.163, allocations: 79.28 kB / 0.6703 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.163, allocations: 105.8 kB / 0.6704 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.163, allocations: 0 / 0.6704 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.71e-05/0.1631, allocations: 29.7 kB / 0.6705 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.1631, allocations: 126.7 kB / 0.6706 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1633, allocations: 147.6 kB / 0.6707 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.1633, allocations: 25.7 kB / 0.6707 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.1634, allocations: 88.12 kB / 0.6708 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.1634, allocations: 0 / 0.6708 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.1634, allocations: 21.72 kB / 0.6709 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.1635, allocations: 318.8 kB / 0.6712 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/0.1635, allocations: 11.94 kB / 0.6712 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/0.1635, allocations: 4 kB / 0.6712 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.903e-05/0.1636, allocations: 20.94 kB / 0.6712 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1636, allocations: 0 / 0.6712 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001284/0.1637, allocations: 53.59 kB / 0.6712 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1638, allocations: 4 kB / 0.6712 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.1638, allocations: 4 kB / 0.6712 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1638, allocations: 64 / 0.6712 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.434e-06/0.1638, allocations: 4 kB / 0.6713 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1638, allocations: 0 / 0.6713 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.1638, allocations: 4 kB / 0.6713 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1639, allocations: 0 / 0.6713 GB, free: 14.23 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 8.881e-05/0.1639, allocations: 197 kB / 0.6714 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.164, allocations: 116.8 kB / 0.6716 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.1641, allocations: 112.6 kB / 0.6717 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.924e-05/0.1641, allocations: 180.2 kB / 0.6718 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.043e-05/0.1642, allocations: 176.3 kB / 0.672 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.543e-05/0.1642, allocations: 188.2 kB / 0.6722 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1644, allocations: 421.1 kB / 0.6726 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/0.1645, allocations: 101 kB / 0.6727 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.1645, allocations: 108.9 kB / 0.6728 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.113e-05/0.1646, allocations: 176.3 kB / 0.673 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/0.1646, allocations: 184.2 kB / 0.6731 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.125e-05/0.1647, allocations: 184.3 kB / 0.6733 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-05/0.1647, allocations: 180.3 kB / 0.6735 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.1648, allocations: 307.7 kB / 0.6738 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.1649, allocations: 189.9 kB / 0.674 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.165, allocations: 188.3 kB / 0.6741 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.1651, allocations: 101 kB / 0.6742 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.1651, allocations: 180.2 kB / 0.6744 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.1652, allocations: 109 kB / 0.6745 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.258e-05/0.1652, allocations: 99.27 kB / 0.6746 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1652, allocations: 0 / 0.6746 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007578/0.166, allocations: 279.8 kB / 0.6749 GB, free: 10.31 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.001439/0.1674, allocations: 1.178 MB / 0.676 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.1675, allocations: 41.69 kB / 0.6761 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1676, allocations: 0 / 0.6761 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.1676, allocations: 0 / 0.6761 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.1679, allocations: 465.5 kB / 0.6765 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.1693, allocations: 1.597 MB / 0.6781 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.1695, allocations: 0.6846 MB / 0.6787 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.681e-05/0.1696, allocations: 0 / 0.6787 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.1696, allocations: 17.16 kB / 0.6787 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.1696, allocations: 0 / 0.6787 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.1954, allocations: 7.055 MB / 0.6856 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.616/7.811, allocations: 6.766 kB / 0.6856 GB, free: 15.34 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)