Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007148/0.007148, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001631/0.001631, allocations: 195.5 kB / 16.67 MB, free: 5.52 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8216/0.8216, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.98 kB / 0.5857 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1449, allocations: 80.93 MB / 0.6647 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002679/0.1477, allocations: 1.437 MB / 0.6661 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004203/0.1519, allocations: 2.872 MB / 0.6689 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.152, allocations: 4 kB / 0.6689 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.691e-05/0.152, allocations: 3.938 kB / 0.6689 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.1521, allocations: 19.84 kB / 0.6689 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.1559, allocations: 1.578 MB / 0.6705 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.099e-05/0.156, allocations: 47.66 kB / 0.6705 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.1561, allocations: 4 kB / 0.6705 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.183e-05/0.1561, allocations: 19.92 kB / 0.6706 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.611e-05/0.1562, allocations: 15.88 kB / 0.6706 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.868e-06/0.1562, allocations: 4 kB / 0.6706 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.1585, allocations: 1.525 MB / 0.6721 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.1585, allocations: 4 kB / 0.6721 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.1586, allocations: 19.88 kB / 0.6721 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.1603, allocations: 1.092 MB / 0.6732 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1603, allocations: 0 / 0.6732 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.745e-06/0.1603, allocations: 0 / 0.6732 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1603, allocations: 3.938 kB / 0.6732 GB, free: 13.1 MB / 0.5137 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.0007268/0.1611, allocations: 0.5248 MB / 0.6737 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1611, allocations: 8.031 kB / 0.6737 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.1612, allocations: 84.12 kB / 0.6738 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.1613, allocations: 247.6 kB / 0.674 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.1614, allocations: 154.7 kB / 0.6741 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.1614, allocations: 150.6 kB / 0.6743 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.703e-05/0.1615, allocations: 116.9 kB / 0.6744 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.1615, allocations: 79.22 kB / 0.6745 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.529e-05/0.1616, allocations: 150.6 kB / 0.6746 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.627e-05/0.1617, allocations: 154.6 kB / 0.6748 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.814e-05/0.1617, allocations: 150.6 kB / 0.6749 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.162, allocations: 469.9 kB / 0.6754 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.082e-05/0.1621, allocations: 173 kB / 0.6755 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.1622, allocations: 80.14 kB / 0.6756 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.1622, allocations: 79.28 kB / 0.6757 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.1623, allocations: 105.8 kB / 0.6758 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.1623, allocations: 4 kB / 0.6758 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.808e-05/0.1623, allocations: 33.61 kB / 0.6758 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.1624, allocations: 134.7 kB / 0.6759 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1626, allocations: 131.8 kB / 0.6761 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1626, allocations: 25.7 kB / 0.6761 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.1626, allocations: 96.05 kB / 0.6762 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-06/0.1626, allocations: 0 / 0.6762 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.1627, allocations: 17.7 kB / 0.6762 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1628, allocations: 322.8 kB / 0.6765 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.726e-05/0.1628, allocations: 0 / 0.6765 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.774e-05/0.1628, allocations: 8 kB / 0.6765 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.1629, allocations: 24.78 kB / 0.6765 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1629, allocations: 64 / 0.6765 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001195/0.163, allocations: 49.7 kB / 0.6766 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1631, allocations: 4 kB / 0.6766 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.1631, allocations: 4 kB / 0.6766 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1631, allocations: 3.938 kB / 0.6766 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.1631, allocations: 4.062 kB / 0.6766 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1631, allocations: 0 / 0.6766 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/0.1632, allocations: 3.906 kB / 0.6766 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1632, allocations: 4 kB / 0.6766 GB, free: 9.336 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.000102/0.1633, allocations: 194.4 kB / 0.6768 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.1633, allocations: 105 kB / 0.6769 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.1634, allocations: 116.6 kB / 0.677 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.349e-05/0.1635, allocations: 184.2 kB / 0.6772 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.507e-05/0.1635, allocations: 184.2 kB / 0.6774 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.455e-05/0.1636, allocations: 180.2 kB / 0.6775 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.1638, allocations: 417.1 kB / 0.6779 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.572e-05/0.1639, allocations: 108.9 kB / 0.678 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.1639, allocations: 101 kB / 0.6781 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.36e-05/0.164, allocations: 184.2 kB / 0.6783 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.953e-05/0.1641, allocations: 184.2 kB / 0.6785 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.789e-05/0.1641, allocations: 180.2 kB / 0.6786 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.854e-05/0.1642, allocations: 180.2 kB / 0.6788 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.1643, allocations: 315.7 kB / 0.6791 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/0.1644, allocations: 189.9 kB / 0.6793 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.1645, allocations: 176.3 kB / 0.6795 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.1646, allocations: 108.9 kB / 0.6796 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.1646, allocations: 188.2 kB / 0.6798 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.1647, allocations: 101 kB / 0.6798 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.1648, allocations: 100.8 kB / 0.6799 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.475e-06/0.1648, allocations: 0 / 0.6799 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007728/0.1655, allocations: 287.7 kB / 0.6802 GB, free: 5.406 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.001187/0.1667, allocations: 0.5324 MB / 0.6807 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.173e-05/0.1668, allocations: 37.7 kB / 0.6808 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1668, allocations: 0 / 0.6808 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-06/0.1669, allocations: 4 kB / 0.6808 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1672, allocations: 467.6 kB / 0.6812 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.1676, allocations: 240 kB / 0.6815 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.1678, allocations: 0.6846 MB / 0.6821 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.422e-05/0.1679, allocations: 0 / 0.6821 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.1679, allocations: 11.44 kB / 0.6821 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1679, allocations: 0 / 0.6821 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of Templates: time 0.01008/0.178, allocations: 5.595 MB / 0.6876 GB, free: 13.82 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)