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.00124/0.00124, allocations: 107.8 kB / 15.99 MB, free: 5.914 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: 186.8 kB / 16.9 MB, free: 5.758 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.458/1.458, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8341/0.8341, allocations: 135.1 MB / 425.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001593, allocations: 67.89 kB / 0.5056 GB, free: 8.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.548/0.5496, allocations: 80.91 MB / 0.5846 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002626/0.5523, allocations: 1.495 MB / 0.586 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004132/0.5565, allocations: 2.869 MB / 0.5888 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.5565, allocations: 1.406 kB / 0.5888 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.5566, allocations: 11.86 kB / 0.5889 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.028e-05/0.5567, allocations: 9.484 kB / 0.5889 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004005/0.5607, allocations: 1.449 MB / 0.5903 GB, free: 20.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.886e-05/0.5608, allocations: 47.64 kB / 0.5903 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.5609, allocations: 5.906 kB / 0.5903 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.349e-05/0.5609, allocations: 11.78 kB / 0.5903 GB, free: 20.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.226e-05/0.5609, allocations: 15.5 kB / 0.5904 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.5609, allocations: 2.812 kB / 0.5904 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.5627, allocations: 1.46 MB / 0.5918 GB, free: 19.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.5628, allocations: 7.938 kB / 0.5918 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.5628, allocations: 16.44 kB / 0.5918 GB, free: 19.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008296/0.5636, allocations: 0.7532 MB / 0.5925 GB, free: 18.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5636, allocations: 0 / 0.5925 GB, free: 18.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5637, allocations: 5.406 kB / 0.5925 GB, free: 18.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.5637, allocations: 0 / 0.5925 GB, free: 18.59 MB / 446.1 MB 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.0005368/0.5642, allocations: 0.5185 MB / 0.5931 GB, free: 18.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.5643, allocations: 12.5 kB / 0.5931 GB, free: 18.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.5643, allocations: 85.03 kB / 0.5931 GB, free: 17.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.5644, allocations: 251.5 kB / 0.5934 GB, free: 17.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.5645, allocations: 160.3 kB / 0.5935 GB, free: 17.49 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.5645, allocations: 155.7 kB / 0.5937 GB, free: 17.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.601e-05/0.5646, allocations: 101 kB / 0.5938 GB, free: 17.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.5646, allocations: 75.91 kB / 0.5939 GB, free: 17.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.5647, allocations: 153 kB / 0.594 GB, free: 17.01 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.5647, allocations: 150.6 kB / 0.5941 GB, free: 16.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.412e-05/0.5647, allocations: 154.6 kB / 0.5943 GB, free: 16.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.5649, allocations: 467.3 kB / 0.5947 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.185e-05/0.565, allocations: 180 kB / 0.5949 GB, free: 16.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.565, allocations: 80.14 kB / 0.595 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.5651, allocations: 75.28 kB / 0.5951 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.5651, allocations: 105.8 kB / 0.5952 GB, free: 15.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.5651, allocations: 1.719 kB / 0.5952 GB, free: 15.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.779e-05/0.5652, allocations: 37.55 kB / 0.5952 GB, free: 15.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.5652, allocations: 126.7 kB / 0.5953 GB, free: 15.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.5654, allocations: 136.9 kB / 0.5954 GB, free: 15.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.5654, allocations: 26.2 kB / 0.5955 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.5654, allocations: 92.69 kB / 0.5956 GB, free: 15.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-06/0.5654, allocations: 0.6562 kB / 0.5956 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.5655, allocations: 20.19 kB / 0.5956 GB, free: 15.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.5655, allocations: 318.8 kB / 0.5959 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.45e-05/0.5656, allocations: 4 kB / 0.5959 GB, free: 14.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.55e-05/0.5656, allocations: 8 kB / 0.5959 GB, free: 14.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.416e-05/0.5656, allocations: 8.859 kB / 0.5959 GB, free: 14.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5656, allocations: 5.094 kB / 0.5959 GB, free: 14.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001206/0.5658, allocations: 57.53 kB / 0.596 GB, free: 14.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.5658, allocations: 4 kB / 0.596 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.5658, allocations: 5.531 kB / 0.596 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.5658, allocations: 0 / 0.596 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.5658, allocations: 0 / 0.596 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5658, allocations: 0 / 0.596 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.5659, allocations: 9.094 kB / 0.596 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.5659, allocations: 4 kB / 0.596 GB, free: 14.85 MB / 446.1 MB 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 7.231e-05/0.566, allocations: 190.8 kB / 0.5962 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.566, allocations: 108.9 kB / 0.5963 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.566, allocations: 116.8 kB / 0.5964 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/0.5661, allocations: 181.8 kB / 0.5966 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.895e-05/0.5661, allocations: 184.2 kB / 0.5967 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.363e-05/0.5662, allocations: 181.5 kB / 0.5969 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.5663, allocations: 422.2 kB / 0.5973 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/0.5663, allocations: 104.9 kB / 0.5974 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.5664, allocations: 106.2 kB / 0.5975 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-05/0.5664, allocations: 189.8 kB / 0.5977 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.5665, allocations: 176.3 kB / 0.5979 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.149e-05/0.5665, allocations: 181.9 kB / 0.598 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.695e-05/0.5665, allocations: 184.2 kB / 0.5982 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.419e-05/0.5666, allocations: 312.9 kB / 0.5985 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.5667, allocations: 179.5 kB / 0.5987 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.5667, allocations: 184.2 kB / 0.5989 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.5668, allocations: 106 kB / 0.599 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.5668, allocations: 176.3 kB / 0.5991 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.5669, allocations: 109.5 kB / 0.5992 GB, free: 11.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.39e-05/0.5669, allocations: 109.5 kB / 0.5993 GB, free: 11.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5669, allocations: 0 / 0.5993 GB, free: 11.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006522/0.5676, allocations: 271.8 kB / 0.5996 GB, free: 10.95 MB / 446.1 MB 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.001019/0.5686, allocations: 0.544 MB / 0.6001 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.5687, allocations: 37.7 kB / 0.6002 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5688, allocations: 0.7188 kB / 0.6002 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.215e-06/0.5688, allocations: 0 / 0.6002 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.5691, allocations: 476.7 kB / 0.6006 GB, free: 9.898 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.5694, allocations: 264.1 kB / 0.6009 GB, free: 9.609 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.5696, allocations: 0.6816 MB / 0.6015 GB, free: 8.902 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.199e-05/0.5696, allocations: 11.44 kB / 0.6015 GB, free: 8.891 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.5696, allocations: 0 / 0.6015 GB, free: 8.891 MB / 446.1 MB Notification: Performance of Templates: time 0.006685/0.5763, allocations: 4.743 MB / 0.6062 GB, free: 4.184 MB / 446.1 MB 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)